AP
Agent Provider Depot
Opinionated picks for agents
OpenAPI
← Compare hub

Cloudflare AI Gateway vs Portkey

Agent-native side-by-side. Scores are curated estimates on a 0–10 scale. Lock-in: higher = worse. Prefer JTBD picks via /api/decide when choosing for a job.

DimensionCloudflare AI GatewayPortkey
Overall8.48.3
Capability fit8.08.8
Price / performance9.48.2
Latency / reliability9.08.6
Developer & agent DX8.29.0
Privacy / data retention8.88.2
Lock-in risk (higher = worse)4.05.0
Maturity / track record8.48.2
PricingAs of 2026-09-14 (developers.cloudflare.com/ai-gateway/reference/pricing, updated 2026-05-19): Core gateway (analytics, caching, rate limiting, DLP profiles) free on all Cloudflare plans. Persistent logs: Workers Free 10…As of 2026-09-14 (portkey.ai/pricing): Developer free forever (10k logs/mo, 3-day log / 30-day metrics retention). Production $49/mo (100k logs, +$9/100k overage, 30/90-day retention, guardrails, RBAC). Enterprise custom…
TaglineFree edge gateway peer to Portkey/OpenRouter. Depot llm-ai-gateway pick stays Portkey for virtual…Depot pick for production AI gateway (fallbacks, virtual keys, budgets). OpenRouter when you want a model…

Cloudflare AI Gateway

Free edge gateway peer to Portkey/OpenRouter. Depot llm-ai-gateway pick stays Portkey for virtual keys/fallbacks/budgets; use CF AI Gateway when already on Workers and want $0 analytics+cache. Strengths: Free core multi-provider gateway on any CF account; Edge caching/rate limits + DLP/guardrails hooks; BYOK avoids the

Strengths

  • Free core multi-provider gateway on any CF account
  • Edge caching/rate limits + DLP/guardrails hooks
  • BYOK avoids the 5% Unified Billing tax

Weaknesses

  • Deeper virtual-key/budget/guardrail UX still trails Portkey
  • Log retention tied to Workers plan limits
  • Unified Billing 5% surcharge if you buy credits through CF
GET /api/providers/cloudflare-ai-gateway

Portkey

Depot pick for production AI gateway (fallbacks, virtual keys, budgets). OpenRouter when you want a model catalog/router; Helicone for request-path cost traces; Prisma AIRS when already in Palo Alto estate. Strengths: Universal API + fallbacks/load-balance/retries; Obs + prompt mgmt + guardrails in one; OSS self-host o

Strengths

  • Universal API + fallbacks/load-balance/retries
  • Obs + prompt mgmt + guardrails in one
  • OSS self-host option

Weaknesses

  • Acqui/packaging drift into Prisma AIRS
  • Not a model marketplace like OpenRouter
  • Log caps on cheap tiers
GET /api/providers/portkey

More pairs: anthropic-vs-openai · openai-vs-google-ai · groq-vs-fireworks · fireworks-vs-together · qdrant-vs-pinecone · pinecone-vs-supabase-pgvector · e2b-vs-modal · browserbase-vs-firecrawl