LLM prices per 1M tokens

264 models · 161 price changes

Cloudflare AI Gateway

Independent gateway · 5% on tokens · BYOK

Unverified

What it costs on real workloads

ModelThrough it
Claude Sonnet 5$420.00vs $400.00 direct
GPT-6 Sol$420.00vs $400.00 direct
Gemini 3.8 Flash$157.50vs $150.00 direct
GPT-6 Astra$2,100vs $2,000 direct
DeepSeek V4.1 FlashNot offered

100M input and 20M output tokens a month, paying with gateway credits. A dash: not on its model list.

Carries 62 of the models tracked here, from its own model catalog, checked Nov 9, 2026.

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 GatewayLiteLLMNeon AI GatewayVercel AI GatewayRequesty