Zero data retention

Also known as: ZDR

On this page 7

Zero data retention (ZDR) is a contractual and technical commitment by an AI service provider that customer inputs and model outputs are not stored after a request has been processed, apart from transient handling in memory needed to produce the response. In AI privacy, ZDR is one of the strongest controls an organization can obtain from a hosted model provider, because data that is never written to persistent storage cannot be leaked, subpoenaed, reviewed by staff or reused for training.

ZDR is usually offered as an enterprise or API-level option rather than a default, and it is negotiated through a data processing agreement. Its exact scope varies between providers, so the label alone never guarantees that every log, cache and safety record disappears.

How zero data retention works in an AI service

Zero data retention works by removing persistence points from the request path. In a standard deployment, a prompt may be written to request logs, abuse monitoring stores, analytics pipelines, conversation history and backup systems; under ZDR, the provider configures the account so that the payload is held only in volatile memory while the model generates a response and is discarded immediately afterward.

Providers typically still keep operational metadata such as account identifiers, timestamps, token counts and error codes, because billing and capacity planning depend on it. The privacy value of ZDR therefore lies in the separation of content from metadata: the provider knows that a request happened, but it cannot reconstruct what was asked or answered.

The table below shows which data stores are usually affected when ZDR is enabled.

Data storeStandard retentionUnder ZDR
Prompt and completion logsDays to weeksNot written
Abuse monitoring recordsCommonly around 30 daysNot written or exempted by contract
Conversation historyUntil user deletionNot available
Training datasetsPossible unless opted outExcluded
Billing metadataMonths to yearsRetained without content
Uploaded files and cachesUntil deleted or expiredOften excluded or restricted
Typical data stores with and without ZDR

Scope and variants of ZDR commitments

ZDR is not a single standard; it is a family of commitments whose boundaries depend on the provider, the product and the endpoint. Some features are technically incompatible with zero retention, for example stored conversation threads, batch processing, fine-tuning datasets and file search indexes, because they require content to persist between requests.

VariantWhat is retainedTypical audience
Full ZDRMetadata onlyRegulated enterprises via API
Modified abuse monitoringNo content, limited safety signalsCustomers approved after review
No-training commitmentContent kept for a period, never used for trainingMost business plans
Short retention windowContent deleted after a fixed number of daysDefault API tiers
Temporary chatSession content deleted after a short periodConsumer users
Variants of retention commitments

A frequent source of confusion is the difference between no training and no retention. A provider may promise never to train on customer data while still storing prompts for weeks for trust and safety review; only ZDR addresses the storage itself.

ZDR is one control among several in the AI privacy toolkit, and it solves a specific problem: provider-side storage. It does not protect data in transit beyond standard encryption, and it does not prevent the model from seeing sensitive content during inference.

ControlRisk addressedLimitation
Zero data retentionStored prompts being exposed or reusedProvider still processes plaintext in memory
PII redactionPersonal data reaching the providerImperfect detection, loss of context
Confidential AIProvider access during processingRequires attested hardware enclaves
AI training opt-outContent entering future modelsContent may still be stored
Machine unlearningData already learned by a modelHard to verify complete removal
ZDR and neighboring controls

In practice, mature deployments combine ZDR with redaction and access controls, so that the least possible sensitive data reaches the model and nothing that does reach it outlives the request.

Obtaining and verifying ZDR

Organizations obtain ZDR through a written agreement, usually an addendum to the data processing agreement, followed by account-level configuration by the provider. Because the guarantee is largely invisible from the outside, verification relies on contractual and audit evidence rather than direct inspection.

StepActionEvidence to keep
Scope definitionList endpoints, features and regions in useArchitecture inventory
ContractSign ZDR addendum with clear exceptionsSigned agreement
ConfigurationConfirm ZDR is active on each project or keyProvider confirmation
Feature reviewDisable stateful features that store contentChange records
Ongoing auditReview third-party audit reports annuallySOC 2 or ISO/IEC 27001 reports
Steps to establish zero data retention

Teams should also check whether subprocessors and cloud regions inherit the same commitment, since a model routed through a partner platform may fall under that platform’s own retention terms.

Limitations and common misconceptions about ZDR

Zero data retention reduces risk substantially, but it is frequently overestimated. The following points are the most common misunderstandings in procurement and compliance reviews.

  • ZDR is not end-to-end encryption: the provider processes plaintext prompts in memory during inference.
  • Legal holds can override retention terms: a court order may require a provider to preserve data that would otherwise be discarded.
  • Client-side logs remain: the customer’s own application, proxies and observability tools often store full prompts.
  • Stateful features break ZDR: enabling memory, threads or file storage may silently reintroduce persistence.
  • ZDR does not ensure GDPR compliance alone: lawful basis, transparency and transfer safeguards are still required.

The most practical lesson is that retention must be controlled end to end. A provider with perfect ZDR offers little protection if the customer’s own logging stack keeps every conversation for years.

Understanding it simply

Zero data retention means the AI company reads your question, answers it and then forgets it. Nothing is saved to a file or database afterward.

Think of a calculator that clears its screen the moment you look away. The company still knows you used the service, but not what you typed. This matters because data that is never stored cannot leak later.

Applied in practice

A regional hospital network wants to use a hosted language model to draft discharge summaries from clinical notes. Its privacy team will not allow patient records stored on external servers, so it negotiates a ZDR addendum covering the specific API endpoint and the EU region it uses.

Before launch, the engineering team disables conversation threads and file uploads, routes requests through an internal gateway that strips names and record numbers, and configures its own logs to keep only token counts and latency. During an annual audit, the hospital shows regulators the signed addendum, the provider confirmation and its gateway configuration. The result is a documented chain of non-retention from the clinician’s screen to the model and back, which allows the project to proceed under the hospital’s data protection impact assessment.