Clearing Up the Confusion on AI Data Retention: Two Standard Designs Explained
Data retention has become one of the most misunderstood terms in AI infrastructure. After a wave of AI security headlines, many dev teams now ask a simple question. Does my AI provider keep my data? The honest answer depends on how you send it. Send a prompt to an inference API, and it is processed and returned without being kept. That design is called zero data retention (ZDR). Upload a dataset for a batch job, and it stays stored until you delete it. Both are standard designs, and in both the customer is in control. What changes is who manages the data lifecycle, and where.
Fireworks AI cofounder and CEO Lin Qiao set out a clear way to think about this. In a November 13, 2026 post on X, she described two standard API designs. Each one decides where control of the data lifecycle sits. The same split has shaped data processing systems for decades. In this article, we will go through that framework with examples from public API documentation.
TL;DR
- The framework: Two standard API designs: upload, use, delete, or send, compute, return.
- What it is: ZDR is a per-endpoint commitment not to persist covered prompts and outputs after an eligible request.
- Where it applies: Eligibility depends on the endpoint, request flags and account settings, not the vendor name.
- Stored features: Batch, file and dataset features keep data until it is deleted or expires.
- Bottom line: Prefer ephemeral endpoints. If you upload, deletion is your job, so never assume an expiry.
What is an AI data retention policy?
An AI data retention policy defines what a platform stores from your requests, and for how long. OpenAI’s data controls describe two layers. Application state is data a feature must keep, such as uploaded files. Abuse-monitoring logs are copies held for safety review. A platform can be at zero on one layer and not the other.
What are the two common API designs?
AI inference and training APIs follow two lifecycle designs. The difference is who manages the data, and where.
Pattern 1: Customer-managed retention (upload, use, delete)
You create a file or dataset, run jobs against it, then delete it. The platform keeps the data stored and available until you ask for deletion. It cannot know when you are finished unless you define it. So deletion is your job, done through the platform’s APIs.
Batch APIs with uploaded datasets are the standard example:
Once you delete the data, it is gone. According to Fireworks CEO, it keeps nothing after a deletion request.
OpenAI non-batch files persist until you delete them. Fireworks AI managed training datasets have no time limit, and the customer deletes them. Amazon Bedrock and Google batch jobs read and write your own cloud storage.
OpenAI batch files last 30 days by default, and Anthropic batch data 29 days. Treat expiry as the exception, and confirm it per feature.
Pattern 2: Ephemeral processing (send, compute, return)
You send data, the platform computes, and the result comes back. No application state stays behind. Your application owns the conversation history, so no platform cleanup step is needed. This is the pattern ZDR applies to. A synchronous response alone does not establish ZDR.
Documented examples:
Think of saving a spreadsheet to a cloud drive versus passing its numbers to a calculator. The drive keeps the file for later. The calculator computes the answer, returns it and keeps nothing.
In both designs, customers fully control how their data is handled. What differs is where the lifecycle is managed. In pattern 1, it is explicit dataset creation and deletion. In pattern 2, it lives entirely in your application.
Does zero data retention cover every endpoint?
The answer is No. ZDR is scoped per endpoint, and defaults differ by platform.
OpenAI keeps abuse-monitoring logs for up to 30 days by default. The Amazon Bedrock none mode writes no request or response data to durable storage.
Fireworks AI documents ZDR by default for open models. Its ephemeral inference APIs, Training SDK and Nexus carry ZDR guarantees. Prompts and generations are not persisted at rest. For the Batch API, Fireworks document states that no data is retained after deletion.
A single parameter can also flip the pattern. On Google’s Interactions API, store defaults to true. At OpenAI, setting store to false is not ZDR, which needs approval.
Documentation checked November 15, 2026. Policies change, so confirm against the linked pages. OpenAI and AWS note that content flagged as CSAM can be retained even under zero retention.
Why is ephemeral processing the safer default?
Every retained copy must be protected, tracked and eventually deleted. Data that never reaches disk cannot be taken from disk later.
Regulation points the same way, with one important thing to note. Under GDPR Article 5, ephemeral processing supports storage limitation. Data minimisation still depends on what your application sends.
“Ephemeral processing is preferable whenever the workflow allows it.” Lin Qiao, cofounder and CEO, Fireworks AI (post on X)
The reasoning is about human error. Ephemeral processing leaves no forgotten datasets and no missed delete calls. It also means fewer retained copies to protect and eventually delete.
Stored features still have a place: dataset-based fine-tuning needs data at rest.
What should developers check now?
- Map every endpoint you call to pattern 1 or pattern 2.
- Default to ephemeral endpoints when you only need the result.
- For each upload, plan the delete call. Record any documented expiry. OpenAI supports expires_after.
- Audit flags that persist data, such as store.
- Keep secrets out of prompts and datasets. Rotate any that slip in.
- Define ZDR per processing path in contracts. Then verify the setting in your account.
Key Takeaways
- ZDR is an endpoint property, not a vendor label.
- Stored features keep data until it is deleted or expires.
- Prefer ephemeral when you only need the result.
- If you upload, deletion is your job. Never assume an expiry.
Further reading: Lin Qiao Post, OpenAI data controls, Amazon Bedrock data retention, Google zero data retention, Anthropic API data retention and Fireworks AI zero data retention.
Sources:
OpenAI
Amazon Bedrock
Anthropic
Fireworks AI
Other
Thanks to the Fireworks team for the thought leadership / resources for this article. This article is sponsored.
Asif Razzaq is the CEO of Marktechpost AI Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.


