Guides

Strategy & Governance

What zero data retention actually guarantees, and what the November 2026 incidents showed

What a ZDR flag promises on an AI API, where prompt data still leaks on the inference path, how Dragos and OpenRouter tested it, and when you still need tokenization or a model inside your network.

By Tirth Gajjar · Founder & CTO

12 min

At a glance

Zero data retention means a provider promises not to keep your prompt and output after the request finishes. It does not stop in-flight access, a compromised front door, forwarding to another hop, or a swapped model. November 2026 made that gap concrete: Dragos seeded roughly 2,000,000 requests with canaries over about five months, OpenRouter removed 125 endpoints from ZDR eligibility, and the providers' own notices showed prompts kept in a test store, read in flight, forwarded to another company's API, or answered by swapped weights.

Bigcircle puts an AI gateway in front of model traffic, tokenizes or redacts personal data before the call, keeps secrets out of the prompt, and moves the model into your network or onto the device when the data cannot leave, with a trace on every request.

Who this is for
Engineers building AI systems and technical leads reviewing the implementation.
Topics
  • LLM Guardrails
  • LLM Observability & Tracing
  • Evals & LLM Evaluation Metrics
  • Model Routing & Cascading
  • AI Agent
  • Tool Calling (Function Calling)

Published

Zero data retention is the contract flag under which a provider will not keep your prompt or the model output after the request finishes. Teams turn it on for zero data retention AI workloads because the alternative is a second copy of customer text, code or credentials sitting on someone else's disk. The November 2026 inference-provider incidents showed the limit of that flag: it does not stop anyone who can read the request while it is still moving, and it tells you nothing about which weights answered.

Key facts

Definition

Zero data retention is a provider flag that the prompt and completion are not stored after the request finishes, without stopping in-flight reads, forwarding, or a swapped model.

How Bigcircle does it

  1. Bigcircle keeps credentials in Solarpunk's on-device vault and injects them at the tool call, so secrets never sit in the prompt a provider can retain.
  2. Bigcircle builds a PII tokenization layer in front of provider calls, and on the telecom agents masks or excludes personal data by policy before the model sees a row.
  3. Bigcircle moves the model onto the device or into infrastructure you operate when the workload cannot leave, as on AnyTeam where no audio takes an upload path.

Comparison

A no-training clause blocks model improvement on your traffic, while zero data retention is about whether the provider keeps the contents after the call.

Key number

OpenRouter removed 125 endpoints from ZDR eligibility after the November 2026 provider incidents, without reporting a breach of OpenRouter itself.

We already treat retention as one control on a longer path. On Solarpunk, credentials sit in an encrypted vault on the user's machine and are injected into the tool adapter at execution time, so the model is a reasoning service and never holds the keys. On AnyTeam, audio never leaves the laptop: there is no upload path. On the telecom marketing platform we are building agents for, personal data is masked, aggregated or excluded by policy before an agent sees a row, and that policy lives in code rather than in a prompt.

This guide starts with what zero data retention (ZDR) actually promises. It then covers where AI data leakage happens on the inference path, what the November 2026 canary work and provider removals mean for a buyer, how to verify a provider still honors the flag, and when ZDR is not enough. It ends with how Bigcircle already places the gateway, the tokenization layer, the vault and the model.

Install and package risk stays on AI agent supply chain security. This page is about the inference path.

What is zero data retention (ZDR)?

Zero data retention is a provider setting, contract clause or per-request flag under which the prompt and the completion are not stored after the request is served. Routers often write it as ZDR and only forward those requests to endpoints that claim the same control. Metadata for billing, such as token counts and timestamps, usually still exists. The flag is about content retention, not about whether the hop ever saw the text.

What it does not promise is as important. It does not stop a router, reseller or front door from reading the request while it is in flight. It does not stop a compromised inference server from seeing prompts as they arrive. It does not stop a host from forwarding the call to another company's API. It does not prove that the weights behind the model name are the ones you think they are. Treat ZDR as a retention claim you still have to verify, not as a perimeter.

Read the provider's current ZDR page before you trust the badge. Together AI's docs, checked 23 November 2026, are typical: with ZDR on, request content "may pass through volatile memory and temporary caches while your request is served, but it is not persisted to non-volatile storage." That is the ordinary meaning of the flag: no kept copy after the call, not "nobody ever saw it".

Where does AI data leakage actually happen on the inference path?

AI data leakage on the inference path is a copy of the prompt or the completion ending up somewhere you did not intend: a router log, a reseller's dashboard, a provider's test store, an attacker's disk, or a model host you never contracted with. The figure below is the map. Client to gateway to reseller to provider front door to inference server. Each of those hops handles the prompt and the reply in plain text, so each one is a place a copy can be made.

Where a prompt can still be readFramework. Zero data retention is about storage after the call, not who sees it in flight.ClientYour app or agentGatewayRouter or AI gatewayResellerMarketplace sellerFront doorProvider API edgeInferenceGPU / model serverZDR can coverPrompt and output not storedafter the request finishesEndpoint eligibility you can pinContract language you can auditZDR does not coverIn-flight copies at every hopA compromised front door or serverForwarding to another providerA swapped model behind the nameOrange is a hop that can still see the full prompt. Green is what a retention flag can bind.Install and package risk stays on the AI agent supply chain security guide.

Leakage does not require a dramatic breach. Standard request logging at a marketplace reseller is enough if that seller can keep what it saw. Sampling for product tests leaves a store of prompts that then needs its own access control. Abuse monitoring and safety scrapers that fetch URLs from the prompt create a second trail. Coding agents that commit credentials into a public repository turn a private test store into an open download. Secrets pasted into prompts become live keys the moment any hop on that path is hostile or only careless.

That is a different problem from a poisoned MCP server or a trojanized extension. Those installs are covered on the supply chain security guide. Here the question is only: once you send a completion request, who can read it, and for how long. Keep secrets out of that request the way we do on Solarpunk: inject them at the tool adapter, never into the prompt.

What did the Dragos canary study and the OpenRouter removals show?

Treat a ZDR badge as something you still have to test. Over about five months from July through November 2026, Dragos's canary work seeded roughly 2,000,000 requests with unique URLs and credentials, then watched which secrets got used. Three findings matter for a buyer.

A retention setting means nothing to an attacker who sits on the provider's side of the connection. Evidence pointed to exposure at least at three AI providers, and some of the stolen requests carried the ZDR mark. At one provider the stolen keys came from requests that were refused before any inference ran, so the copying happened at the API edge. Dragos did not name those three providers in the public post, and this guide does not invent names for them.

Do not trust an open marketplace with regulated prompts. Marketplace sellers needed no exploit, because the platform's own request logging let them keep what they served, and undercutting on price is enough to win the traffic. Dragos also caught a router passing part of its traffic to that marketplace without saying so, so a team that thought it had picked a direct path still passed through a seller.

Do not assume the privacy setting you clicked is the path you got. Unique URLs were fetched months after a single inference call, prompts flowed to organizations the customer had not chosen, and retained copies later appeared outside the original provider.

OpenRouter's 22 November 2026 notice is the router-side consequence. The findings did not show a breach of OpenRouter itself. The company off-boarded three providers, removed 125 endpoints from ZDR eligibility (including precautionary removals), and notified potentially affected customers. It is turning the researchers' canary method into ongoing checks, verifying network paths for undisclosed forwarding, and requires assurances and validation before any removed endpoint gets ZDR eligibility back.

OpenRouter's notice keeps a live list of provider write-ups (eight when checked on 27 November 2026). Four of them, read in each provider's own words, show four different ways a prompt got out. The primary URLs are in Further reading.

On Together AI's 21 November 2026 notice, someone downloaded the prompt samples Together had kept for software testing in a private Hugging Face repository, using an access credential that had leaked into public code. The samples came from serverless inference requests in June and July 2026, primarily on 24 June and 4, 8 and 14 July, to MiniMax M3, GLM-5.2 and Kimi K2.6. The leak was an AI coding agent committing that credential to Together's public xorl repository. Scanning flagged it and the commit was reverted, but not before it was taken. The intruder then searched the samples for credentials and tried them, and five were Dragos canaries. Together made ZDR the default for new accounts after the incident. Rotate any secret that sat in a stored sample, and prefer ZDR on by default the way that notice now does for new accounts.

On Phala's 10 November 2026 preliminary report, an attacker took over the inference VM serving DeepSeek V4 Flash 0731 and could read requests while they were being processed. Containment completed on 8 November 2026 at 05:35 UTC. For requests to that deployment between 21 October 2026 at 00:00 UTC and that containment time, treat request contents as exposed and rotate secrets included in them. A ZDR flag would not have stopped a live read on the server.

On Novita's 22 November 2026 privacy notice, a forwarding path meant for specific customers was applied more broadly, so some MiniMax requests went to MiniMax's own API instead of Novita's servers. Novita says that for MiniMax use between 28 May and 11 November 2026, including traffic that reached it through OpenRouter, that third party may have read or kept the request contents. Rotate any live credentials that were in those prompts. Pin the host, not only the model name.

On Atlas Cloud's security notice (the page OpenRouter lists as its security and privacy commitment, updated 24 November 2026), private links opened after MiniMax M3 and M2.7 requests sent through Atlas in Q3 and early Q4 2026 reached MiniMax's official API, not Atlas's own infrastructure. Atlas stopped sending requests to that API, did not store those prompts or outputs, and tells users of MiniMax M3, M2.7 or M3.1 Flash on Atlas to treat any secret sent to those models as exposed. Stop open upstream routing for those models until the host confirms the path.

Prime Intellect's advisory PI-SA-2026-001 (19 November 2026) is the other half of the ZDR gap. Between 8 November 2026 at 01:24 UTC and 10 November 2026 at 06:35 UTC (about 53 hours), an unauthorized party replaced the deployment behind Prime Intellect's deepseek/deepseek-v4.1-flash endpoint with publicly available "abliterated" weights, meaning weights modified to reduce or remove refusal behaviour. Capability benchmarks were unchanged, while refusals fell from 98 percent of the JailbreakBench set to 1 percent. Prime Intellect's endpoints were set up with ZDR and do not log requests, and the advisory found no evidence prompts or completions left the serving cluster. Retention was not the failure. The model that answered was. Add a refusal-rate canary; do not trust the model name alone.

How do you verify a provider honors ZDR?

Start with the contract and the endpoint list, not with a dashboard badge. Read what ZDR covers, what metadata still gets kept, and which models or routes are eligible. On a router, set an explicit allow-list of upstream providers and turn off fallback to the rest of the pool, and check that a ZDR request actually reaches an eligible endpoint. OpenRouter's own response in November 2026 was to remove endpoints from eligibility until paths could be verified again. Treat that as the bar: eligibility is a living list.

Put your own canaries into a sample of production-like traffic. A unique URL or fake credential that only exists in one prompt tells you if that prompt later left the path you expected. Dragos built a dedicated seeding service for this; you do not need that to start. One free canary credential in a staging pipeline's context, watched like a leaked key, already answers the question for that pipeline.

Put egress in an AI gateway you control. Hold provider keys there, allow-list the hosts each team may call, and refuse open marketplace routing for workloads that carry regulated text or secrets. The model routing table is configuration you own: which model, which host, which fallback. A lowest-price default is how a prompt ends up at a reseller you never reviewed.

Add a model-identity check for open-weight hosts. Capability scores alone did not catch the November 2026 weight substitution. A small refusal-rate canary, or a hash check against known weights where you operate the server, answers a different question from retention: whether the named model is still the model that answers.

None of that replaces reading the provider's current notice after an incident. Eligibility lists move. Re-check the endpoints you pin when a router posts a removal.

When is zero data retention not enough?

ZDR is not enough when the data in the prompt must not be readable by any third party, even for the length of a single request. Regulated personal data, live credentials, unpublished source, and customer secrets fall in that bucket. A flag about storage after the call does not shrink who can see the call.

Send less first. PII tokenization for LLMs swaps personal values for stand-in tokens before the provider call and restores them after the reply, so the provider never sees the real emails or account numbers. Never put credentials in prompts: inject them at the tool adapter the way Solarpunk does, or refuse the call. Guardrails that scrub known secret shapes help, and they are not a substitute for keeping secrets out of the prompt in the first place.

When the data cannot leave at all, keep the model where the data already sits. Self-hosted models put the weights on infrastructure you operate. On-device inference puts them on the laptop or phone, which is how AnyTeam keeps meeting audio off the network. Self-hosted AI agents keep the runtime on your side, and that is still a separate decision from where the model runs: a self-hosted agent with a remote model still sends prior turns and tool returns on every call.

Use an audit trail for the requests you do send: which endpoint, which retention flag, which canary batch, which redaction record. Without that, a provider notice weeks later has nothing to match against your traffic.

How Bigcircle treats inference data

We do not sell a product named zero data retention. The method is the one already on the systems we build: decide what may leave, strip what must not, choose where the model runs, and leave a record.

On Solarpunk, credentials never travel into the prompt. The vault injects them at the tool call. The agent acts only through registered tools, and each run leaves a trace from the goal through the calls to the resulting application state.

On Skionis, the DevOps agent on a live AWS account is untrusted. It reaches the provider only through purpose-built tools, with no general shell. One record links the request to every resulting resource.

On AnyTeam, the architecture answer is stronger than a retention flag: zero audio leaves the machine, because there is no upload path.

On the telecom engagement, PII is masked, aggregated or excluded by policy before the agent sees it. Prompts are a user-experience layer. Policy enforcement does not depend on them.

Across more than one agent or provider, those same controls move into an AI gateway in front of model traffic: keys held once, routes pinned, budgets and disconnects on the request path, and a span per call. When a prompt still has to leave, tokenize first. When it must not leave, host the model yourself or run it on the device.

Common questions

What does ZDR mean in AI APIs?#

ZDR means zero data retention: the provider claims it will not store your prompt or the model output after the request finishes. In AI APIs the flag is usually set on the account, the key or the individual request, and routers forward ZDR traffic only to endpoints marked eligible. It is a retention claim about content, not a promise that no hop read the request while it was in flight.

What is the difference between ZDR and no training on your data?#

No training on your data means the provider will not use your prompts or outputs to improve a model. Zero data retention means the provider will not keep those contents after the request. A provider can refuse training and still store prompts for abuse review, debugging or product analytics. Ask for both clauses if you need both outcomes, and read which endpoints actually offer ZDR.

Does zero data retention stop LLM data leakage?#

No. LLM data leakage on the inference path includes in-flight copies at routers and resellers, prompts kept in test stores, credentials committed by coding agents, forwarding to another host, and a compromised server that can read requests as they arrive. ZDR addresses storage after the call. It does not, by itself, stop those other paths.

Does ZDR stop AI data leakage when you use a router?#

Only if every hop on the path honors the same rule and nobody reads the request in flight. A router that picks the lowest-price seller, or that forwards to an upstream API you did not choose, can still expose the prompt while claiming to respect your flag. Pin providers, verify endpoint eligibility, and put canaries in a sample of your own traffic.

When should you self-host instead of relying on ZDR?#

Self-host the model, or run it on device, when a third party must not be able to read the prompt even for one request: regulated personal data, live secrets, or workloads your counsel will not allow off your network. Use tokenization when the model still needs structure but not the real values. Use ZDR when the residual risk of in-flight access at a named first-tier provider is acceptable and you are willing to verify the endpoint list.

How do you detect that a hosted model was swapped?#

Retention flags will not tell you. Watch behaviour that should be stable for that model, such as refusal rates on a fixed canary set, and prefer hosts that can show weight provenance. Prime Intellect's advisory PI-SA-2026-001 is the worked example: capability scores held while refusals collapsed across about 53 hours, and the endpoint name stayed the same.

Further reading