Portkey vs Cloudflare AI Gateway

Detailed side-by-side comparison to help you choose the right tool

Portkey

🔴Developer

LLM Gateways & Infrastructure

AI gateway and control plane for production GenAI: routes calls across 250+ LLMs with one unified API, plus guardrails, prompt management, observability, budgets, and an MCP-aware agent runtime.

Was this helpful?

Starting Price

Custom

Cloudflare AI Gateway

App Deployment

Cloudflare AI Gateway is a free AI observability and control layer that proxies requests to OpenAI, Anthropic, Google, and 25+ providers with caching, rate limiting, logging, DLP, and Guardrails.

Was this helpful?

Starting Price

Free

Feature Comparison

Scroll horizontally to compare details.

FeaturePortkeyCloudflare AI Gateway
CategoryLLM Gateways & InfrastructureApp Deployment
Pricing Plans97 tiers6 tiers
Starting PriceFree
Key Features
    • LLM Request Routing
    • Response Caching
    • Rate Limiting

    Portkey - Pros & Cons

    Pros

    • Provider-agnostic routing with declarative configs that an SRE can change without app deploys
    • Strong governance primitives (virtual keys, budgets, RBAC) that internal gateways usually skip
    • Built-in guardrails and observability remove the need for a separate vendor for each
    • Self-hosted and BYOC options make it viable for regulated and air-gapped deployments

    Cons

    • Pricing page is JS-rendered and dollar amounts must be confirmed manually on site
    • Adds a network hop and latency overhead — small but non-zero next to direct provider calls
    • Overkill for single-provider single-app teams who do not need governance
    • Some advanced features (Agents, BYOC) require Enterprise contracts

    Cloudflare AI Gateway - Pros & Cons

    Pros

    • Core features are genuinely free on every Cloudflare account — analytics, caching, rate limiting, DLP, persistent logs
    • One line of code change works with existing OpenAI, Anthropic, and Google SDKs across 25+ providers
    • Runs on Cloudflare's edge so proxy latency overhead is single-digit milliseconds globally

    Cons

    • Log retention is capped per plan (100k Free / 10M per gateway Paid) — not unlimited
    • Span-level observability and evals are thinner than Langfuse or Helicone
    • Dynamic Routing, Spend Limits, and BYOK are still beta with documented rough edges

    Not sure which to pick?

    🎯 Take our quiz →

    🔒 Security & Compliance Comparison

    Scroll horizontally to compare details.

    Security FeaturePortkeyCloudflare AI Gateway
    SOC2✅ Yes
    GDPR✅ Yes
    HIPAA❌ No
    SSO✅ Yes
    Self-Hosted
    On-Prem❌ No
    RBAC✅ Yes
    Audit Log✅ Yes
    Open Source❌ No
    API Key Auth✅ Yes
    Encryption at Rest✅ Yes
    Encryption in Transit✅ Yes
    Data ResidencyGLOBAL
    Data Retentionconfigurable
    🦞

    New to AI tools?

    Read practical guides for choosing and using AI tools

    🔔

    Price Drop Alerts

    Get notified when AI tools lower their prices

    Tracking 2 tools

    We only email when prices actually change. No spam, ever.

    Get weekly AI agent tool insights

    Comparisons, new tool launches, and expert recommendations delivered to your inbox.

    No spam. Unsubscribe anytime.

    Ready to Choose?

    Read the full reviews to make an informed decision