Is zero data retention real? Not if you can't check it
Is zero data retention real? Dragos hid 2M canaries in LLM prompts and some ZDR-flagged requests still leaked. What I'd change in a backend this week.
“Don’t worry, it’s zero data retention.”
It’s the sentence that ends most AI privacy conversations. It gets said the same way people say “it’s encrypted”. Everyone nods. Nobody asks who holds the key.
So, is zero data retention real? This week we got the closest thing to a real answer, and it’s not a comfortable one. A security team hid unique, trackable secrets inside about two million LLM prompts, then waited to see who would use them. Some of the requests marked ZDR leaked anyway.
ZDR is a promise. And a promise you can’t check isn’t a control. It’s a hope with a JSON flag.
Short answer: zero data retention is an arrangement you ask for and an account is approved for, not a setting you flip. At Anthropic, OpenAI and Amazon Bedrock it covers listed API endpoints for an approved organisation, and each vendor’s docs also list what it leaves out. Read the exclusions before you tell a customer “we use ZDR”.
What actually happened
On 19 November, HD Moore at Dragos published the results of a five-month experiment. From July to November 2026, his team sent roughly two million prompts to AI services. Each prompt carried its own canary: a working AWS key for an empty account, a password, a private URL, a git repo name. Each secret was used exactly once, in one request, to one provider. So if a secret ever showed up somewhere else, they knew exactly which hop leaked it.
Here’s what came back:
- Three providers were breached. Attackers were copying requests, and the stolen bait keys were tested, in some cases within hours. In total they made tens of thousands of AWS API calls.
- Resellers kept prompts. Some sellers on an inference marketplace just switched on normal request logging and read what came through. No hacking needed.
- Privacy settings got ignored. One AI lab fetched the secret URLs from more than half the prompts sent to its models, including about two thirds of the ones marked “no data collection” or ZDR. Its scraper usually showed up two or three days later.
The line from the report that stuck with me: “A privacy flag doesn’t help when the attacker is already inside.”
On 22 November OpenRouter posted its response. It off-boarded three providers, removed 125 endpoints from ZDR eligibility and notified the customers who might be affected. It also said its own systems were not breached. Which is true, and also kind of the point. The router wasn’t the leak. The router was the hallway every leak walked through.
Is zero data retention real, or just a checkbox?
It’s real in the way a “No Parking” sign is real. It tells you what should happen. It doesn’t tow anyone.
Here’s how most AI features actually ship. Your backend sends a prompt to one API. That API may be a router. The router picks a provider, often whoever is cheapest or up right now. That provider might be reselling someone else’s model. Every one of those hops decrypts your prompt to do its job. Every one of them can log it.
The Dragos report says it plainly: a privacy flag only binds the first hop. You signed a contract with one company. Your data met four.
So ZDR is real at the company you can audit, sue or at least email. Past that, it’s vibes.
Why the cheap route is the leaky route
Nobody picks a sketchy provider on purpose. You pick a model, the router picks the price, and the lowest price wins. That’s the whole selling point.
The trouble is that “lowest price” is exactly how a bad reseller gets your traffic. List a popular model a bit cheaper than everyone else, eat the difference, keep the logs. The prompts are often worth more than the GPU time.
I’ve made this argument before about infra, in the Kubernetes post: the cheap-looking choice and the cheap choice are rarely the same thing. Back then the hidden cost was engineers babysitting YAML. Here the hidden cost is your customer’s data sitting in a stranger’s log bucket.
And the defaults don’t help. In OpenRouter’s own docs, the data_collection setting defaults to
allow. If you never touched it, you opted into “providers that may store data” without making a
decision.
What does zero data retention cover at Anthropic, OpenAI and Bedrock?
The three big vendors use the same three words for different promises. Checked on 2 December 2026, in each vendor’s own docs.
At Anthropic, the legacy ZDR arrangement means it “does not store customer prompts or responses at rest after the API response is returned”. You ask its sales team for it and it is enabled per organisation, so a new organisation needs it switched on separately. It covers eligible features of the Messages and Token Counting APIs, and Claude Code used with API keys from a commercial organisation. It does not cover the Claude Console, Managed Agents, the consumer plans, or the Teams and Enterprise product interfaces. Code execution is marked not eligible.
The detail most people miss is the model list. Anthropic says Claude Fable 5.2, Mythos 5.2 and the earlier Fable 5 and Mythos 5 models are “Covered Models” that need 30-day retention. Legacy ZDR is therefore not available for them unless Anthropic expressly authorises it. So “we’re on ZDR” can be true for your account and false for the model you actually call.
At OpenAI, the data controls guide says abuse monitoring logs are kept for up to 30 days by default. Zero Data Retention needs prior approval, and it changes behaviour: store is treated as false on /v1/responses and /v1/chat/completions. It isn’t available on every endpoint. The guide’s table marks Conversations, Agents, Assistants, Threads, Vector stores, Files, Fine-tuning jobs, Evals and Batches as not ZDR eligible, so those can hold data until you delete it.
On Bedrock, retention is a mode you set per Region, at account or project level, per AWS’s data retention docs. none is zero data retention: no request or response data is written to durable storage by AWS or shared with the model provider. default means the model’s own policy applies, and AWS may keep data for safety and abuse prevention. In default mode, setting store=false does not guarantee zero retention. The setting does not carry across Regions, and a none account calling a model that requires retention gets blocked with an error. There is also a call to read your current mode (GET /data-retention, IAM action bedrock:GetAccountDataRetention), so read it instead of assuming.
All three have the same shape. ZDR covers the vendor’s own storage of your prompt. It says nothing about the router, reseller or tool in front of it, which are the hops where the Dragos canaries showed leaks. Know the retention mode of every hop, then plant a canary to see.
What I’d change in a backend this week
None of this needs a rewrite. It needs about five boring changes.
1. Stop sending secrets in the first place. Agents will happily paste whatever they can read into a prompt, including credentials. Scrub keys, tokens and connection strings before the request leaves your service. If a prompt never contained a secret, there’s nothing to steal.
2. Pin the provider. Turn off fallbacks. If you use a router, pick the upstream yourself and fail loudly instead of quietly rerouting to whoever’s cheapest:
"provider": { "order": ["anthropic"], "allow_fallbacks": false, "zdr": true }
A failed request is an incident you can see. A silent fallback to an unknown host is an incident you can’t. I’ve since put the same question to Amazon’s claims for Bedrock in the Ergo pricing post.
3. Split traffic by how sensitive it is. Summarising public docs through a cheap open-model endpoint? Fine. Customer records, contracts, source code? Straight to a first-tier provider, on a contract you’ve actually read. Moore’s own advice lands in the same place: go direct, one company, one policy.
4. Plant your own canary. This is the cheapest test you’ll ever run. Put a fake credential in the context your pipeline already sends, wire an alert to it, and treat any use of it as a security incident. Dragos points to free Canarytokens from Thinkst to get started. Now “ZDR” is something you check, not something you trust.
5. Know your hops. Write down every company between your code and the GPU. If you can’t list them, you don’t have a data flow. You have a guess.
Do I need to stop using AI routers?
No. Routers are genuinely useful. One API, one bill, easy model swaps, cheap experiments. I’d still use one for the low-risk stuff.
What I wouldn’t do is let the router make the privacy decision for me. You don’t have to move everything at once, either. Pull the sensitive path out first and leave the rest where it is. Same idea as strangling a monolith one module at a time: fix the part that can hurt you, then keep going.
So, is zero data retention real?
At the first hop, with a provider you have a contract with, mostly yes. Past that, you’re trusting a chain of companies you’ve never heard of, and this week we found out some of them were reading.
The fix isn’t panic. It’s verification.
My rule: if you can’t check a privacy promise, design as if it’s false.
So here’s the uncomfortable one. Do you actually know which company read your last prompt?
Get the next one by email.
Sent when a post is ready. Never filler.
Free / One email per post / Unsubscribe in one click
Next issue // when it is ready
No filler.
One lesson from production per issue. What broke, why, and the rule I took from it. No roundups. No launch-day cheerleading.