Clearing Up the Confusion on AI Data Retention: Two Standard Designs Explained

Data retention rules depend entirely on how you interact with an AI provider. Send a prompt to an inference API and the…

By Vane November 17, 2026 5 min read

Data retention rules depend entirely on how you interact with an AI provider. Send a prompt to an inference API and the system processes it without keeping a copy. That approach is called zero data retention (ZDR). Upload a dataset for a batch job and the data stays stored until you delete it manually. Both methods are standard designs, and in both cases the customer controls the outcome. The difference lies in who manages the data lifecycle and where.

Lin Qiao, co-founder and CEO of Fireworks AI, outlined this distinction in a post on X on November 13, 2026. She described two standard API designs that determine where control of the data lifecycle sits. This split has shaped data processing systems for decades. The following examples draw from public API documentation.

TL;DR

  • The framework: Two standard API designs exist: 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:

  • OpenAI Batch: upload a JSONL input file, then create the batch.
  • Amazon Bedrock batch inference: input JSONL files sit in an S3 location you choose.
  • Gemini Batch API: jobs run from an input file you provide.
  • Fireworks AI Batch: create a dataset, then submit jobs against it.

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:

  • OpenAI Chat Completions: store defaults to false.
  • Amazon Bedrock Converse: content is only used to generate the response.
  • Google Gemini text generation: stateless when store is false.
  • Fireworks AI Chat Completions: direct or through Nexus. The schema has no store field.
  • Fireworks AI Training SDK, including Serverless Training: forward_backward sends tokenized batches per call. No dataset is uploaded, and training data is not stored at rest.

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.

PlatformSynchronous inference: defaultZero retention optionStored features (pattern 1)
OpenAI APIAbuse-monitoring logs are kept for up to 30 days, or longer where law requires. No application state on /v1/chat/completions, with exceptions. Chat Completions store defaults to false.Modified Abuse Monitoring or ZDR, each by prior approval. Under ZDR, store is always treated as false.Batch input files expire after 30 days by default. Batch output and error files expire 30 days after creation. Other files persist until deleted. /v1/files and /v1/batches are not ZDR eligible. Responses API: at least 30 days when store is true.
Amazon BedrockThe Converse reference says content is only used to generate the response. The effective retention mode is the first non-inherit value across project, account and model default. New accounts and projects start in inherit. Models that require aws_review are retained for up to 30 days.Set the mode to none. No request or response data is written to durable storage.Batch inference reads and writes S3 locations you specify. Under none, requests to models that require retention are blocked. Model invocation logging to your own S3 or CloudWatch is off by default and customer-enabled.
GoogleInteractions API store defaults to true. Gemini text generation is stateless when store is false.Set store to false on the Interactions API. Note that this requires approval at OpenAI, but Google treats it as a standard parameter.Batch jobs run from input files you provide. Data persists in your cloud storage until you delete it.

What it means

Developers must distinguish between endpoints that process data in memory and those that require file uploads. If you rely on batch processing or dataset creation, you are responsible for deleting the data. If you use standard inference calls with store set to false, the provider handles the deletion automatically. Confirm the specific rules for each endpoint before assuming the platform will delete your data.

Scroll to Top