b stack radar

Cloudflare AI Gateway vs Portkey (2026): Pricing, Features & Verdict

Portkey is our pick, scoring 7.8/10 against 6.8/10 for Cloudflare AI Gateway on our AI Software criteria. Its biggest advantage: higher Analytics score (9/10 vs 6/10). For 10 users, Cloudflare AI Gateway and Portkey are both free; both Cloudflare AI Gateway and Portkey have a free plan.

Last updated: November 2026

C

Cloudflare AI Gateway

6.8/10

Managed edge proxy for LLM API traffic. It adds caching, rate limiting, analytics, logging, routing and fallbacks for apps that call AI providers.

Portkey logo

Portkey

7.8/10

Winner

Portkey is an AI gateway and LLMOps control plane that routes, monitors, and governs requests to 1,600+ LLMs for engineering teams and enterprises.

Feature-by-Feature Comparison

Feature
C
Cloudflare AI Gateway
Portkey logo
Portkey
Scores
Overall Rating6.8/107.8/10
Ease of Use8/108/10
Analytics6/109/10
Cost9/107/10
Scalability8/108/10
Integration6/109/10
Support5/106/10
Security7/108/10
Customization5/107/10
Pricing
Free planYesYes
Cheapest paid planContact for pricing$49/mo
Production
Estimated cost for 10 usersFree
Workers Free
Free
Open Source
Features
API and CLI
Object StorageNot listed
Shared HostingNot listed
Uptime SLANot listed
VPS HostingNot listed
Managed WordPressNot listed
Dedicated ServersNot listed

Cloudflare AI Gateway vs Portkey cost by team size

Cloudflare AI Gateway and Portkey cost the same at every team size we checked.

Team sizeCloudflare AI GatewayPortkey
1 userFreeWorkers FreeFreeOpen Source
5 usersFreeWorkers FreeFreeOpen Source
10 usersFreeWorkers FreeFreeOpen Source
25 usersFreeWorkers FreeFreeOpen Source
50 usersFreeWorkers FreeFreeOpen Source

The plan that fits each team size, billed monthly, before add-ons and usage charges. Each cost opens that tool's pricing calculator for the team size.

Who Cloudflare AI Gateway and Portkey suit

Portkey fits enterprise better than Cloudflare AI Gateway.

AudienceCloudflare AI GatewayPortkey
Enterprise5/10Reviewers note weak governance: SCIM is Enterprise-only, and there is no self-hosting or in-VPC deployment.8/10The Enterprise plan adds SSO, RBAC, VPC deployment, and HIPAA/SOC 2 support, and the product is now part of Palo Alto Networks' Prisma AIRS.
SaaS Companies7/10Caching, rate limits and cost analytics help SaaS teams control spend on AI features.8/10Built for teams running production GenAI features across multiple LLM providers.
Startups8/10The free core features and zero-ops setup keep early costs low.7/10A free tier and a $49 Production plan keep the entry cost low.
Developers9/10It is set up with a one-line endpoint change and is aimed at developers building LLM apps.9/10Setup takes a few lines of code with OpenAI-compatible SDKs, and there is a free tier and an open-source gateway.
Freelancers6/10Caching, rate limiting and analytics are free on every Cloudflare plan with no per-request gateway fee, so a solo developer can front model APIs without operating a proxy.Not rated
IT Teams6/10The gateway logs requests, rate limits traffic, retries and falls back between providers, and it is fully managed, with no self-hosted or in-VPC option for stricter infrastructure teams.Not rated
Small Business6/10Core analytics, caching and rate limiting are free on every plan, and a Universal endpoint covers more than 20 model providers for a small team shipping an AI feature.Not rated

Which One Should You Choose?

C
Why choose Cloudflare AI Gateway

  • Higher Cost score (9/10 vs 7/10)

Portkey logo
Why choose Portkey

  • Higher Analytics score (9/10 vs 6/10)
  • Higher Integration score (9/10 vs 6/10)
  • Better fit for enterprise (8/10 vs 5/10)

Pros & Cons

C
Cloudflare AI Gateway

Pros

  • Caching, rate limiting and analytics are free on every Cloudflare plan, and core features carry no per-request gateway fee.
  • Fully managed on Cloudflare's edge, so there is no gateway infrastructure to run.
  • A Universal, OpenAI-compatible endpoint covers more than 20 providers, including OpenAI, Anthropic, Gemini and Workers AI.
  • Includes retries, model fallbacks, dynamic routing, spend limits and guardrails for production control.

Cons

  • Managed-only, with no self-hosted or in-VPC option.
  • Caching is exact-match only, with no semantic caching.
  • Supports fewer providers than Portkey or LiteLLM.
  • Legacy log storage caps (100,000 on the free plan) require manual deletion or auto-deletion at scale.
  • Reviewers report proxy latency and limited governance such as RBAC and audit trails.

Portkey logo
Portkey

Pros

  • Unified API covering more than 1,600 models, with automatic fallbacks, retries, and load balancing.
  • Detailed logs and traces show the latency, cost, and retry path of each request.
  • An open-source core and a free tier let developers try it before paying.
  • Enterprise governance features include budgets, rate limits, RBAC, SSO, and audit logs, with VPC deployment available.

Cons

  • Since the 2026 acquisition, paid plans route through Palo Alto Networks' Prisma AIRS, which brings uncertainty about future pricing and roadmap.
  • You pay for the gateway on top of LLM provider costs, and provider billing stays separate.
  • Below Enterprise, support is community-only, and the free plan keeps logs for just 3 days.
  • It may be more platform than needed for small prototypes that want only a simple proxy.

Not sold on either?

Frequently Asked Questions

Portkey scores higher on our AI Software criteria: 7.8/10 against 6.8/10 for Cloudflare AI Gateway. The largest gap is in Analytics: 6/10 for Cloudflare AI Gateway and 9/10 for Portkey.

Both are free for 10 users.

Yes, both Cloudflare AI Gateway and Portkey have a free plan.

Portkey is the better fit for enterprise: we rate it 8/10 for them, against 5/10 for Cloudflare AI Gateway.

Related Comparisons