Cloudflare AI Gateway by Cloudflare
Proxy for LLM providers adding analytics, caching, rate limiting, logging and unified billing.
LLM gateways and routers Official MCP server
Price
Free plan
list price
Free tier
Yes
Core features (analytics, caching, rate limiting) free...
SDK downloads
251K
npm ai-gateway-provider
Status
Partial System Outage
42 incidents in 30 days
Pricing
| Free tier | Core features (analytics, caching, rate limiting) free on all plans |
|---|---|
| Cheapest paid plan | — |
| Usage price | Unified Billing: 5% fee on credits purchased; provider inference passed through with no markup |
| Good to know | Gateways created on or after 2026-09-24 use Workers Logs pricing and retention for logs. Logpush needs Workers Paid (10M requests/month, then $0.05 per million). Guardrails billed as Workers AI inference. DLP free. |
From the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy.
Use it from an agent
| MCP server | Official: https://ai-gateway.mcp.cloudflare.com/mcp |
|---|---|
| npm | npm install ai-gateway-provider |
| GitHub | cloudflare/ai · 1,189 stars · last push Sep 11, 2026 |
Alternatives to Cloudflare AI Gateway
| API | Free | Price | SDK downloads / wk | GitHub stars | MCP |
|---|---|---|---|---|---|
| Vercel AI Gateway Unified API to hundreds of models with provider fallbacks, billed at provider list prices. |
$5/month of AI Gateway credits (free-tier... | Free plan then Provider list price per token, zero markup and no... |
27.7M | 27.2K | |
| LiteLLM Open-source proxy and SDK that calls 100+ LLMs in OpenAI format with keys, budgets and logging. |
Open-source gateway free to self-host | Free plan | 22.9M | 60.5K | |
| OpenRouter One OpenAI-compatible API for 500+ models across 80+ providers with routing and fallbacks. |
25+ free models, 50 requests/day | Free plan then Provider list price per token (no markup); fee on credit... |
1.3M | 262 | MCP |
| Portkey AI gateway with routing, fallbacks, caching, guardrails, prompt management and observability. |
Developer: 10k recorded logs/month, 3-day... | Free plan · paid from $49/mo | 925K | 13.2K | |
| Helicone Open-source LLM observability platform and AI gateway with caching, rate limits and fallbacks. |
Hobby: 10,000 requests/month, 1 GB storage, 1 seat | Free plan · paid from $79/mo | 2,989 | 6,210 | MCP |