TL;DR: Zero data retention is not a promise that your prompt disappears. OpenAI's platform guide says abuse monitoring logs are "generated for all API feature usage and retained for up to 30 days" unless the company approves you for an exclusion.[1] In ChatGPT the same idea is a toggle called "Improve the model for everyone," and turning it off deletes nothing, because "Turning off Improve the model for everyone does not delete or hide saved chats."[2] OpenAI's own zero-retention announcement promises that "OpenAI does not retain their prompts or model responses after a request is processed", then carves out images flagged for child sexual abuse material, which get kept anyway.[3] Anthropic, Google and OpenRouter each publish their own version of the deal, and the gaps between them are where your prompts end up.

OpenAI: 30 Days by Default

Start with the floor, not the marketing. OpenAI's platform guide says that by default "abuse monitoring logs are generated for all API feature usage and retained for up to 30 days, unless longer retention is required by law, or is reasonably necessary to protect our services or any third party from harm."[1] That is where every API customer starts.

OpenAI splits what it stores into two buckets. One is the abuse monitoring log. The other is "Application state: Data persisted from some API features in order to fulfill the task or request."[1] The second bucket holds the surprises. The guide's endpoint table gives the Responses API a 30-day application-state window by default, so "the Responses API has a 30 day Application State retention period by default", and in those cases "response data will be stored for at least 30 days."[1]

Zero Data Retention is how you get out of both buckets, and it is not a setting you flip yourself. The guide is blunt about the paperwork: "Currently, these controls are subject to prior approval by OpenAI and acceptance of additional requirements."[1] Once approved, customers "may select between Modified Abuse Monitoring or Zero Data Retention for their API Organization or project."[1] Modified Abuse Monitoring is the middle rung. It excludes customer content, with an exception for image and file inputs in rare cases, "from abuse monitoring logs across all API endpoints, while still allowing the customer to take advantage of the full capabilities of the OpenAI platform."[1]

Zero Data Retention also changes how the API behaves, not just how long it holds on to things: "Zero Data Retention changes some endpoint behavior: the store parameter for /v1/responses and v1/chat/completions will always be treated as false", whatever the request asked for.[1]

Even inside a ZDR account, some things are kept on purpose. Images and files are "scanned for CSAM content upon submission. If the classifier detects potential CSAM content, the image will be retained for manual review, even if Zero Data Retention, Modified Abuse Monitoring, or Private Retention with PSP is enabled."[1] OpenAI's announcement says the same thing from the other side, because the company is required by law to report apparent child sexual abuse material: "Images flagged for potential CSAM will continue to be retained for manual review and reporting purposes, even in Zero Data Retention deployments, as they are today."[3]

OpenAI also reserves the right to walk the deal back. Its guide says that for customers approved for ZDR or Modified Abuse Monitoring, "we reserve the right to make models ineligible for Zero Data Retention or Modified Abuse Monitoring for specific customers if reasonably necessary to investigate or prevent severe risk activity, as notified in advance to the impacted customers in writing."[1] That clause is why the company announced Private Safety Processing in August 2026: "Some recent frontier-model deployments have required customers to allow their AI provider to retain sensitive content for safety monitoring."[3] The announcement, dated August 19, 2026, carries an update from September 22, 2026: "We are rolling out Private Safety Processing to API customers, with access expanding in phases."[3]

The promise itself is narrow, and worth reading twice: "Zero Data Retention gives eligible API customers a clear promise: OpenAI does not retain their prompts or model responses after a request is processed."[3] Customer content, the announcement adds, "is not available to OpenAI personnel for review" once the request has been handled.[3]

Two details in that guide deserve their own paragraph. The Assistants, threads, vector store, files and agents endpoints are marked "Until deleted" for application state and are not Zero Data Retention eligible, which matches a separate line in the guide: "Objects related to the Assistants API are deleted from our servers 30 days after you delete them via the API or the dashboard. Objects that are not deleted via the API or dashboard are retained indefinitely."[1] And anything you hand to a tool leaves the ZDR arrangement entirely. MCP servers are third-party services, and "data sent to an MCP server is subject to their data retention policies."[1]

On training, the API default has been stable for years. "As of March 1, 2023, data sent to the OpenAI API is not used to train or improve OpenAI models (unless you explicitly opt in to share data with us)."[1]

What ChatGPT Actually Keeps

The consumer side of the same company runs on different defaults, and the switch people hunt for is in the wrong place. On personal workspaces, OpenAI's help centre says "data sharing is enabled by default" for ChatGPT Free, Plus and Pro.[2] Turning it off takes one click, but the help page is explicit about what that click does not do: "Turning off Improve the model for everyone does not delete or hide saved chats."[2] Regular chats stay in history, archived chats stay archived, and locked chats stay saved but hidden from the sidebar.[2]

Temporary Chat is the part people get wrong. OpenAI lists what a temporary chat does and does not do: it does not appear in chat history, it does not create or update memories, it is not used to improve OpenAI models, and it may be retained for up to 30 days for safety purposes.[2] Thirty days for a chat you were told was temporary is the number to remember.

Feedback is the other one. If you hit the thumbs-up button, "the entire conversation associated with that feedback may be used to train OpenAI models."[2] The help page also documents a carve-out to the training switch itself: during Daybreak sessions on a personal account, OpenAI may use content from those interactions to improve its models even when Improve the model for everyone is off.[2]

Business and API accounts are the clean cases. "By default, OpenAI does not use content from ChatGPT Business, Enterprise, or Edu workspaces to train its models", and "By default, API inputs and outputs are not used to train our foundation models."[2] So the split is not consumer versus business. It is which product you are in, and whether the vendor signed off on a retention exception for you.

Anthropic: Zero Retention Is a Contract Term

Anthropic writes the definition more carefully than anyone else, though the arrangement now carries a "Legacy" label. Anthropic "now offers three data handling arrangements for the Claude API: legacy zero data retention (Legacy ZDR), HIPAA readiness, and Enterprise Frontier Safeguards (EFS ZDR)", and EFS ZDR is still in beta.[4] "Under a Legacy ZDR arrangement, Anthropic does not store customer prompts or responses at rest after the API response is returned."[4] The default is better than OpenAI's, with one exception. Conversation content is "not retained by default", and the exception is a set of models Anthropic calls Covered Models, which "require 30-day retention".[4]

Getting the arrangement is the hard part. Anthropic's documentation gives one route to it, and it is a sales conversation: to request ZDR for your organization, you "contact the Anthropic sales team".[4] It is enabled per organization, so "each new organization requires ZDR to be enabled separately by your account team, and enablement does not automatically extend to other organizations under the same account."[4] ZDR also constrains how you build, because "Organizations with a ZDR arrangement cannot call the Claude API directly from a browser: the API rejects their cross-origin (CORS) requests."[4]

Now read the exclusion list, because it is longer than the promise. ZDR does not cover the consumer plans at all. Anthropic lists "Claude consumer products: Claude Free, Pro, Max, and Ultra plans" as excluded, including when customers on those plans use Claude's web, desktop, or mobile apps or Claude Code.[4] It does not cover the Claude Teams and Claude Enterprise product interfaces, which "are not ZDR-eligible."[4] The one exception is Claude Code on Claude Enterprise, which "has its own ZDR offering, separate from the Legacy ZDR arrangement described on this page".[4] It does not cover Claude Console, any use of the playground, Claude for Excel, Claude Managed Agents, or anything sent through a third-party integration, because "Data processed by third-party websites, tools, or other integrations is not covered, though some may have similar offerings."[4]

It does not cover the newest models either. Anthropic's retention page lists "Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, Claude Mythos 5.1, Claude Fable 5, and Claude Mythos 5: These models require 30-day data retention and are not available under Legacy ZDR unless expressly authorized by Anthropic."[4] A 30-day clock on the models people actually want to use is worth noticing.

Outside a ZDR arrangement, the retention periods are long and specific. "The Activity Feed retains data for 6 years."[4] Local session transcripts from apps such as Cowork and Claude Code "are stored for 6 years by default", unless an organisation sets a finite period.[4]

Who counts as the data processor also depends on where you run it. "On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, the cloud provider is the data processor", so their retention rules are the ones that apply, not Anthropic's.[4]

Even the no-training promise has a tail. Anthropic's privacy centre says that by default "we will not use your inputs or outputs from our commercial products (e.g. Claude for Work, Anthropic API, Claude Gov, etc.) to train our models."[5] But if you send feedback, "When you provide us feedback via our thumbs up / down button, we will store the entire related conversation, including any content, custom styles, conversation preferences, or model settings, in our secured back-end for up to 5 years."[5]

Google: The Free Tier Is a Different Product

Google splits its Gemini API terms in two, and the difference is bigger than any retention setting. On unpaid services, which the terms describe as "Google AI Studio and the unpaid quota on Gemini API", Google "uses the content you submit to the Services and any generated responses to provide, improve, and develop Google products and services and machine learning technologies", including Google's own enterprise features, products and services.[6] That is training, stated plainly. The same section adds that "human reviewers may read, annotate, and process your API input and output", and Google's own warning is blunt: "Do not submit sensitive, confidential, or personal information to the Unpaid Services."[6]

Pay for quota and the rules change. "When you use Paid Services, including, for example, the paid quota of the Gemini API, Google doesn't use your prompts (including associated system instructions, cached content, and files such as images, videos, or documents) or responses to improve our products", and it processes them under a data processing addendum instead.[6] The logs are still there, with a stated purpose: "For Paid Services, Google logs prompts and responses for a limited period of time", solely to detect and prevent violations of the Prohibited Use Policy and to make required legal or regulatory disclosures.[6]

One feature has its own clock. "Google will store prompts, contextual information that you may provide, and output for thirty (30) days for the purposes of creating Grounded Results and Search Suggestions" when you switch on Grounding with Google Search.[6] Google also notes that the logged data "may be stored transiently or cached in any country in which Google or its agents maintain facilities."[6]

The Router Problem: Your Flag Only Covers the First Hop

This is where the contract stops mattering. OpenRouter passes your inputs to the model provider you select, or to one it selects for you, and its privacy policy is careful about its own limits. "OpenRouter does not use your Inputs or Outputs for model training."[7] But it also says "Different Model Providers have different data practices, including with respect to whether they retain or use your Inputs and Outputs to train, fine-tune, evaluate, or improve their Models."[7] And "Some Model Providers may use your Inputs and Outputs for model training or improvement."[7] The blunt version is in the same policy: "OpenRouter cannot control Model Provider-side training once user data is transmitted to a training-permitted Model Provider."[7]

OpenRouter is a router, not a model lab, and that is exactly the point. "AI routers work by offering a single API endpoint that forwards your request to a pool of available models, sometimes at different hosting providers, with unified billing."[8] The research below measured what happens after a prompt leaves the front door.

Dragos chief research officer HD Moore ran a five-month experiment and published the results on November 19, 2026. "Over a five-month period from July through November 2026, we submitted approximately two million prompts containing unique URLs and canary token credentials to widely used AI services and monitored what happened after inference."[8] Every prompt carried a unique link and a unique AWS credential, so if anything ever touched the link or the key, that was proof somebody read the prompt.[8]

Three findings came out of it, and all three are bad.

First, breaches. "We observed activity indicating that data from at least three AI providers was exposed."[8] The stolen keys were live: "our bait keys were used for tens of thousands of AWS API calls."[8] And the ZDR flag did nothing about it, because "In the other two breaches, some of the stolen requests were marked as ZDR."[8] Moore's summary of that: "A privacy flag doesn’t help when the attacker is already inside."[8]

Second, no exploit was needed at all. "Multiple resellers operating through an AI inference marketplace were able to view and retain customer prompts using standard logging capabilities, without exploiting a vulnerability or bypassing platform controls."[8] The sellers turned out to be individuals working from home internet connections, reading requests because logging is a feature of the product they were selling.[8]

Third, the flag was ignored on the way to the model. A Chinese AI lab's systems "fetched the secret URLs from more than half of the prompts that we sent to its models between July and October, including roughly two-thirds of the requests marked as “no data collection” or Zero Data Retention."[8] The same lab's models were being resold by US hosting providers, so the prompts were flowing back to the lab even for customers who picked a US provider specifically to keep their data in the US.[8]

The worst single story is worse than a leak. "Twenty-four days after we sent a prompt to one Chinese provider, the secret link from that prompt was posted into a Feishu chat channel (Feishu is known as Lark outside of China)", and the link was opened within two minutes from three desktops and three phones in Beijing and Shanghai.[8] Moore's conclusion was that whoever shared it "was reading from a stored copy of the full prompt, more than three weeks after the request was sent to a U.S.-based provider with the ZDR flag."[8] Separately, one large US provider "continued to crawl a secret URL more than two months after we used it in a single inference call to their search endpoint."[8]

Moore also found hops that the marketplace did not advertise. In one traced route the path ran from a marketplace seller to Anthropic, and Moore reports that "The OpenRouter hop was discovered by tracing and was not disclosed in the marketplace".[8] Another seller "quietly adds about a thousand hidden tokens to every prompt", and another fetches images through a shared consumer subscription account.[8]

What To Do About It

Moore's advice is the closest thing to a playbook, and it is not about switches:

  • Pick the upstream provider yourself instead of accepting the default pool, and verify that your privacy settings actually change where your requests go.[8]
  • Stay away from reseller marketplaces. Some of that capacity comes from stolen keys.[8]
  • Seed your own canaries. Add a fake credential to the context your agents and pipelines already send, and treat any use of it as an incident.[8]
  • Host the model yourself if you can afford it. The research puts a Mac Studio with 512 GB of memory at a starting price of $22,299, NVIDIA's DGX Spark at $6,950, a DGX Station at about $105,000, and an eight-GPU B300 server at $570,000 or more.[8]

At the consumer end the levers are smaller but real. If you use ChatGPT on a personal plan, turn "Improve the model for everyone" off, and understand that this stops training, not storage.[2] If you are on a free Gemini or AI Studio quota, move to a paid quota before you paste anything you would not want a reviewer reading.[6] If your work runs through a router, name the model provider yourself instead of taking the pool default.[8]

And if you are the one sending prompts out of an office, the OpenAI endpoint table is the thing to read. The endpoints that keep application state until you delete the object are not Zero Data Retention eligible, and an MCP server is a third party with its own policy.[1]

Sources

  1. OpenAI, Data controls in the OpenAI platform (developer documentation)
  2. OpenAI Help Center, Data controls in ChatGPT
  3. OpenAI, Offering Zero Data Retention for frontier models (August 19, 2026, updated September 22, 2026)
  4. Anthropic, API and data retention (Claude Platform documentation)
  5. Anthropic Privacy Center, Is my data used for model training? (August 18, 2026)
  6. Google, Gemini API Additional Terms of Service
  7. OpenRouter, Privacy Policy
  8. Dragos, Three breaches, endless leaks: Your AI supply chain needs canaries, by HD Moore (November 19, 2026)