Cloudflare AI Gateway
Independent gateway · 5% on tokens · BYOK · checked Sep 23, 2026
What it costs on real workloads
| Model | Direct | Through it |
|---|---|---|
| $400.00 | $420.00vs $400.00 direct | |
| $400.00 | $420.00vs $400.00 direct | |
| $150.00 | $157.50vs $150.00 direct | |
| $27.00 | $28.35vs $27.00 direct |
100M input and 20M output tokens a month, paying with gateway credits.
About Cloudflare AI Gateway
Cloudflare proxy for AI provider APIs that adds analytics, logging, caching, rate limiting, retries and model fallbacks.
- Fee on tokens
- 5%
- Pricing model
- Core features free; 5% fee on Unified Billing credits
- Bring your own key
- Yes, fee not stated
- Entry plan
- Workers Paid
- Hosting
- Hosted
Features stated: Fallbacks, Caching, Guardrails, Observability, Rate limits, OpenAI-compatible, Bring your own key. Not stated: Load balancing, Budgets, Prompts, Data residency, Private networking.
The terms, in their words
- Markup
- Core features free. Provider inference passes through without markup; 5% fee on credits purchased through Unified Billing. BYOK/direct passthrough fee not stated.
- Free tier
- Core features (analytics, caching, rate limiting) free; Workers Free: 100,000 logs across all gateways
- Providers
- Multiple providers incl. Workers AI, Anthropic, Google Gemini, OpenAI, Replicate (count not stated)
- A 5% fee is applied to all credits purchased through Unified Billing.
- Workers Free: 100,000 logs across all gateways; Workers Paid: 10,000,000 logs per gateway
- Logpush: 10 million / month, +$0.05/million
Source: developers.cloudflare.com/ai-gateway/reference/pricing/
Cloudflare, Inc., is an American technology company headquartered in San Francisco, California, that provides a range of internet services, including content delivery network (CDN) services, cloud cybersecurity, DDoS mitigation, and ICANN-accredited domain registration.
Cloudflare AI Gateway vsHeliconeKong AI GatewayLiteLLMVercel AI GatewayRequestyEden AI
Pricing as read from the gateway's own pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.