查看中文版 →

Deutsche Version ansehen →

Открыть русскую версию →

Ver versión en español →

Log in
Blog · Setup guides

OpenRouter Purged 3 Providers and 125 ZDR Endpoints

Dragos canary tests exposed downstream prompt capture across inference marketplaces. Here is what failed, how to lock down OpenRouter routing, and what Auto Code Router and 44x token growth mean for coding agents.

On November 22, 2026, OpenRouter off-boarded 3 inference providers and revoked Zero Data Retention (ZDR) eligibility from 125 endpoints after Dragos canary testing revealed prompt capture and undisclosed forwarding downstream. OpenRouter's own infrastructure was not breached, but the incident exposes a structural blind spot in open inference marketplaces—right as agentic coding drives 76% of platform volume and OpenRouter rolls out its 11-factor Auto Code Router.

Late November 2026 delivered a sharp contrast for teams running coding agents through model routers. Within a single two-week window, OpenRouter shipped its rebuilt Auto Code Router (openrouter/auto-code), opened an alpha Extractions API, published data showing 44x year-to-date token growth, and had to pull 125 endpoints out of ZDR eligibility after industrial security firm Dragos published five months of canary-token research.

Taken together, these announcements highlight a split that engineering teams can no longer ignore: model routing (picking the best model per turn) is advancing rapidly, while provider routing (controlling which organizations physically see your prompts) remains a supply-chain risk unless you lock it down explicitly.

What happened in the Dragos report and OpenRouter purge

Between July and November 2026, Dragos Chief Research Officer HD Moore and his team sent roughly 2 million test prompts seeded with unique tracking URLs and decoy credentials—including live AWS keys tied to empty, fully logged honeypot accounts—across major AI inference services. Using image-callback URLs and intentionally malformed requests that return nested error envelopes, Dragos also traced about 2,000 inference routes to map hidden hops.

In its November 19 report, Dragos documented three distinct failure modes:

  • Compromised upstream hosts: Canary credentials from at least three AI providers triggered real login and access attempts against Dragos test systems
  • Marketplace reseller logging: Multiple resellers operating inside open inference marketplaces viewed and retained customer prompts through standard request logging, without exploiting any platform vulnerability
  • Broken privacy and residency promises: Prompts sent to U.S.-based hosts were silently forwarded overseas; at one AI lab, roughly two-thirds of prompts marked ZDR or "no data collection" had their embedded URLs fetched two to three days later, and one seeded link surfaced inside an internal company chat

Three days later, on November 22, OpenRouter published its incident response. OpenRouter confirmed that its own systems were never breached, and took three immediate steps:

  • Off-boarded 3 inference providers based on investigation findings
  • Revoked ZDR eligibility for 125 endpoints, covering both researcher-flagged providers and additional endpoints pulled as a precaution
  • Notified all potentially affected customers and began integrating automated canary checks and network-path verification before any removed endpoint can regain ZDR status

Several upstream providers—including Atlas Cloud, GMI Cloud, MiniMax, Novita, Phala, Prime Intellect, StreamLake, and Together AI—published individual advisories detailing causes ranging from compromised GPU hosts to misconfigured request forwarding and temporary model substitution.

Why open marketplace routing creates a supply-chain blind spot

In our view, the core takeaway is not that OpenRouter had a software bug—it is that price-sorted, multi-hop inference marketplaces have an inherent trust-boundary problem.

When a router acts as an open marketplace, the lowest-cost host often wins the request by default. As Dragos noted, some low-cost sellers run on pooled consumer subscriptions, promotional credits, or nested sub-routers that never appear in the gateway's UI. In Dragos's route traces, several hundred paths passed through unidentifiable intermediaries, one reseller silently injected roughly 1,000 hidden tokens into every prompt, and another fetched images through a shared consumer account.

A ZDR flag on a marketplace gateway only binds the first hop by contract. Once a prompt leaves the gateway and hits a third-party host—or gets forwarded to an undisclosed sub-provider—enforcement depends entirely on that downstream operator's security hygiene and honesty.

That risk is magnified for coding agents. A casual chat prompt rarely carries production secrets, whereas a coding harness routinely ships repository source files, database schemas, .env fragments, stack traces, and tool outputs on every turn. One unvetted hop or silent fallback during an outage turns a routine refactor into a credential leak.

How to audit and harden your OpenRouter config

If your team stays on OpenRouter, do not rely on default routing for proprietary code or internal workloads. Per OpenRouter's provider routing documentation, data_collection defaults to "allow" and allow_fallbacks defaults to true—meaning a primary provider outage can quietly reroute sensitive traffic to a backup host you never vetted.

Add an explicit provider block to every sensitive API request so that ZDR, zero data collection, provider allowlisting, and strict fallback blocking are enforced together:

openrouter-hardened-request.json
{  "model": "anthropic/claude-sonnet-5-5",  "messages": [    {      "role": "user",      "content": "Review auth/session.ts for token expiration edge cases."    }  ],  "provider": {    "zdr": true,    "data_collection": "deny",    "only": ["anthropic"],    "allow_fallbacks": false  }}

Four checks to run alongside this config:

  • Pin only to first-party or contractually vetted slugs: For frontier models, restrict only to the model vendor or your own BYOK cloud endpoints (such as Bedrock or Vertex) rather than third-party resellers
  • Set allow_fallbacks: false: A failed request that triggers your own retry logic is safer than an undocumented failover to a lower-tier host
  • Mirror the policy at the account and guardrail level: Configure ZDR and provider allowlists in OpenRouter workspace guardrails so individual scripts cannot omit the provider object
  • Log the response provider field: Record which upstream actually served each call and alert if an unexpected slug appears

Auto Code Router, Extractions API, and the 44x token surge

The timing of the ZDR purge is striking because OpenRouter's product and usage metrics in November 2026 show just how fast the platform is scaling for developer workloads.

Auto Code Router (openrouter/auto-code)

On November 6, OpenRouter rebuilt its routing engine after three years of operating Auto Router (which processes over 2.5 trillion tokens per month from more than 100,000 users) and launched Auto Code specifically for coding agents.

Compared to the previous generation, the rebuilt router delivers up to 4x higher benchmark gains and cuts p90 routing latency by 3x (0.65s down from 1.96s). Instead of relying on coarse task labels, a fast decision model scores 11 factors per request—including task type, mid-session task shifts, difficulty, latency sensitivity, vision or codebase context needs, and whether a larger model, higher reasoning effort, or cheaper tier fits best—and pairs those scores with live pricing, provider health, and prompt cache state.

Auto Code tunes that engine specifically for coding harnesses: it starts in a higher-tier pool of coding models, weights latency more heavily, penalizes failed turns aggressively, and prefers adjusting reasoning effort over switching models so your prompt cache stays warm. Across five benchmarks (Deep SWE, SWE-Atlas QA, Terminal Bench 4.0, τ³-bench Banking, and MMMU Pro Vision), OpenRouter reports that Auto Code matches Claude Opus 5.5 accuracy at 74% lower cost per task.

Terminal
curl https://openrouter.ai/api/v1/chat/completions \  -H "Authorization: Bearer $OPENROUTER_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "openrouter/auto-code",    "messages": [{"role": "user", "content": "Add exponential backoff to fetchUser in api/users.ts"}],    "provider": {      "zdr": true,      "data_collection": "deny",      "allow_fallbacks": false    }  }'

Notice that model routing and provider routing remain separate layers: openrouter/auto-code picks the model, and your provider constraints restrict which upstream hosts are allowed to serve it.

Extractions API (alpha)

Four days later, on November 10, OpenRouter introduced the Extractions API (/api/alpha/extractions) with launch models from Cloudflare (cloudflare/clairic), Inception, and ScaleDown (scaledown/extract). Rather than prompting a chat model to emit JSON and hoping it parses cleanly, you send a document (state or image/PDF assets) plus typed fields (text, number, date, list, duration, estimate, forecast) and receive typed values with character span offsets, confidence, and p_null scores—making it straightforward to route low-confidence fields to human review.

44x token growth vs. flattening spend

Then on November 26, OpenRouter published its Jevons Paradox analysis of paid platform traffic in 2026:

  • 44x YTD token growth paired with an 83% drop in average price per token
  • 7.6x YTD spend growth, but total spend has been roughly flat since early October even as tokens keep growing about 39% month-over-month
  • Token elasticity dropped from 5.4 in Q1 and 5.5 in Q2 to 1.6 in Q3 and 1.2 in Q4 (through November 16), hovering just above the 1.0 line where price cuts translate into more output rather than bigger invoices
  • 76% of platform token volume now comes from agentic API keys (up from 8% a year earlier), led by multi-step coding agents

In our view, this metric explains both OpenRouter's product strategy and why billing architecture matters now. Coding agents burn enormous token volumes, yet engineering budgets are no longer expanding linearly with token counts. Teams want high-volume agent throughput without babysitting open-ended pay-as-you-go bills or auditing dozens of unknown inference resellers.

OpenRouter vs. direct APIs vs. CodingPass

Choosing an inference layer in late 2026 comes down to three distinct architectures.

Comparison of OpenRouter, direct first-party APIs, and CodingPass
DimensionOpenRouter (marketplace router)Direct first-party APIsCodingPass (curated gateway)
Supply chain & hopsMulti-provider marketplace (600+ models); requires explicit only, zdr, and allow_fallbacks: false to avoid resellersSingle-hop direct to model vendor (Anthropic, OpenAI, Google)Curated vendor-rate channels; no open third-party reseller auction
Data handlingVaries by endpoint; 125 endpoints lost ZDR status on Nov 22, 2026Governed by vendor API terms and enterprise DPAMetadata-only logging; prompts, code, and outputs are not stored (Security)
Model selection600+ models plus dynamic openrouter/auto-code routingLocked to one vendor per account and keyCurated coding lineup (Claude, GPT, Gemini, Grok, and open-weight models) on one key (Models)
Billing modelPay-as-you-go credits; uncapped unless workspace spend limits are configuredPay-as-you-go at list price; runaway agent loops can spike billsFixed monthly plan starting at $10/mo (Go includes $60 allowance metered at official API rates)
Overage behaviorDraws down balance or auto-top-up until budget cap hitsCharges continue unless hard monthly limits are set per vendorBlocks before upstream with HTTP 429 and exact reset time; no surprise charges

Which setup fits your workflow

Scenario decision table for choosing between OpenRouter, direct APIs, and CodingPass
Workload / scenarioRecommended choiceReason or trade-off
Regulated enterprise with strict DPA & single-vendor complianceDirect first-party APIs (or Bedrock / Vertex)Shortest legal and network path; you trade multi-model convenience and pay full list rates
Experimenting across 600+ models or using Auto Code / Extractions APIOpenRouter with hardened provider configBest catalog breadth and dynamic routing; enforce zdr: true, only, and allow_fallbacks: false on every workspace
Daily coding agents (Claude Code, OpenCode, Cline) with a fixed monthly budgetCodingPass (Go / Plus / Pro)One key for Claude, GPT, and open-weight models, no reseller auction, and hard 429 caps instead of runaway bills
High-volume CI or batch jobs that cannot pause on 5-hour windowsDirect first-party APIs or hardened OpenRouterFixed-allowance plans enforce 5-hour and weekly caps (Usage limits); uncapped pay-as-you-go suits bursty pipelines

If your main goal is running Claude Code or OpenCode every day without auditing third-party inference resellers or worrying about an overnight agent loop draining your card, a curated fixed-allowance gateway removes both failure modes in one step.

Frequently asked questions

Does setting zdr: true on OpenRouter guarantee my prompts never leave the primary provider?

No. zdr: true restricts routing to endpoints currently marked ZDR-eligible in OpenRouter's catalog, which is a contractual and verification filter rather than a cryptographic boundary. As the November 2026 Dragos report showed, compromised hosts or undisclosed downstream forwarding can still violate ZDR unless you pair zdr: true with data_collection: "deny", an explicit only allowlist of first-party providers, and allow_fallbacks: false.

Can I use openrouter/auto-code with ZDR and provider allowlists enabled?

Yes. OpenRouter evaluates your governance policies—guardrails, ZDR requirements, only / ignore provider filters, and BYOK keys—before the Auto Code router scores the remaining candidate models. Keep in mind that narrowing the provider list also narrows the model pool Auto Code can pick from.

How does CodingPass avoid the multi-hop reseller risk uncovered by Dragos?

CodingPass does not operate an open inference marketplace or route requests to the lowest-bidding third-party reseller. Requests run through curated vendor-rate channels, prompts and code are never stored, and usage is metered against a fixed monthly allowance with clear 5-hour and weekly caps. Full details are on the Security page.

Boarding

Curated routing. Fixed monthly bill.

One key for Claude, GPT, and open-weight models with no open reseller auction. Metadata-only logging, no surprise charges.

  • Request ID on every response
  • Full refund if you've used 5% or less
  • No surprise charges
Choose GoView plans

$10/mo until you cancel.