The Continuity Layer
Tools · Routers

Cloudflare AI Gateway

thecontinuitylayer.com/tools/routers/cloudflare-ai-gateway

Developers who already use their own provider keys and want caching, logs and spend limits for free

Gateway · Cloudflare

Cloudflare AI Gateway sits between your app and the AI providers you already use. It adds analytics, caching, rate limiting and logs, and you can keep your own provider keys. Optional Unified Billing lets you prepay Cloudflare and get one bill for several major providers and Workers AI.

The core gateway is free. For accounts that created their first gateway before September 24, 2026, the free Workers plan stores up to 100,000 logs across all gateways and the paid plan 10,000,000 per gateway. Unified Billing adds 5% to credit purchases, so $100 of credit costs $105. It is less of a model marketplace than OpenRouter: it mainly adds controls to providers you choose yourself.

Specs

FeesCore features free on all plans; 5% fee on credits bought through Unified Billing; no token markup
Routes toProxies 20+ AI providers and Workers AI with caching, rate limits and logs
Core featuresFree on all plans
Unified Billing fee5% on credit purchases
Free plan logs100,000 total across gateways (older accounts)
Paid plan logs10,000,000 per gateway (older accounts)
Providers20+ plus Workers AI
HostingHosted only

Good for

  • Free caching and logging over your own keys
  • Spend limits and rate limits

Not for

  • Browsing a large catalog of open models
  • Self-hosting

See also

  • OpenRouter · Anyone who wants one key and one bill for most popular and open models
  • Requesty · Builders who want an OpenRouter-style router with routing and spend controls
  • Kilo Gateway · Developers, especially Kilo Code users, who want provider prices with no markup

All 8 routers entries →

We last reviewed Cloudflare AI Gateway on 31 October 2026. Prices and specs change; check developers.cloudflare.com before you buy or sign up. Figures we could not confirm on the vendor's own page read “not published” or “varies”.

Vendor source: https://developers.cloudflare.com/ai-gateway/reference/pricing/

Go to Cloudflare AI Gateway ↗