Zero Data Retention AI: What ZDR Covers and What It Misses

9 min read

Zero data retention AI means the API provider does not store your prompts and responses at rest once it has answered the request. That is a real and useful promise. It is also narrower than most people assume: ZDR is about storage after the fact, not about who processes the data. Your prompts still leave your network, are decrypted and run on the provider's machines, and pass through its safety systems on the way.

Every major program also has gaps: excluded features, models that require retention, kept flagged content, and usually an approval step. If your requirement is "nobody outside our organization ever handles this data", ZDR does not meet it. If your requirement is "the provider must not keep a copy", ZDR can, as long as you stay inside the eligible features.

This post compares OpenAI, Anthropic, Azure OpenAI, Google and Amazon Bedrock as their documentation stood in November 2026, then covers self-hosting. It is general information, not legal advice.

What a zero data retention API does and does not promise

Across vendors, a zero retention API arrangement usually covers three things:

  • Prompts and completions are not written to durable storage after the response is returned.
  • Abuse monitoring logs, the default copies kept so the provider can investigate misuse, exclude your content.
  • Stateful options such as "store this response" are forced off or rejected.

What it usually does not cover:

  • Processing. The provider still receives and runs the request. Its terms, sub-processors and legal jurisdiction still apply.
  • Real-time safety checks. Automated classifiers still read the content as it passes.
  • Flagged content, legal holds and child-safety scanning, which most providers keep regardless of the arrangement.
  • Your own side: application logs, gateways, tracing tools and backups.

A ZDR contract says nothing about the debug log your own service writes with the full prompt in it.

Zero data retention AI programs by provider (checked November 2026)

Provider Default retention How you get ZDR Main exclusions
OpenAI API Abuse monitoring logs up to 30 days Prior approval by OpenAI Files, batch, fine-tuning, Assistants, conversations, flagged images
Anthropic Claude API Deleted within 30 days Request through sales, per organization Console, batch, Files API, code execution, MCP connector, Covered Models
Azure OpenAI Flagged samples stored for review Apply for modified abuse monitoring Stateful features; not offered for newer models from a future date
Google Agent Platform (Vertex AI) Cache up to 24 hours; flagged prompts up to 90 days Disable caching; Master Agreement or account team Search grounding, Maps grounding, Deep Research, some partner models
Amazon Bedrock Depends on the model Set retention mode to none per region Models that require retention, CSAM checks

OpenAI zero data retention

OpenAI's data controls guide says abuse monitoring logs are generated for all API usage and kept for up to 30 days by default. Two controls change that. Modified Abuse Monitoring excludes your content from those logs on all endpoints. Zero Data Retention does the same and also makes the store parameter on /v1/responses and /v1/chat/completions always count as false. Both are "subject to prior approval by OpenAI and acceptance of additional requirements", so you cannot switch them on yourself.

The exclusions matter. Files, batch jobs, fine-tuning jobs, Assistants objects, vector stores and conversations are kept until you delete them and are not ZDR eligible. Background mode writes response data to disk for roughly 10 minutes. Prompt caching may hold encrypted key/value tensors on GPU-local storage for up to 24 hours. Images flagged by child-safety scanning are kept for manual review even under ZDR, and data sent to third-party MCP servers follows those servers' policies.

Anthropic

Anthropic's commercial retention policy deletes API inputs and outputs within 30 days by default. Under its ZDR arrangement, Anthropic does not store prompts or responses at rest after the response is returned. You request it through sales, and it is enabled per organization: a new organization under the same account does not inherit it.

ZDR applies to the Messages and Token Counting APIs, only for features marked eligible in Anthropic's table. The Claude Console and its playground are excluded. Batch processing keeps data for 29 days, the Files API until you delete the file, and code execution containers for up to 30 days. The API does not block those features under ZDR; using one is a choice to step outside the arrangement for that data. Some newer models, which Anthropic calls Covered Models, require 30-day retention and are not available under ZDR unless Anthropic expressly authorizes it. Content flagged by its trust and safety systems can be kept for up to 2 years whatever your arrangement.

Azure OpenAI and modified abuse monitoring

Microsoft does not call it ZDR. Its data privacy page describes abuse monitoring: when the system detects warning signs, a sample of prompts and completions may be selected for review, by automated means including LLMs and by human reviewers when needed. Stored samples stay in the geography of your resource. Customers can apply for modified abuse monitoring; once approved, that storage and human review stop, but automated review may still run on every request.

Stateful features (the Responses API, Assistants threads, Files, vector stores, batch, fine-tuning and stored completions) keep data in your resource until you delete it. And in an update dated 17 November 2026, Microsoft says modified abuse monitoring will end for models released on or after 1 November 2026, from a date to be announced with at least 30 days' notice. Existing approvals continue for older models.

Google Agent Platform (formerly Vertex AI)

Google renamed Vertex AI to Gemini Enterprise Agent Platform in April 2026. Its zero data retention page says Google does not train on your data without permission. Data from Gemini requests is cached by default, in memory and, when memory runs short, on disk, for no more than 24 hours. A project admin can turn caching off through the cacheConfig API.

Abuse monitoring depends on your contract. Under the online Google Cloud Platform Terms of Service, prompts flagged by classifiers may be logged for up to 90 days and seen by authorized Google staff. Customers with a Master Agreement are exempt from that logging by default. Third-party models in Google's "advanced AI" category, such as certain Anthropic and OpenAI models, log all prompts and responses for up to 30 days, and OpenAI models there need their own per-project ZDR approval: an existing approval with OpenAI directly does not carry over.

Some features cannot be made zero-retention at all. Grounding with Google Search keeps query logs for up to 3 days, grounding with Google Maps keeps data for 30 days, and the Deep Research agent keeps session data for 7 days. The Interactions API stores conversations unless you set store to false.

Amazon Bedrock

Bedrock now has an explicit data retention mode, set per region for the account or per project. In mode none, no request or response data is written to durable storage or shared with the model provider, and a service control policy can enforce it across an organization. In default, each model's own policy applies and AWS may keep data for abuse prevention.

The catch is that some models refuse to run under none. Per the abuse detection page, Anthropic's Claude Fable 5 family requires the aws_review mode, which keeps all traffic for up to 30 days and allows human review by AWS. ZDR for those models requires eligibility for a separate Enterprise Frontier Safeguards program. For most OpenAI models on Bedrock, classifier-flagged traffic is kept for up to 30 days unless you are approved for full ZDR. Model providers do not receive your content in any mode.

When ZDR is enough for enterprise AI data privacy

It depends on which question your policy asks.

ZDR answers "does the provider keep a copy?". For support tickets or internal documents, a signed ZDR arrangement plus a review of the exclusions is often a sensible stopping point.

It does not answer "who processes the data?". The provider is still a processor, often in another jurisdiction, and its automated safety systems may still scan prompts as they are processed. Under the GDPR that still means a processor agreement and, possibly, an international transfer; our GDPR compliant LLM guide covers both. For health data, retention is only one part of the safeguards; see what self-hosting changes for PHI.

It also drifts. ZDR is tied to an organization, project, region or model, so a developer who creates a new project, enables a batch job or switches models can step outside it unnoticed. Write down which features and models are allowed and check them in code review.

Self-hosting: prompts that never leave your network

The alternative is to run an open-weight model on hardware or cloud instances you control. Then there is no third-party API to trust, no approval to request and no excluded-feature list to track. The prompt goes from your application to your inference server and back, inside your network.

That moves the retention question to you without answering it. Text can still land in:

  • Inference server logs, if verbose or debug logging is on
  • Gateway or proxy logs that record request bodies
  • Tracing and observability tools your developers add
  • Application databases that store conversation history

Write a short LLM data retention policy that covers each one, including backups. A workable default is to keep metadata (timestamp, user, model, token counts, latency, status) for your audit period and keep full prompt text off, or in a separate store with a short retention period and tight access. Our LLM observability guide shows what to measure without logging content.

Self-hosting has costs: you run GPUs, and open models trail the best closed models on some hard tasks. The private LLM vs OpenAI API comparison weighs that trade-off. If you are on Google Cloud, the Google Vertex AI alternative post shows how to run open models in your own project.

Where AI Refinery fits

AI Refinery, a self-hosted LLM platform, installs inside your own infrastructure: your cloud account, your VPC, on-premise servers or a fully air-gapped network. Nothing phones home, so prompts and responses go only where your own network sends them. You choose open-source models from its catalog, launch them on your GPUs, and call each one through an OpenAI-compatible /v1/chat/completions endpoint.

Its observability dashboard tracks request volume, latency, token usage and errors per inference server, and RBAC, SSO, approval workflows and an audit log are built in. What your applications and proxies store is still your decision, and compliance remains your organization's responsibility. If you need a frontier closed model, a ZDR arrangement with its provider is the right path instead. Otherwise, see how the private LLM platform works or write to [email protected].

ZDR review checklist

  • ZDR or the equivalent control is confirmed in writing for every organization, project and region you use
  • You listed the features your application calls and checked each against the provider's eligibility table
  • You know which models require retention and have blocked them where needed
  • You know how long flagged content is kept and who can see it
  • Your own logs, traces and backups have a written retention period
  • Someone re-reads the provider's data page before you adopt a new model