A procurement lead hears that an AI provider offers zero data retention and has to decide whether that is enough to send customer contracts to the API.
Zero data retention (ZDR) is a contractual or account-level arrangement with an AI provider under which the provider does not keep customer prompts and model outputs after returning the response on eligible endpoints and features, apart from exceptions the provider defines, such as legal requirements or flagged content. ZDR is not on by default: a customer requests it, and the provider enables it, in some cases only after approval.
ZDR describes what the provider keeps after processing. The request still reaches the provider while the model processes it, so the team makes a separate decision about the content it sends. CUBIG’s guide to choosing between an on-premise LLM and a cloud API starts from that question: which data may leave the company at all.
How is zero data retention different from not training on your data?
Not training on customer data and zero data retention cover two different activities. A provider can agree not to use customer prompts and outputs to train its models while still keeping records for abuse monitoring, application state or other operational purposes.
OpenAI states on its API data controls page that as of March 1, 2023, data sent to its API is not used to train or improve its models unless the customer explicitly opts in. OpenAI also generates abuse monitoring logs by default for all API feature usage and keeps them for up to 30 days, unless the law requires longer retention or OpenAI reasonably needs the data to protect its services or third parties from harm.
OpenAI’s Zero Data Retention control excludes customer content from those abuse monitoring logs, and customers need prior approval from OpenAI and must accept additional requirements to use it. A no-training commitment alone therefore does not show that a provider deletes prompts and outputs after processing.
What does zero data retention not cover?
A ZDR arrangement does not automatically cover every endpoint, feature, model or type of content. Each provider defines its own exceptions, and a company checks the applicable terms instead of assuming that enabling ZDR covers every API request.
- Ineligible endpoints and features: OpenAI says endpoints and capabilities listed as not eligible can still store application state even when ZDR is enabled. The Responses API itself is eligible: by default OpenAI keeps its application state for 30 days, or when the store parameter is true, but under ZDR it treats store as false.
- Flagged content: OpenAI keeps images flagged by its CSAM classifier for manual review, even with ZDR. Anthropic may keep inputs and outputs flagged by its automated trust and safety systems for up to 2 years.
- Legal exceptions: Anthropic may keep customer data where the law requires it, even under its Legacy ZDR arrangement (Anthropic’s name for its established ZDR offering; a separate Enterprise Frontier Safeguards ZDR is in beta).
- Storage-dependent features and models: Anthropic marks features that require storage, including batch processing, the Files API and the code execution tool, as not eligible for Legacy ZDR. Anthropic also says certain models it designates as Covered Models require 30-day retention and are not available under Legacy ZDR unless it expressly authorizes them.
Anthropic’s API and data retention page says customers request ZDR through its sales team and that ZDR is enabled per organization, so each new organization needs it enabled separately. Anthropic also notes that under Legacy ZDR the API does not block ineligible features, so using one takes that data outside the arrangement, and points customers to their contract terms.
What should a team check before relying on zero data retention?
Before approving an API for business documents, security and procurement teams can confirm four things:
- Organization or account: Confirm which legal entity, organization or account has ZDR enabled, and whether other organizations need separate approval.
- Eligible endpoints, features and models: Identify which API endpoints, tools and model versions the arrangement covers. The API may still accept a request to a feature that the arrangement does not cover.
- Exceptions: Review the provider’s rules for legal retention, flagged content and any other stated exceptions.
- Request content: Inspect what the application sends, and decide whether the team should remove or replace sensitive values before sending customer contracts, personal information or other controlled data.
A structured AI vendor risk assessment helps teams record provider commitments, exceptions and account-level requirements before approving an API. Teams deploying agents can also use CUBIG’s checklist for agentic AI risk management, since an agent can select and send data without a person reviewing every request.
When values must not reach the provider at all, a team can replace them before sending. LLM Capsule replaces sensitive or controlled values with context-preserving substitutes before they reach the model and restores the original values in the response.