OpenRouter's One-Click ZDR: Tips for Private AI Usage
OpenRouter just made privacy a checkbox. In July 2026, the model-routing platform added a one-click Zero Data Retention (ZDR) toggle to its Chatroom interface. Flip it on, and every prompt you send — plus every response you get — is routed exclusively through providers that don’t store your data. No config files. No per-request headers. Just a toggle.
This matters more than it sounds. OpenRouter is the default way a lot of developers test and compare models. You pull up Chatroom, paste the same prompt into Claude, GPT, Gemini, and Llama side by side, and see which answer you like best. It’s become a staple workflow for prompt engineering, model evaluation, and vibe checks. The problem: by default, some of those providers log your prompts. OpenAI retains API data for 30 days. Anthropic doesn’t train on API data but may retain it for abuse monitoring. Smaller providers have policies that range from “we don’t log anything” to “we log everything, read the fine print.”
The ZDR toggle changes the equation. Here’s what it does, when it works, and the best practices that make it actually effective.
How OpenRouter’s ZDR toggle actually works
Zero Data Retention means a provider commits to not storing your prompts or completions for any period. Not 30 days. Not for abuse monitoring. Zero.
When you enable ZDR in OpenRouter Chatroom, the platform filters out any provider that doesn’t have a ZDR policy. Your request only reaches endpoints that have contractually agreed to zero retention. If no ZDR-compliant provider is available for the model you selected, OpenRouter shows an error instead of silently falling back to a logging provider.
Under the hood, this works through OpenRouter’s privacy settings system. There are four granularity levels:
- Global ZDR: enforced across all your OpenRouter usage — Chatroom, API calls, everything
- Per model group: ZDR only for specific model families (e.g., enforce ZDR for GPT models but not for Llama)
- Per guardrail: ZDR for content that triggers specific moderation categories
- Per request: a
X-OpenRouter-ZDR: trueheader on individual API calls
The Chatroom toggle sets global ZDR for your browsing session. Log out, and it resets. For persistent settings, you configure ZDR through your account privacy dashboard.
This is a genuine privacy improvement over the status quo where every provider’s data policy was an independent variable you had to track manually. But it’s not magic. There are gaps.
Tips and tricks for getting the most out of ZDR
I’ve been using ZDR mode for about a week. Here’s what I’ve learned.
Tip 1: Not all providers support ZDR, and the list changes. As of mid-July 2026, major ZDR-compliant providers include Anthropic (via their API ZDR agreement), Google (Gemini models via Vertex AI ZDR path), and several open-source model hosts like Together AI and Fireworks. OpenAI does not offer ZDR on their standard API — they retain data for 30 days. If you need GPT models in ZDR mode, you’re out of luck unless you find a third-party host that serves GPT under a ZDR agreement.
Check the provider list before assuming coverage. OpenRouter’s model page shows a ZDR badge next to compliant providers. If your workflow depends on a specific model that isn’t ZDR-compliant, you have three options: accept the logging, find a ZDR-compliant alternative model, or run the model locally.
Tip 2: ZDR doesn’t cover metadata. Even with ZDR enabled, OpenRouter itself logs request metadata — timestamps, token counts, model selection, latency. This is standard for any API platform (they need it for billing and abuse prevention) but worth knowing. Your prompt content isn’t stored, but the fact that you queried Claude at 3:14 AM and used 4,200 tokens is. For most use cases this is fine. For high-sensitivity work, consider whether metadata alone could be revealing.
Tip 3: Combine ZDR with OpenRouter’s privacy settings for full coverage. ZDR handles the provider side. OpenRouter also has a separate toggle for whether OpenRouter itself can use your inputs and outputs for its own purposes (model routing improvements, categorization). Make sure both are set correctly: ZDR on (provider side), and OpenRouter data collection off (platform side). The settings live on different pages in the dashboard, which is easy to miss.
Tip 4: Test ZDR behavior before relying on it. Send a distinctive prompt through ZDR mode, wait an hour, then send the same prompt through non-ZDR mode and ask the model if it “remembers” the earlier conversation. This isn’t a rigorous test — models don’t have persistent memory between sessions regardless of logging — but it gives you a baseline confidence that your ZDR setup is working. A better test: use a ZDR model via API, then check your provider dashboard for any logged requests. Most providers show request history. If requests appear, ZDR isn’t working for that provider.
Tip 5: For API users, set ZDR per-request as a safety net. Even if you’ve configured global ZDR in your account settings, add the X-OpenRouter-ZDR: true header to every API call. Configuration drift is real — account settings change, provider policies update, and the header gives you a per-request guarantee that the request is ZDR-constrained. One extra line in your HTTP client is cheap insurance.
Best practices for private AI usage across providers
Beyond OpenRouter specifically, here’s what I’ve settled on as practical privacy hygiene for AI tool usage. These aren’t paranoid measures — they’re the minimum viable privacy practices for anyone who sends non-trivial data through third-party AI APIs.
Practice 1: Know your provider’s data policy before you paste. Before sending anything sensitive to any AI tool, spend 30 seconds checking the data policy. The critical questions: does the provider log prompts? For how long? Do they use API data for training? Anthropic’s policy is the gold standard — no training on API data, optional ZDR. OpenAI retains data for 30 days and uses it for abuse monitoring. Google’s policy varies by product (Vertex AI is stricter than AI Studio). Smaller providers are all over the map. Bookmark the policy pages. It’s boring but necessary.
Practice 2: Strip identifying information from prompts. This is low-effort and high-impact. Before pasting code into any AI tool, run a quick find-and-replace: API keys, internal hostnames, customer names, email addresses, phone numbers. Use placeholder values. “Customer X” instead of “Acme Corp.” “api-key-here” instead of your actual key. The model doesn’t care about the real values — it just needs the structure. And if the provider logs your prompt, you’ve lost nothing sensitive.
Practice 3: Use local models for genuinely sensitive data. ZDR is better than nothing, but it’s still a contractual promise from a third party. If you’re working with PII, proprietary source code, or anything covered by an NDA, run a local model. Ollama with Llama 3.1 70B (or the upcoming Llama 4) handles most tasks on a MacBook Pro with enough RAM. Qwen-2.5 runs well on consumer hardware. For code review and documentation tasks, local models are perfectly adequate. Reserve cloud APIs for tasks that genuinely need frontier model capabilities.
Practice 4: Audit your API usage periodically. Once a month, check your API dashboards for unexpected request patterns. Look for models you don’t remember using, regions you don’t operate in, or usage spikes at odd hours. API key leaks are common and usually silent — the only sign is usage you didn’t authorize. OpenRouter’s dashboard shows per-model, per-provider breakdowns. Set a calendar reminder. It takes five minutes.
Practice 5: Prefer providers with published ZDR audits. Anthropic and Google publish third-party audits of their data handling practices. Smaller ZDR providers often don’t. A ZDR badge on OpenRouter means the provider signed an agreement — it doesn’t mean anyone has verified compliance. For production workloads with privacy requirements, prefer providers with a public audit trail. If you’re prototyping or doing personal work, the ZDR badge alone is probably sufficient.
Practice 6: Rotate API keys if a provider changes its ZDR status. OpenRouter notifies you when a provider’s ZDR status changes — but notifications are easy to miss. If you’re using ZDR for compliance reasons, check your provider list monthly. A provider that was ZDR-compliant last month might not be this month. If one drops out, rotate any API keys used with that provider and audit what data was sent through it during the non-compliant window.
When ZDR isn’t enough
ZDR prevents storage. It doesn’t prevent a provider from processing your prompt in ways you might not expect. Some providers run automated content classifiers on every request — checking for CSAM, violence, self-harm, etc. This happens in memory, not in storage, so it’s technically compatible with ZDR. But it means your prompt is being read by a machine (and flagged if it matches certain patterns) even if it’s not being stored.
This matters for two scenarios. First, if your prompts contain edge-case content that could be misclassified — medical text, legal documents, research on sensitive topics — the classifier might flag it. In most cases the flag goes nowhere (the classifier runs and the output is discarded), but it creates a record in the provider’s abuse monitoring system. That record might persist even if the prompt doesn’t.
Second, if you’re using ZDR to protect prompts that aren’t illegal or abusive but are commercially sensitive, know that classifiers are the weakest link. A classifier that flags your prompt as “needs human review” could result in a human reading it — ZDR or not. The provider’s terms of service usually carve out an exception for manual review in abuse cases. This is reasonable (platforms need to police illegal content) but worth knowing.
For maximum privacy, the hierarchy is: local model > ZDR-compliant provider with audit > ZDR-compliant provider without audit > provider with logging > free consumer products (which almost always train on your data). Move up the hierarchy as your privacy requirements increase.
The bottom line
OpenRouter’s one-click ZDR toggle is a genuine UX improvement that makes privacy the default instead of a configuration burden. It removes the “I meant to check the data policy but forgot” failure mode. That alone is worth using.
But it’s a tool, not a guarantee. Combine it with the practices above — stripping identifiers, knowing your provider’s policy, auditing usage — and you’ve got a solid privacy posture for AI tool usage. Skip those steps, and ZDR is a checkbox that makes you feel better without actually protecting much.