Zero Data Retention (ZDR) Explained: Who Can Apply, 8 Checks

Blog / IP & privacy

Zero Data Retention (ZDR) Explained: Who Can Apply, 8 Checks

Zero Data Retention (ZDR) means the provider does not store the content of your requests and responses after it finishes processing your API call. It is not the default. Most APIs keep data for a period of time by default for abuse monitoring, and ZDR usually has to be requested from the provider and only applies within a defined scope. Check each provider's official documentation for the exact conditions.

Below: what zero data retention is, how it differs from the default policy, how to work out your own situation from the docs, and finally a question list for evaluating a third-party gateway's data policy.

What is the difference between ZDR and default data retention?

Start by separating three things that often get mixed up:

ConceptQuestion it answersCommon misunderstanding
Used for trainingWill your data be used to train models?Assuming "not trained on" means "not stored"
RetentionAre requests and responses stored, and for how long?Assuming retention must be for training
Who can accessWhich people and processes can see the data while it is retained?Usually the least documented

Many APIs work like this by default: your API data is not used to train models, but logs are kept for a fixed period to detect abuse and troubleshoot problems. The "API data retention 30 days" you see mentioned online refers to this kind of default log period. The number varies by provider and changes over time, so check the current wording in the official docs before you put it in your own compliance paperwork.

ZDR targets the second row: it removes retention, or shrinks it to almost nothing. It does not change the answer to "is it used for training," which is usually already "no."

Who can apply for ZDR?

Not every account can simply turn it on. Typically:

  • You apply through the provider's sales or support channel and they review it. It is not a toggle in the console.
  • It is generally aimed at organizations with a clear business and compliance need. A small personal account may not qualify.
  • Even if approved, it may cover only some endpoints. Features that depend on storage (saved conversation state, files, fine-tuning data, and so on) have to keep content and cannot coexist with zero retention.
  • Abuse-monitoring responsibilities do not disappear, and the approval terms may spell out exceptions.

Taking OpenAI as an example, whether you can apply, which endpoints are covered, and which features are affected should come straight from its official data controls documentation, not from secondhand summaries. Cloud-hosted versions of the same models (for example through Azure) have their own separate data-handling terms; see Azure OpenAI vs. the OpenAI API for the differences.

How do you read data retention terms in the official docs?

Work through it in this order.

  1. Look for pages on "data controls," "data usage," or "privacy." Do not rely on marketing pages.
  2. Pull out the default retention period and note which endpoints it applies to.
  3. Search for "training" to confirm whether API data is used for training by default and whether there is an opt-in.
  4. Search for "zero data retention" to find the eligibility conditions, covered endpoints, and features that are not covered.
  5. Record the date of the document. Terms change, and you need to know which version you relied on.

For the details of training terms, see Is your LLM API data used for training?. For a fuller walkthrough of the "five clauses," see How to judge AI API data privacy. If you also use the ChatGPT web app, note that its data controls are separate from the API's. To turn off training there, see How to stop ChatGPT from training on your conversations.

What can you do yourself without ZDR?

Most developers cannot get ZDR and may not need it. You can reduce exposure on your own side:

  • Strip unnecessary content before sending: secrets, personal information, customer data.
  • Split keys by project and set permissions and limits, so problems are easier to trace and revoke. See How to use OpenAI project API keys.
  • Redact request bodies in your logs so your own system does not become another long-term retention point.
  • For sensitive data, classify it first, then decide what may be sent to an external model.

What should you ask when evaluating a third-party gateway's data policy?

When a request goes through a gateway before reaching the model vendor, there is one more party handling your data. You can ask these 8 questions directly, or tick them off against the gateway's documentation:

  1. Is the request body written to disk by default? Where, and for how long?
  2. Do the logs record only metadata (time, usage, status code), or the body as well?
  3. Is data used for training or resold?
  4. How does the upstream vendor's retention policy carry through? Can the gateway give you the benefit of upstream ZDR, or do only the gateway's own rules apply?
  5. When troubleshooting a fault, who can view your requests? Does it need your authorization?
  6. What happens to the related data after you delete your account?
  7. What is the provider's compliance position: an officially authorized channel, or a third-party aggregator?
  8. When were the terms last updated? Are users notified of changes?

Question 4 is the easiest to overlook. A gateway saying "we don't store it" does not mean the upstream doesn't either. Conversely, the upstream having ZDR does not mean it still holds once traffic goes through a gateway. Rely on the official docs and the provider's written statements, and if something cannot be made clear, evaluate it as "retained."

What does AGI Plan's data policy look like?

Here is one publicly documented example. AGI Plan is a commercial partner of cdnping, and what follows comes from AGI Plan's own public statements, not an independent cdnping evaluation. AGI Plan is a multi-vendor LLM aggregation gateway with monthly subscriptions, billing in RMB, and no need for an overseas credit card. Its site states that request bodies are not written to disk by default, that content is not used for training or resold, and that it is not an officially authorized channel. You can check these points against items 1, 3, and 7 in the list above.

To be clear, this is the gateway's own default behavior. The upstream vendors' retention policies (item 4 in the list) still need to be checked in each vendor's official docs. Some models are marked "outside China only," so refer to https://agiplan.dev/models for specifics.

A side note on setup, unrelated to data policy: getting started with AGI Plan takes three steps: sign up with an emailed verification code, pick a plan and create a key, and change one setting. Tools such as Claude Code and Codex only need their endpoint swapped for the gateway's address, and the same quota can be switched between capability groups. See the AGI Plan getting-started guide.

What should you do next?

  • List every AI endpoint you currently use (including gateways) and fill in a table using the 8 questions above.
  • For scenarios involving sensitive data, contact the provider directly to confirm the ZDR eligibility conditions, and keep the written reply.
  • To check whether an endpoint is up or its latency is abnormal, use the API status page and AI API latency explained. They look at connectivity and latency, and have nothing to do with data policy.
  • If you use OpenAI, you may also want to read about OpenAI API usage tiers. They govern quota and rate limits, which is a separate matter from data retention, so don't conflate the two.

Data policies change. Write down the date when you finish reading, and check again in six months.

Related articles

Keep reading