Zero data retention explained: what it covers and what it does not
- By
- Luv, Context Labs
- Published
- Updated
The short answer
Zero data retention (ZDR) is a commitment by a model provider not to store your prompts and outputs after it has answered a request. ZDR governs only one party's storage: it does not keep data inside your boundary, and it does not cover logs kept by the agent platform, your integration layer or you. Running the model inside your own environment closes the first gap, and only your own retention settings close the second.
In this guide
- What two providers' ZDR documents actually say
- A covered and not-covered table you can paste into a vendor review
- A fictional count of the copies one claim leaves behind
- How VPC, on-premise and air-gapped deployment change the picture
- Seven questions for a vendor that says "we have ZDR"
What does a provider promise under ZDR?
Read the provider's own page, because the details differ and they change. Two examples, both read on 2026-12-01.
OpenAI. By default, API data is not used to train models, and abuse monitoring logs are kept for up to 30 days unless the law requires longer. Zero Data Retention excludes customer content from those logs. It needs OpenAI's prior approval. It applies endpoint by endpoint: chat completions, responses and embeddings are eligible, while files, vector stores, batches, threads and fine-tuning jobs are not, and the documentation says ineligible endpoints may still store application state with ZDR enabled. An image flagged by the CSAM classifier is retained for review regardless. Data sent to a third-party MCP server follows that server's policy (OpenAI API data controls documentation).
Anthropic. ZDR applies to eligible Anthropic APIs and to products that use a commercial organisation API key, subject to approval and set per organisation. Inputs and outputs are not stored except where needed to comply with law or to combat misuse, and Anthropic still keeps user safety classifier results to enforce its usage policy (Anthropic Privacy Center).
Three things stand out. ZDR is something you apply for, not a default. "Zero" has stated exceptions. And it is scoped to specific endpoints and products, so a feature your vendor switches on next quarter may fall outside it.
What does ZDR cover, and what does it leave out?
| Question | Covered by provider ZDR? | Who answers it instead |
|---|---|---|
| Does the model provider keep my prompts and outputs after responding? | Yes, with the provider's stated exceptions | The provider's ZDR terms |
| Is my data used to train the provider's models? | Usually a separate commitment | The provider's data usage terms |
| Does my data leave my network to reach the model? | No | Your deployment model |
| Does the agent platform keep traces, prompts and outputs? | No | The platform vendor's retention policy |
| Are embeddings of my documents stored? | No | Whoever runs the vector store |
| Are uploaded files, batch jobs or stored conversations kept? | Often not eligible | The provider's endpoint list |
| What do my own application logs and SIEM hold? | No | You |
ZDR answers the first row. A security review has to answer all seven.
How many copies survive a "zero retention" request?
This example is fictional. The numbers are invented to show the count.
One auto claim arrives as an email with a claim form, four photos and a repair estimate, and takes an agent 22 model calls. The model provider has ZDR in place. The agent platform is hosted SaaS with default settings.
| Location | What is stored | Count | Kept for |
|---|---|---|---|
| Model provider | Prompts and outputs | 0 | Not retained, subject to stated exceptions |
| Platform trace store | One prompt and one response per call | 22 × 2 = 44 payloads | 90 days |
| Platform file store | Original attachments | 6 files | Until deleted |
| Vector store | Chunks of parsed text, 10 per file | 6 × 10 = 60 chunks | Until re-indexed |
| Your audit log | Hashes, fields, approvals | 1 case record | Your retention schedule |
That is 44 + 6 + 60 = 110 stored items on the platform for one claim, with zero at the model provider. The vendor's statement "we use a model with ZDR" was true. It described the smallest part of the footprint. Masking helps everywhere: if the SSN and bank account are replaced before the model call, they are absent from the request and the trace. See how to mask PII before AI reads a claim file.
How does VPC or on-premise deployment change the picture?
It changes who the other parties are.
| Deployment | Does content leave your boundary for inference? | Who can retain it? |
|---|---|---|
| SaaS platform, public model API with ZDR | Yes, to the platform and to the model provider | Platform vendor; provider only per exceptions |
| Platform in your VPC, public model API with ZDR | Yes, to the model provider only | You; provider only per exceptions |
| Platform in your VPC, model served by your cloud provider in your region | It stays within your cloud provider | You, under your cloud agreement |
| Platform and model in your VPC or data centre | No | You |
Cloud model services differ from a model lab's public API. AWS, for example, documents that each model on Amazon Bedrock runs in a deployment account owned and operated by the Bedrock service team, that model providers have no access to those accounts, and so have no access to customer prompts and completions (AWS, Amazon Bedrock data protection). Check the equivalent page for your own cloud.
Once the model runs inside your boundary, "zero data retention" stops being a contract term with a third party and becomes a configuration you own. That is stronger, and it makes trace retention, vector store clean-up and backup expiry your settings.
There is a tension with audit, because regulated teams must keep a record of what the system did. Keep that record inside your environment, store hashes and field values instead of raw documents, and expire debug traces on a short clock. See what an agent audit log should record.
What should you ask a vendor that says "we have ZDR"?
- Which party's retention does your ZDR statement describe: yours, the model provider's, or both?
- Do you have ZDR approved in writing with each model provider, and for which endpoints?
- What do your own traces store, for how long, and can we set that to zero?
- Where are embeddings and parsed text stored, and how are they deleted?
- Does any content leave our network for inference? To which hosts?
- Which sub-processors and tools receive our data?
- Can the model run inside our VPC or data centre?
Where it goes wrong
- Reading "ZDR" as "data never leaves". It leaves. It is just not kept by one party.
- Assuming it is on by default. With the providers above, it requires approval.
- Turning on a feature that is not eligible. Stored conversations, file uploads and batch jobs are common culprits.
- Forgetting the platform's debug traces. They hold full prompts and responses.
How Context Labs fits in
Context Labs (thecontextlabs.com) is an AI workforce platform for insurance, banking and private equity. Context keeps your data inside your environment with zero data retention, including for AI. Context deploys in your private cloud (VPC) or on-premise, and an air-gapped option uses locally hosted models with no external APIs or telemetry. Ask us for our security documentation and we will walk your security team through the architecture.
FAQ
What does zero data retention mean for AI?
It means the model provider does not store your prompts and outputs once it has returned a response, apart from exceptions it states, such as legal obligations or misuse investigation. It is a storage commitment by one party. It does not describe where the data travelled or what other systems in the chain kept.
Does ZDR mean my data is not used for training?
Not by itself. Training use and retention are separate commitments, though providers often make both. OpenAI's documentation, for example, states that API data is not used for training by default, independently of ZDR. Confirm each commitment separately, in writing, for the exact products you use.
Is ZDR enough for policyholder or customer data?
Rarely as the only control. It reduces one risk: a copy sitting at the model provider. You still need to know whether data leaves your boundary, what your platform vendor logs, how sensitive fields are masked, and who can access the outputs. Treat ZDR as one line in the review.
If the model runs in our VPC, do we still need ZDR?
You no longer need a ZDR agreement with a third-party model provider because no external provider receives your content. You do need the same outcome from your own systems: short-lived debug traces, a deletion process for parsed text and embeddings, and backups that expire. The obligation moves from a contract to your configuration.
How can we verify a zero retention claim?
Ask for the provider's written approval and its scope by endpoint. Inspect outbound network traffic from the platform to see which hosts receive content. Request the platform's retention settings and a deletion report for a test case. Where the model runs inside your environment, your own network and storage logs are the evidence.
Related guides
- What is zero data retention (ZDR) for AI?
- On-prem vs VPC vs SaaS AI for insurers
- Air-gapped AI deployment guide
Sources
- OpenAI, API data controls documentation (retention, Zero Data Retention, endpoint eligibility), read 2026-12-01: https://developers.openai.com/api/docs/guides/your-data
- Anthropic Privacy Center, "I have a zero data retention agreement with Anthropic. What products does it apply to?", updated October 15, 2026: https://privacy.claude.com/en/articles/8956058-i-have-a-zero-data-retention-agreement-with-anthropic-what-products-does-it-apply-to
- AWS, Amazon Bedrock User Guide, "Data protection", read 2026-12-01: https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html
