Skip to content
Agents tracked: 302 Downloads (7d): 239M down 5.7% GitHub stars: 6.4M VS Code installs: 151M Releases (7d): 342 Agent status: 2 with issues Updated Oct 9, 2026

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...
Real-world use
1 repos
public repos set up for AI agents that use its SDK · see
SDK downloads
251K
npm ai-gateway-provider
Status
Partial System Outage
42 incidents in 30 days

Pricing

Free tierCore features (analytics, caching, rate limiting) free on all plans
Cheapest paid plan—
Usage priceUnified Billing: 5% fee on credits purchased; provider inference passed through with no markup
Good to knowGateways 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 serverOfficial: https://ai-gateway.mcp.cloudflare.com/mcp
npmnpm install ai-gateway-provider
GitHubcloudflare/ai · 1,189 stars · last push Sep 11, 2026

Alternatives to Cloudflare AI Gateway

All llm gateways and routers

APIFreePrice SDK downloads / wkGitHub starsMCP
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
Is Cloudflare AI Gateway right for you? Ask AgentGid →