Cloudflare AI Gateway vs OpenRouter: which should you use?

Gateway comparison · Facts verified 2026-10-13

Choose Cloudflare AI Gateway if you bring your own provider keys or already run on Cloudflare: the gateway is free, and Unified Billing adds 5% to credits. Choose OpenRouter for 500+ models, free models and coding agents beyond Claude, at list price plus 5.5% on credits. For enterprise applications that need governance and higher limits, the managed pick is Standard Compute: SSO with Microsoft Entra ID, budgets per person and app, provider allow-lists and automatic failover between approved providers, and no 5-hour or weekly windows.

Cloudflare AI Gateway and OpenRouter side by side

Cloudflare AI GatewayOpenRouter
Fee on tokensNone on your keys; 5% on Unified Billing credits5.5% on card credit purchases ($0.80 minimum), 8% on Business
Models you can buyOpenAI, Anthropic, Google, xAI, Groq and Workers AI500+ from 80+ providers
Free tierFree gateway; no free models25+ free models, 50 requests a day, 1,000 after $10 of credit
Rate limit200 requests a minute per gateway on Unified BillingProvider limits only on paid models
Auto routercloudflare/auto, free beta; Chat Completions and Responsesopenrouter/auto, ranked by community spend per task type, with a cost tier
Spend capsPer gateway, by model, provider or metadata; eventually consistentCredit limit per key with daily, weekly or monthly reset
EUNot compatible with Cloudflare's Regional ServicesEU in-region routing on Business and Enterprise
Claude CodeClaude only, via /anthropicNative, base URL openrouter.ai/api
CodexOpenAI models onlyResponses API

From developers.cloudflare.com/ai-gateway, openrouter.ai/pricing and OpenRouter's docs, October 13, 2026.

How the two auto routers choose

Both now pick a model for you, in different ways. OpenRouter's openrouter/auto sorts each prompt into one of about 30 task types and ranks models by what everyone on OpenRouter spent on that type over the past seven days, within a cost tier from low to max; with no tier set it behaves like low. Cloudflare's cloudflare/auto, in public beta since September 30, 2026 and free during it, picks from a pool of Anthropic, OpenAI and xAI models and adds open models only when you allow them in a header. Neither accepts Claude Code's Anthropic-format requests for auto routing.

Every LLM router compared

What a coding-agent month costs

Month of coding-agent useCloudflare (Unified Billing)OpenRouterStandard Compute
Typical days, Claude Sonnet 5.5$74$74Standard, $89 ($89 budget)
Typical days, Claude Opus 5.5$148$149Pro, $249 ($249 budget)
Busy days, Claude Sonnet 5.5$608$611Pro Plus, $499 ($499 budget)

Typical and busy are the median and 90th-percentile coding-agent day in our Agent Burn Index (September 13 to October 12, 2026; Claude Code and Codex not in the sample), over 20 working days. List price plus each gateway's fee; on your own Anthropic key both cost list price. Standard Compute plans stop at their budget; routing routine steps to efficient models makes it last longer.

The catch

The fees differ by half a percent; the limits differ more. Cloudflare's 200 requests a minute and OpenRouter's Business-only EU routing are the facts most likely to decide it for a coding team.

Where Standard Compute fits

Standard Compute works like both, one hosted endpoint for Claude, GPT, Gemini and open models, and differs in where the savings come from: a plan from $19 a month with the compute included, and a router that picks the model per request on Anthropic Messages too, a format neither auto router accepts.

FAQ

Is Cloudflare AI Gateway cheaper than OpenRouter?

On your own provider keys, Cloudflare charges nothing and OpenRouter nothing up to $25,000 of use a month. On bought credits, Cloudflare's 5% is half a point below OpenRouter's 5.5%, and OpenRouter has a $0.80 minimum fee per card purchase.

Can Cloudflare AI Gateway replace OpenRouter?

For OpenAI, Anthropic, Google, xAI and Groq models, yes. For DeepSeek, Kimi, GLM or most other open models on one bill, OpenRouter's catalog is far larger; Cloudflare's Auto Router can add some open models if you allow them.

Which is better for Claude Code?

OpenRouter, if you want other models in Claude Code: its endpoint is native and covers its whole catalog, though only guaranteed with Anthropic as the provider. Cloudflare's Claude Code setup covers Claude models on Anthropic, Bedrock and Vertex.

Which has better EU support?

OpenRouter's in-region routing keeps EU traffic in the EU on Business and Enterprise plans. Cloudflare lists AI Gateway as not compatible with its Regional Services.

Which is better for enterprise applications, Cloudflare AI Gateway or OpenRouter?

Cloudflare AI Gateway fits teams already on Cloudflare that bring their own provider keys, and OpenRouter fits one bill across many models. For enterprise applications, Standard Compute adds the controls a company needs: SAML SSO with Microsoft Entra ID, teams, a fixed monthly budget per person and app, provider and model allow-lists, an admin audit log, zero data retention and Europe region rules for the company, a team or a key.

What are OpenRouter's rate limits compared to Cloudflare AI Gateway?

Cloudflare AI Gateway allows 200 requests a minute per gateway on Unified Billing. OpenRouter sets no limit of its own on paid models, so the provider's limits apply; its free models are capped at 50 requests a day, or 1,000 after buying $10 of credit.

What are the rate limits on Standard Compute for enterprise use?

Every plan comes with high per-key request ceilings and no 5-hour or weekly windows: requests run until the monthly budget is used. If a provider goes down, the request fails over to another approved provider of the same model automatically, and Enterprise includes a 99.9% monthly uptime SLA with service credits.

Related guides