lowob

What Is Zero Data Retention in AI?

Zero data retention (ZDR) is an arrangement under which an AI provider does not store a customer's prompts or the model's outputs once the response has been returned. It is not a default setting: providers approve it per customer, it covers only some endpoints and features, and it keeps exceptions for content flagged by safety systems and for legal requirements. Since mid-2026 some providers have also required retention for their most capable models, so ZDR must now be checked model by model.

Gateway 0ToolingContextRecordReasoningGateway 1Gateway 2Gateway 3
Where this piece sits in The Build Order: the context layer.

What zero data retention means

Every call to a hosted model sends data to the provider. Without special terms, some of it is kept for a period: in logs used to detect abuse, in stored conversation state, and in files or indexes a feature needs to work. ZDR removes the first two for eligible calls, so nothing is held at rest once the answer is sent.

ZDR meansZDR does not mean
No prompts or outputs stored at rest after the responseThat data never leaves your network
Content excluded from routine abuse logsThat every feature or endpoint is covered
A contractual arrangement approved per customer or organisationA setting any user can switch on
Data is not available for later review or trainingThat flagged content or legal holds are exempt

ZDR is also distinct from a no-training commitment. Most business API terms already exclude customer data from training. ZDR goes further by removing the stored copy.

What is usually excluded

The exclusions are where most of the practical detail sits. Any feature that must remember something between calls cannot work under strict ZDR.

CategoryOpenAI APIAnthropic Claude API
Core model callsEligible, with stored state forced offMessages API eligible
Stored threads and assistantsNot eligible; kept until deletedMessage threads not eligible
File storageNot eligible; kept until deleted or expiredFiles API not eligible
Batch jobsNot eligibleNot eligible; 29-day retention
Code execution containersNot listedNot eligible; up to 30 days
Flagged contentCSAM-flagged images retained for reviewFlagged sessions may be retained up to 2 years
Chat apps for staffSeparate termsZDR does not cover consumer plans or Team and Enterprise interfaces, except Claude Code on Enterprise

Short-lived caches are often allowed. OpenAI keeps prompt caching data for up to 24 hours; Anthropic lists prompt caching as eligible and caches structured-output schemas, not content, for up to 24 hours.

What changed in 2026

ZDR rests on a trade-off. Abuse that is spread across many requests is hard to detect if no request is kept. In 2026 providers began to address that trade-off differently.

Anthropic designated a set of covered models, starting with Claude Fable 5 and Claude Mythos 5 on 9 June 2026, that retain prompts and completions for at least 30 days. Its stated reason is that "some forms of misuse only become detectable across many requests". Eligible customers can get a limited-time ZDR option for the Fable models for internal business applications. OpenAI took a different route, previewing Private Safety Processing, which analyses interaction patterns on customer-controlled infrastructure or in storage encrypted with customer-held keys and returns only a narrow signal about flagged activity.

For buyers, the consequence is that ZDR is no longer an account-level fact. It needs checking for each model and feature a tool uses.

What to ask a vendor

Many commercial AI tools are built on a model provider's API. The vendor's ZDR position depends on its own agreement upstream.

QuestionWhy it matters
Do you have ZDR with your model provider, in writing?Your vendor's terms cannot exceed its supplier's
Which models and features does it cover?Covered models, batch jobs and file stores may be excluded
What do you store yourselves?The vendor's own logs and databases sit outside the provider's ZDR
What happens to flagged content?Safety exceptions can mean retention for up to 2 years
How would a legal hold be handled?Retention can be required by law regardless of contract

The third question is often the decisive one. A sales tool may call a model under ZDR and still store every draft in its own database, which is usually the point. lowob's view is that the commercial record should be kept deliberately, by you, in a system you control. ZDR governs the model provider's copy; it does not replace a decision about what your own record holds.

lowob takeaways

  • ZDR is approved, not assumed. Providers grant it per customer and organisation.
  • Check features, not only accounts. Files, threads, batches and code execution are commonly excluded.
  • Check models too. Since June 2026 some frontier models require 30-day retention.
  • Ask what the vendor stores. The tool's own database often holds more than the model provider ever does.

Common questions

What is zero data retention in AI?

An arrangement under which an AI provider does not store a customer's prompts or outputs at rest after returning a response.

Does OpenAI offer zero data retention?

Yes, for approved API customers on eligible endpoints. Features that store state, such as assistants, files and vector stores, are not eligible.

Does zero data retention mean no data is ever kept?

No. Providers can still retain content flagged by safety systems or required by law, and short-lived caches may apply.

Is zero data retention the same as not training on my data?

No. Most business terms already exclude customer data from training. ZDR additionally removes the stored copy of prompts and outputs.

Sources and notes

What Is an AI Agent, and Where Does It Fit in the Brain?

Read next in The Build Order