vs

Cloudflare AI Gateway vs Portkey: Which is Better in 2026?

AI Gateways & LLM Proxies

Choosing between Cloudflare AI Gateway and Portkey? Both are popular ai gateways & llm proxies tools. Below we compare them on pricing, free tiers, features, and pros & cons so you can pick the right fit for your stack.

Quick verdict

Both are solid ai gateways & llm proxies options. Cloudflare AI Gateway is cheaper to start, but the right choice depends on the specific features and integrations you need.

Cloudflare AI Gateway vs Portkey — Side by Side

Cloudflare AI GatewayPortkey
CategoryAI Gateways & LLM ProxiesAI Gateways & LLM Proxies
PricingFree · paid from $5/moFree · paid from $49/mo
Starting priceFree tier availableFree tier available
Free tier
Rating4.44.5
Best forAI Gateways & LLM Proxies — caching, rate-limitingAI Gateways & LLM Proxies — llm-routing, observability

Pros & Cons

  • Core features are free
  • Runs on Cloudflare's global edge
  • Nothing to host
  • No per-team virtual keys or budgets like LiteLLM
  • Log pricing changed for gateways made after Sep 24 2026
  • Guardrails billed as extra inference
  • Gateway and observability in one product
  • Open-source gateway you can self-host
  • Guardrails and semantic caching
  • Free plan keeps logs for only 3 days
  • Log-based pricing grows with traffic
  • Private deployment is Enterprise-only

Key Features Compared

Cloudflare AI Gateway

  • Analytics, caching and rate limiting
  • Works with your own provider keys
  • DLP scanning

Portkey

  • 100K recorded logs / month
  • Semantic caching
  • RBAC and alerts
  • 30-day log retention

Choose Cloudflare AI Gateway if…

  • You want a free tier to validate before paying.
  • Budget is tight — paid plans start lower ($5/mo vs $49/mo).
  • Core features are free
  • Runs on Cloudflare's global edge

Choose Portkey if…

  • You want a free tier to validate before paying.
  • Gateway and observability in one product
  • Open-source gateway you can self-host
  • Guardrails and semantic caching

Frequently Asked Questions

Is Cloudflare AI Gateway better than Portkey?⌄

Both are solid ai gateways & llm proxies options. Cloudflare AI Gateway is cheaper to start, but the right choice depends on the specific features and integrations you need.

What is the difference between Cloudflare AI Gateway and Portkey?⌄

Cloudflare AI Gateway — Free AI gateway on Cloudflare's network: analytics, caching, rate limiting and fallbacks in front of any model provider. Portkey — AI gateway with built-in observability: route to any model with fallbacks, caching and guardrails, then trace every request. Both are ai gateways & llm proxies tools; the comparison table above breaks down pricing, free tiers, and what each is best for.

Cloudflare AI Gateway vs Portkey: which is cheaper?⌄

Cloudflare AI Gateway pricing: Free · paid from $5/mo. Portkey pricing: Free · paid from $49/mo. Confirm current pricing on each tool's official site, as plans change.

Which is rated higher, Cloudflare AI Gateway or Portkey?⌄

In our catalog, Cloudflare AI Gateway rates 4.4 out of 5 and Portkey rates 4.5 out of 5, so Portkey has a slight edge on reviews.

See more options in our guide to the best ai gateways & llm proxies tools for startups.

In-depth guideOpenRouter vs LiteLLM (2026): Hosted AI Gateway vs Open-Source LLM ProxyOpenRouter is a hosted service: one key, 500+ models, a 5.5% fee on credits. LiteLLM is MIT-licensed software you run yourself, with virtual keys and budgets per team. How each works, what the gateway costs at three spend levels, and why this site runs on OpenRouter.

Still not sure which to pick?

Get a free, AI-powered tech stack — including the best ai gateways & llm proxies pick for your budget and team — in 60 seconds.

Build my stack free