AI Security

Is OpenRouter Safe? Prompt Logging, Data Retention, ZDR and the November 2026 Provider Incidents

OpenRouter does not store your prompts by default, but every request is handled by one of dozens of upstream providers with their own retention rules. This guide sets out what OpenRouter logs, how provider data policies and zero data retention filters work, what the provider incidents disclosed on 22 November 2026 actually said, what Hugging Face's move onto OpenRouter's router changes, and what to do when prompts must stay on your own infrastructure.

Is OpenRouter safe? As a service, yes: OpenRouter stores request metadata but not your prompts unless you opt in, and says it never trains on them. The risk is where each prompt goes next. Every request is served by one of more than 80 upstream providers with their own retention, and on 22 November 2026 OpenRouter dropped three providers after researchers showed leaks. Enforce zero data retention and pick providers yourself.

OpenRouter is a hosted API that puts hundreds of models from dozens of providers behind one key, one bill and one request format. That convenience is real, and the company publishes more about its data handling than most of its peers. The safety question is not whether OpenRouter is a scam. It is how many organisations see your prompt, and whether their promises hold.

That question became concrete this week. On 19 November 2026 researchers at Dragos published results from seeding about two million prompts with traceable secrets. On 22 November OpenRouter disclosed data processing incidents at several inference providers. Six days earlier, Hugging Face had moved the language-model traffic of its Inference Providers service onto OpenRouter’s router. This guide sets out what each of those sources says, as read on 23 November 2026, and which settings change the outcome. If you are writing the policy rather than the code, our AI agent governance and security handbook covers how to classify data before choosing a route for it.

Is OpenRouter safe? The short answer by use

UseVerdictWhy
Hobby projects, public data, model comparisonSafeOpenRouter keeps no prompt content by default
Free models with default settingsCheck your settingsSome free endpoints are run by providers that may retain or train on prompts
Business data with ZDR enforced and a provider allowlistReasonable, with residual riskPolicy filters work at routing time; they cannot verify what a provider does afterwards
Personal data under the GDPRBusiness or Enterprise plan with EU in-region routingRequests to eu.openrouter.ai are processed in Europe; account and billing data may be in the US
Credentials, secrets, source code with keys in itDo not sendResearchers showed secrets in prompts being stolen and used within hours
Regulated, classified or contractually ring-fenced dataSelf-hostEvery hosted route adds at least two organisations to the data path

Where your prompt goes when you call OpenRouter

A single request typically touches three parties:

  1. Your application or tool, which sends the request to OpenRouter with your key.
  2. OpenRouter, which decrypts it, applies your settings and picks an endpoint. By default, routing weighs effective price, throughput, time to first token, rate limits, reliability and tool-call quality, measured from recent traffic, and picks among the leading providers at random by weight. Follow-up turns stay with the same provider while its prompt cache is warm.
  3. The upstream provider, which runs the model. For a closed model that may be the model’s maker or a cloud platform such as Amazon Bedrock, Google Vertex or Azure. For an open-weight model it may be any of dozens of inference companies.

Each hop sees the full prompt and response. The Dragos research adds a fourth possibility: some providers and resellers forward traffic onward without disclosing it. Of the roughly 2,000 routes they traced, a handful reached a company that was not on the advertised path. One traced route from a reseller marketplace to Anthropic passed through OpenRouter itself, a hop the marketplace had not disclosed, which is a reminder that a tool can put you on a router without your knowing.

OpenRouter’s own controls apply at step 2. They decide which providers are eligible. They cannot see inside step 3.

Does OpenRouter log prompts?

OpenRouter’s data collection page and FAQ give a clear default: it stores metadata for every request, such as token counts and latency, and does not store prompts or responses, even when an error occurs. Within OpenRouter, content is stored in only three situations:

  • Private Input and Output Logging. An opt-in setting that keeps your prompts and completions in your own logs for debugging. OpenRouter says it does not access or use them. In an organisation, admins can view all logged data and members their own. Off by default.
  • OpenRouter use of inputs and outputs. An opt-in that lets OpenRouter use your data to improve the product, in exchange for a 1% discount on model usage. Off by default.
  • Child sexual abuse material screening. Since a policy change announced for 27 October 2026, OpenRouter screens all inference requests in flight, including zero-retention traffic, and may keep content flagged as potential CSAM for human review, reporting and legal preservation. It says this does not permit general retention or training.

The same page notes one endpoint-level exception: on Safety Retention endpoints, described below, OpenRouter or the provider may keep prompts and responses from any request to prevent abuse, which you can exclude with the “ZDR only” setting. It also states that OpenRouter has never sold or licensed prompt data.

Two smaller points complete the picture. OpenRouter samples a small number of prompts for categorisation to power its public rankings, stored anonymously unless you opted in to data use, and done by a zero-retention model. And its web chatroom keeps conversations in your browser, not on OpenRouter’s servers.

Watch for one opt-in that copies prompts elsewhere. Broadcast sends a trace of each request to a destination you configure; for the Hugging Face Storage Bucket destination added on 16 November, each trace file holds the input messages, the output, token counts and cost. That is useful for evaluation and fine-tuning, and it also creates a second store of your prompts that needs its own access controls.

The privacy policy, last updated 31 August 2026, states that OpenRouter does not use your inputs or outputs for model training, and says it may re-associate stored inputs with a user ID for debugging. With logging off there are no stored inputs to re-associate.

OpenRouter data retention: each provider sets its own

OpenRouter’s privacy policy is explicit that it does not control what providers do with inputs and outputs, and its documentation says each provider has its own logging and retention policy, which OpenRouter records as structured data on every endpoint. It sorts endpoints into three tiers.

TierWhat it meansTraining
Zero data retention (ZDR)No routine storage of prompts or responses after processing, apart from the CSAM exceptionNo
Safety RetentionOpenRouter or the provider may keep prompts and responses from any request, flagged or not, only to detect and prevent abuseNo
Retention and TrainingData may be stored and used for training under the provider’s policyPossibly

A few rules sit behind the table:

  • Unknown means worst case. If OpenRouter cannot establish a provider’s policy, it marks the endpoint as both retaining and training.
  • Endpoint beats provider. A provider’s general policy can differ from the policy on a specific endpoint, sometimes because OpenRouter has negotiated stricter terms. OpenRouter tracks the endpoint.
  • Google changed on 18 October 2026. Google models served through Vertex now require Safety Retention: prompts flagged by Google’s classifiers may be kept for up to 90 days for abuse monitoring, not for training. Those endpoints no longer meet a strict ZDR requirement.
  • Caching is not counted as retention. OpenRouter allows endpoints with implicit in-memory prompt caching under a ZDR policy.
  • Tools are outside the filter. ZDR enforcement applies to model inference only. Web search, web fetch and other plugins run on third-party services with their own policies, although OpenRouter rejects one search back end, Firecrawl, when ZDR is enforced.

To exclude providers that may train, set your account privacy settings accordingly, with separate switches for paid and free models, or send data_collection: "deny" in the request’s provider preferences. Note that OpenRouter’s pricing table lists data-policy-based routing for paid plans, not the Free plan, although its pricing FAQ says zero data retention routing is available on every plan.

OpenRouter zero data retention: the settings that enforce it

ZDR can be required at four levels, and they combine with an OR: if any of them is on, the request is restricted.

  1. Account privacy settings, with separate toggles for five model groups: Anthropic, OpenAI, Google, the group OpenRouter’s documentation calls SpaceXSI, and all other models. Turning one on removes that group’s non-ZDR endpoints; for Anthropic, the first-party endpoints are removed while Bedrock and Vertex remain, and for OpenAI, the first-party endpoints are removed while Azure remains.
  2. Guardrails attached to API keys or organisation members, with fields such as enforce_zdr_other and enforce_zdr_anthropic. A guardrail can only be stricter than the account.
  3. The per-request flag in provider preferences:
{
  "model": "deepseek/deepseek-v4.1-flash",
  "messages": [{ "role": "user", "content": "..." }],
  "provider": {
    "zdr": true,
    "data_collection": "deny",
    "only": ["nebius", "cloudflare"],
    "allow_fallbacks": false
  }
}
  1. Safety Retention choice. When ZDR is enforced you choose “ZDR only” or “Allow Safety Retention”, separately for Google models and for all other models. If you never choose, self-serve accounts allow Safety Retention and enterprise accounts default to ZDR only.

The per-request flag cannot switch off an account or guardrail rule; it can only add one. The current list of eligible endpoints is public at openrouter.ai/api/v1/endpoints/zdr. On 23 November 2026 it returned 928 entries, a count that includes Safety Retention endpoints. In the example, Nebius and Cloudflare were both on that list for DeepSeek V4.1 Flash on 23 November; provider lists change, so check the model’s page before pinning.

A ZDR label is OpenRouter’s classification of a provider’s stated policy, in some cases backed by special agreements with the provider. As the next section shows, it is not proof of what happens on the provider’s servers.

The November 2026 provider incidents: what was disclosed

What the Dragos research reported

On 19 November 2026 Dragos published research led by its chief research officer, HD Moore. Between July and November 2026 the team sent about two million prompts containing unique URLs and decoy credentials to widely used AI services, then watched which of those secrets were used. It reported three kinds of finding:

  • Compromised providers. Activity showing that data at at least three AI providers had been exposed, with decoy AWS keys from prompts used to probe accounts, sometimes within hours. In two of those cases, some of the stolen requests had been marked ZDR.
  • Marketplace resellers reading prompts. Sellers on an unnamed inference marketplace could see and keep customer prompts through ordinary request logging.
  • Policies not honoured. Cases where prompts sent to US providers reached a Chinese AI organisation, URLs were fetched months after a single request, and requests flagged as ZDR or “no data collection” were still scraped.

Dragos does not name the marketplace, and nothing in its post says OpenRouter was it.

What OpenRouter announced on 22 November

OpenRouter’s post says the findings showed no breach of, or unauthorised access to, OpenRouter itself, and concerned specific inference providers. It lists three actions:

  • It off-boarded three providers based on its investigations.
  • It removed 125 endpoints from ZDR eligibility, covering the providers the researchers flagged plus others removed as a precaution.
  • It notified all potentially affected customers.

It also says it is adapting the researchers’ testing so it can run the checks continuously, verifying network paths to find requests forwarded to third parties, and requiring assurances and validation before any removed endpoint regains ZDR status. The post does not name the off-boarded providers, the affected models, the number of customers notified or a date for restoring ZDR eligibility.

What the providers themselves have said

OpenRouter links four provider notices and says not every affected provider has published one.

ProviderWhat its notice says
Together AIAn unauthorised party downloaded stored prompt samples from a private repository after an AI coding agent committed a credential to a public repository. The samples came from MiniMax M3, GLM-5.2 and Kimi K2.6 requests, mainly on 24 June and 4, 8 and 14 July 2026. Together says it is making ZDR the default for new accounts
NovitaA routing configuration error sent some MiniMax requests to MiniMax’s official API instead of Novita’s own servers. Requests from 28 May to 11 November 2026 may have been accessed or kept by a third party, including requests that reached Novita through OpenRouter
PhalaAn attacker reached an inference deployment of DeepSeek V4 Flash 0731. Requests sent between 21 October 00:00 UTC and 8 November 05:35 UTC should be treated as exposed
Atlas CloudTesting showed a third party opened links from prompts sent to MiniMax’s official API, including MiniMax M3 and M2.7 traffic sent through Atlas Cloud. Atlas says it chose to take all its models off OpenRouter until each passes its own tests

What it means for you

If you sent requests through OpenRouter in the windows above, read any notice you received and rotate every credential, token or password that appeared in a prompt. Beyond that, three conclusions follow from the sources rather than from speculation:

  1. A privacy flag travels only as far as the first party that honours it. Most of these failures happened after the router had done its job.
  2. Secrets in prompts are the fastest-moving harm. Novita, Phala and Atlas Cloud tell customers to rotate or revoke exposed secrets, and Together reports that the attacker searched its leaked samples for credentials and tested them.
  3. Fewer hops means fewer chances. Pinning providers you have vetted, with fallbacks switched off, narrows exposure more than any setting that leaves the choice to price and speed.

Hugging Face now routes chat models through OpenRouter

On 16 November 2026 Hugging Face switched the language-model part of Inference Providers from its own router to OpenRouter’s. According to the announcements from both companies:

  • Scope. Chat and language models only, through the OpenAI Chat Completions and Responses APIs and Anthropic’s Messages API. Image, video and audio generation still go directly through Hugging Face. OpenRouter says 160 models from 38 labs are available this way.
  • Routing. OpenRouter picks the provider per request on live price, speed and reliability, retries on another provider when one fails, and accepts suffixes such as :fastest, :cheapest or a provider name.
  • Breaking change. Custom provider API keys no longer work for language models on Hugging Face.
  • Control. Users and organisations can switch off individual providers in their Hugging Face settings.

Neither announcement says anything new about retention or zero data retention. Hugging Face’s Inference Providers security page, as read on 23 November, still says Hugging Face does not store request bodies or responses and points to each provider’s policy, without mentioning the OpenRouter hop. If your team uses Hugging Face’s hosted inference for anything sensitive, treat it as an OpenRouter-routed service now and review which providers are switched on. Our separate review of Hugging Face’s hub, downloads and hosted inference covers the rest of the platform.

Does bringing your own key (BYOK) make OpenRouter safer?

Partly. With BYOK, OpenRouter stores your provider keys encrypted and uses them for requests to that provider, so the provider relationship, and any zero-retention terms you negotiated, is yours. What it does not change:

  • The request still passes through OpenRouter. BYOK changes who bills and whose contract applies at the provider, not the route.
  • Fallback can leave your key. Unless you set the key’s shared capacity fallback to never use shared capacity, OpenRouter may serve the request from its own pooled endpoints when your key fails or does not cover the model.
  • Your data policies still apply. A BYOK key does not exempt a provider from your data_collection restriction or from ZDR enforcement.
  • ZDR declarations are self-attested. You can declare that your own provider account has ZDR, which lets ZDR-enforced requests use that key. OpenRouter states that it does not check the declaration. The same applies to data-region declarations.

BYOK usage is free up to a monthly allowance and then charged at 5% of the normal model cost; the Pay-as-you-go and Business plans include $25,000 a month of list-price usage before the fee applies, and Enterprise allowances are custom.

OpenRouter enterprise controls: guardrails, regions and SSO

Guardrails are rule sets an organisation admin attaches to API keys or members. Each can combine a budget that resets daily, weekly or monthly, a model allowlist, a provider allowlist, ZDR per model group, a Safety Retention choice, allowed data regions, regex-based prompt-injection detection, detection and redaction of personal data, and custom regex filters. OpenRouter’s documentation warns that a guardrail enforces nothing until it is assigned.

In-region routing sends a request to eu.openrouter.ai or us.openrouter.ai, where it is decrypted in that region and routed only to provider endpoints there. Europe here means the EU and EEA, the UK and Switzerland. OpenRouter’s FAQ adds that account and billing data may still be stored or processed in the US.

What each plan includes, from OpenRouter’s pricing table on 23 November 2026:

ControlFreePay-as-you-goBusinessEnterprise
Data-policy-based routingNoYesYesYes
Budgets and spend controlsNoYesYesYes
EU and US in-region routingNoNoYesYes
Data processing agreementVia terms of serviceVia terms of serviceSigned copy on requestCustomisable
SSO and SAMLNoNoNoYes
Managed policy enforcement, contractual SLAsNoNoNoYes

How to use OpenRouter safely: a checklist

  1. Keep secrets out of prompts. Strip credentials, tokens and connection strings before they reach any model, especially from coding agents that read whole repositories.
  2. Leave prompt logging off unless you need it, and if you turn it on, limit who in the organisation can read the logs.
  3. Enforce ZDR in account settings for every model group you use, and choose “ZDR only” if abuse-monitoring retention is not acceptable.
  4. Exclude training providers for both paid and free models.
  5. Allowlist providers you have reviewed, using a guardrail or only, and set allow_fallbacks: false for sensitive workloads.
  6. Use one key per application, each with a budget and its own guardrail, so a leaked key has a limited blast radius.
  7. Use eu.openrouter.ai on a Business or Enterprise plan if prompts must stay in Europe.
  8. Review Broadcast destinations and plugins, which sit outside ZDR enforcement.
  9. Seed a decoy credential in a test prompt and alert on its use, the technique Dragos used.
  10. Read provider notices linked from OpenRouter’s announcement, and rotate anything that might have been exposed.

The on-premises alternative: self-hosted models behind your own router

The only route on which no outside organisation can read a prompt is one where the model runs on hardware you control. Dragos makes the same point and adds the obvious cost: capable hardware is expensive, so most teams reserve it for their most sensitive work.

A practical pattern keeps both options under one policy. Open-weight models such as Qwen, DeepSeek or Llama run on your own servers behind a self-hosted gateway, and a hosted router like OpenRouter remains available for approved, low-sensitivity requests. The gateway decides per request which path is allowed, and an air-gapped setting removes the hosted path entirely. Sizing the hardware is the first question; our VRAM calculator estimates memory for a given model and context length. For the gateway itself, we compare open-source and enterprise LLM gateways you can run yourself and the main AI gateway products side by side, and look at a desktop gateway that keeps your own keys and logins. The contractual side of zero retention across providers is covered in our explainer on zero data retention terms, and the same plan-by-plan question for a single vendor is answered in our review of ChatGPT’s confidentiality terms.

How VDF AI fits

VDF AI Router is a gateway that runs on your own VMs, Kubernetes or bare metal and exposes a REST API and Python SDK. It registers Ollama and other on-premises model deployments alongside cloud models and prefers local models when they are available. For cloud models it uses OpenRouter’s catalogue, so a request the router sends to a cloud model follows the OpenRouter and provider terms described above. VDF AI does not operate OpenRouter or the providers behind it.

What the router adds is the decision before anything leaves. Organisation-wide allow and deny lists and regulated-domain approvals apply before every call, so a regulated workload can be limited to approved local models. Workloads can be pinned to a named model. Air-gap mode disables external APIs entirely and keeps routing on local models. Each decision is returned with the selected model, a readable reason, ordered fallback candidates and per-model scores, which gives an audit record of where each request was allowed to go. Across the wider platform, role-based access control and audit logs come with every plan, and on-premises deployments use Microsoft Entra ID single sign-on. To discuss a deployment, book a demo or contact the team.

Sources

Primary documents and announcements, as retrieved on 23 November 2026.


Need prompts that never leave your network? See how VDF AI Router applies model policy and air-gap mode before any call, or talk to our team.

Frequently asked questions

Is OpenRouter safe to use?

OpenRouter is a legitimate, widely used API service, and its own policy is conservative: it stores request metadata, not prompt content, unless you opt in. The risk sits one step further on. Each request is served by an upstream provider with its own retention, and on 22 November 2026 OpenRouter removed three providers and pulled 125 endpoints from its zero-retention pool after researchers found leaks. It is safe for public or low-sensitivity work; for confidential data, enforce zero retention and choose the providers yourself.

Does OpenRouter log prompts?

Not by default. OpenRouter's documentation says it keeps metadata such as token counts and latency for every request, but stores prompts and completions only if you turn on private logging for your own debugging, or allow OpenRouter to use them for product improvement in exchange for a 1% discount. Both are off by default. Since late October 2026 it also screens all traffic for child sexual abuse material in flight and may keep flagged content for review and legal reporting.

Does OpenRouter train on my data?

OpenRouter's privacy policy, last updated 31 August 2026, says it does not use your inputs or outputs for model training. Some upstream providers do, under their own terms, and OpenRouter marks those endpoints. Your privacy settings decide whether requests may be routed to providers that train, with separate settings for paid and free models, and the per-request data_collection field set to deny excludes them for a single call. Check both before relying on free models for anything sensitive.

What is OpenRouter zero data retention?

Zero data retention, or ZDR, is OpenRouter's label for endpoints that do no routine storage of prompts or responses after processing, apart from screening for child abuse material. You can require it account-wide, per model group, through a guardrail attached to keys or members, or per request with provider.zdr set to true. A middle tier, Safety Retention, keeps data only for abuse monitoring, and you choose whether ZDR-enforced requests may use it. ZDR is a policy classification, not a technical guarantee.

Is OpenRouter safe for enterprise use?

It can be, for data your organisation has cleared for third-party processing. The Business and Enterprise plans add in-region routing through eu.openrouter.ai or us.openrouter.ai, data-region guardrails and a signed data processing agreement, and Enterprise adds SSO, contractual SLAs and managed policy enforcement. Guardrails can cap budgets, allowlist models and providers, enforce ZDR and redact personal data. What no plan changes is that prompts pass through OpenRouter and a provider, so air-gapped or strictly on-premises workloads need self-hosted models.

Is OpenRouter safe to pay with a credit card?

OpenRouter takes major credit cards through Stripe, as well as AliPay and USDC cryptocurrency, which carries a 5% fee. Paying for credits is an ordinary card transaction, and its FAQ says unused credits can be refunded only if you ask within 24 hours of purchase. The bigger security questions are about your API keys and your prompts: keep keys out of code repositories, give each application its own key with a budget, and rotate any key that leaks.

Filed under
OpenRouterAI securityLLM gatewayzero data retentiondata sovereigntyAI governance
AI Governance

Is your AI governance audit-ready?

Get a readiness review of your AI controls — policy, oversight, audit trails, and EU AI Act evidence — mapped against what production actually requires.

Keep reading