Cloudflare AI Gateway vs Vercel AI Gateway vs Kong AI Gateway Compared

We compared Cloudflare, Vercel, and Kong AI Gateway on fees, failover, caching, security, and MCP support, and counted how many providers serve each of 276 language models in Vercel's public catalog.

Last updated November 10, 2026. Pricing, limits, and features were checked against Cloudflare, Vercel, and Kong documentation on that date, and we read Vercel’s public model catalog for every language model it routes.

Cloudflare vs Vercel vs Kong AI Gateway comes down to who runs the gateway: Cloudflare runs it free on its edge, Vercel runs it as a managed router with zero token markup, and Kong gives you data planes inside your own network. Pick Cloudflare when your app already lives on Cloudflare and you bring your own provider keys. Pick Vercel when you want one bill and automatic provider failover, and pick Kong when a platform team must govern model, MCP, and agent traffic under the same policies as its APIs.

The main exception is cost at small scale. Kong’s Konnect Plus plan charges $100 a month for each model it proxies, so a team routing three models pays more in gateway fees than either managed option before any token is billed. This comparison sits in our AgentOps hub and the AI gateways section, and it narrows the field from our guide to the best LLM gateways for enterprise AI teams.

An AI gateway is a proxy between your application and model providers that handles keys, routing, retries, caching, spend limits, and logs for every request. We read each vendor’s pricing and limits pages on November 10, 2026, pulled all 276 routable language models from Vercel AI Gateway’s public catalog, and checked Kong’s open source repository on GitHub. No vendor paid for placement or reviewed this page, per our editorial standards and disclosure policy.

TL;DR

  • Cloudflare AI Gateway is the cheapest to start. Analytics, caching, rate limiting, and DLP scanning are free on all plans, and the main fee is 5% on Unified Billing credits.
  • Vercel AI Gateway adds no token markup, including with your own keys. Its add-ons are metered separately, such as team-wide zero data retention at $0.10 per 1,000 requests.
  • Vercel’s automatic failover has limits. In our November 10, 2026 read of its catalog, 162 of 276 language models (59%) had only one serving provider, so same-model failover had nowhere to go.
  • Kong is the only one you can self-host, but not on the open source build alone. Kong’s open source repo has shipped only 3.9.x patch releases since December 2024 and carries six basic AI plugins.
  • Kong’s managed plan is metered per model. Konnect Plus starts at $25 a month, adds $100 a month per proxied model with a cap of five, and charges $200 per extra million requests.

Cloudflare vs Vercel vs Kong AI Gateway at a Glance

Cloudflare and Vercel are managed services you call over HTTPS, while Kong is gateway software you run or rent as Konnect data planes. The table compares the three on the points that change a buying decision, using vendor documentation and pricing pages read on November 10, 2026.

DimensionCloudflare AI GatewayVercel AI GatewayKong AI Gateway
How it runsManaged, on Cloudflare’s networkManaged, called from any hostSelf-hosted data planes, Konnect hybrid, serverless, or Dedicated Cloud
Gateway fee on tokensNone with your keys; 5% on Unified Billing creditsNone, including BYOKNone per token; per-model and per-request fees on Konnect
Free optionCore features free on all plansMonthly free credit on a subset of modelsOpen source Kong Gateway 3.9.x with 6 AI plugins
Providers24 provider-native integrations505 models, 66 serving providers for language models17 providers in AI Proxy, plus Kimi, Foundry, and SageMaker in 2.0
Default failoverRetries up to 5 attempts; cross-model fallback via dynamic routesAutomatic across providers serving the same modelConfigured targets in AI Proxy Advanced, a paid plugin
Response cacheExact-match, free, TTL up to 1 monthNo gateway response cache; provider prompt cachingAI Semantic Cache, a paid plugin with your own vector store
Prompt safetyDLP free; Guardrails billed as Workers AI inferenceNot offered at the gatewayPrompt guards free; PII sanitizer and semantic guard paid
MCP and A2A trafficSeparate product: MCP Server Portals in Cloudflare OneNot coveredNative in AI Gateway 2.0 and Gateway 3.12 or later
Admin SSO and audit logsCloudflare account controlsVercel team controlsEnterprise only on Konnect
Cloudflare AI Gateway, Vercel AI Gateway, and Kong AI Gateway compared on documentation and pricing pages read November 10, 2026. Source: AgentStack research.

Verdict: Cloudflare wins for cost and edge caching, Vercel wins for model breadth and hands-off failover, and Kong wins wherever prompts must stay in your network or MCP traffic needs the same policy engine. None of the three is a full observability tool, so most teams still pair the gateway with one of the AI agent observability tools we tested.

Decision kernel

Choose Cloudflare AI Gateway when your workloads run on Cloudflare Workers or behind Cloudflare, because caching, rate limits, and DLP come free and your own keys add no fee. Choose Vercel AI Gateway when you call models from several labs and want one credit balance, because tokens bill at list price and provider failover needs no configuration.

Choose Kong AI Gateway when compliance requires data planes in your own VPC or one control plane for LLM, MCP, and agent traffic, because it is the only one of the three you can run yourself. None of the three fits a team that needs a free, self-hosted router with advanced load balancing, and those teams usually land on the options in our LiteLLM alternatives guide.

What We Found in Vercel’s Model Catalog

Automatic provider failover only works for models that more than one provider serves, and on Vercel that was 114 of 276 language models on November 10, 2026. For the other 162 models, a provider outage fails the request unless you also configure a fallback model. We counted this from Vercel’s public API. If you are moving off a hosted router instead, our OpenRouter alternatives guide compares the options.

Bar chart: 162 of 276 Vercel AI Gateway language models have one provider, 58 have two, 56 have three or more
Number of serving providers per language model in Vercel AI Gateway’s public catalog, read November 10, 2026, excluding 48 batch aliases without endpoint data. Chart: AgentStack.

We called GET /v1/models, kept the 324 entries of type language, and requested /v1/models/{model}/endpoints for each. The 48 batch aliases returned no endpoint list, which left 276 models and 639 provider endpoints. Vercel publishes rolling uptime and latency per endpoint in the same response, so you can repeat the check for the exact models you plan to use.

curl -s https://ai-gateway.vercel.sh/v1/models/google/gemini-2.5-pro/endpoints \
  | jq '.data.endpoints[] | {provider_name, uptime_last_1d, latency_last_1h}'

Coverage varies sharply by lab. Google had a second provider for 18 of its 21 models and Anthropic for 15 of 19, mostly through Vertex AI and Amazon Bedrock. OpenAI had one for 26 of 62, Meta Llama for 3 of 14, and no Mistral model had two providers.

Bar chart of the share of each AI lab's models with two or more providers on Vercel, from Google 86% to Mistral 0%
Share of each model creator’s language models served by at least two providers on Vercel AI Gateway, read November 10, 2026. Chart: AgentStack.

The uptime numbers show why the second provider matters. Over the trailing 24 hours, Gemini 2.5 Pro on Google’s own API showed 41.3% uptime while the Vertex AI endpoint for the same model showed 99.9%, and GPT-5.4 on Azure showed 84.0%. Of 589 endpoints with an uptime reading, 23 were below 99%, and 4 of those 23 belonged to models with no other provider.

Failover can also change your bill. Among the 114 models with more than one provider, 48 had different prices across providers. DeepSeek V3.2 cost $0.62 per million input tokens on Bedrock and $0.26 on DeepInfra, and GPT-5.5 input cost $5.50 per million on Bedrock against $5.00 on OpenAI and Azure, so set a provider order when price stability matters.

Cloudflare AI Gateway: Best for Apps Already on Cloudflare

Cloudflare AI Gateway documentation overview page describing analytics, caching, rate limiting, retries, and fallback
Cloudflare AI Gateway documentation overview, captured November 10, 2026. Image: Cloudflare.

Cloudflare AI Gateway is a free proxy on Cloudflare’s network that logs, caches, rate limits, and scans model traffic for teams already on Cloudflare. You create a gateway in the dashboard and swap the provider base URL in your code, and Workers can call it through the AI binding. The provider list names 24 native integrations, including OpenAI, Anthropic, Bedrock, Vertex AI, Groq, and OpenRouter.

The pricing page lists analytics, caching, and rate limiting as free on all plans, and DLP scanning is free too. Accounts without a Zero Trust subscription get two predefined DLP profiles, financial information and national identifier numbers. Guardrails run Llama Guard 3 8B on Workers AI and bill as normal Workers AI inference.

The cache is exact-match, so any change to the prompt is a miss, and the limits page caps cacheable requests at 25 MB with a maximum TTL of one month. One AI-cited Reddit thread describes Cloudflare as having semantic caching, which the documentation does not support. Retries go up to five attempts per the request handling docs, and cross-model fallback is built with dynamic routes or Auto Router.

  • Best for: Teams on Cloudflare Workers or behind Cloudflare that bring their own provider keys
  • Runs as: Managed proxy on Cloudflare’s network; no self-hosting
  • Pricing (November 2026): Free core features; Unified Billing adds a 5% fee on credits; Workers Paid has a $5 monthly minimum for higher log limits
  • Watch out for: Unified Billing traffic is capped at 200 requests per 60 seconds per gateway, and accounts created after September 24, 2026 follow Workers Logs pricing

Unified Billing has a credential order worth knowing before a bill surprises you. A key on the request wins, then a stored BYOK key under the default alias, then Cloudflare-managed credentials billed against your credits. Turning on Require provider credentials stops that last fallback, and zero data retention on Cloudflare applies only to Unified Billing traffic.

Vercel AI Gateway: Best for Multi-Lab Apps That Want One Bill

Vercel AI Gateway documentation page titled Call AI models across providers with Vercel AI Gateway
Vercel AI Gateway documentation overview, captured November 10, 2026. Image: Vercel.

Vercel AI Gateway is a managed model router that bills tokens at provider list price and fails over between providers serving the same model. The app does not need to run on Vercel, since any server can call it with an API key, and Vercel deployments can use OIDC instead. It speaks the AI SDK, OpenAI Chat Completions and Responses, and Anthropic Messages formats.

The pricing docs say there is no markup and no platform fee on tokens, and BYOK carries no fee either. BYOK needs purchased credits, and when a BYOK request fails, Vercel retries it with its own credentials and charges your credit balance. Budgets cover system-credential spend only and act as soft caps, so keep limits on the provider account as well.

Paid add-ons are where costs appear. Custom Reporting costs $0.075 per 1,000 writes and $5 per 1,000 queries, a team-wide provider allowlist or team-wide zero data retention costs $0.10 per 1,000 requests, and Trace Drains cost $0.05 per 1,000 traces plus $0.50 per GB. Regional inference passes through regional prices, and Claude Sonnet 4.5 input listed at $3.30 per million in the EU and US regions against $3.00 globally.

  • Best for: Product teams calling several labs, especially from the AI SDK or coding agents
  • Runs as: Managed router; no self-hosted version
  • Pricing (November 2026): Tokens at list price; monthly free credit on a subset of models; add-ons metered per request or per write
  • Watch out for: No gateway response cache and no gateway-side DLP, as Vercel’s own Cloudflare comparison states, and purchased credits expire after one year

Vercel’s FAQ says the gateway does not retain prompt or response content and keeps routing attempt metadata for 30 days. Provider choice is tunable per request: order prefers providers while keeping failover, only is a hard filter that removes failover outside the list, and sort ranks providers by cost, time to first token, or throughput.

Kong AI Gateway: Best for Platform Teams That Must Self-Run

Kong AI Gateway documentation page describing one control plane for LLM, MCP, and A2A traffic
Kong AI Gateway documentation overview, captured November 10, 2026. Image: Kong.

Kong AI Gateway is a governance layer for LLM, MCP, and agent-to-agent traffic whose data planes can run in your own network. AI Gateway 2.0 reached general availability on September 1, 2026, replacing the plugin-first setup with AI Model and AI Model Provider entities managed from Konnect. It added MCP Server Bundling, which shows each caller only the tools it may use.

The open source path is narrower than most comparisons imply. The Kong/kong repository is Apache 2.0 with about 44,000 stars, but its releases show no minor version after 3.9.0 on December 13, 2024, only patches through 3.9.4 on October 12, 2026. Its plugin tree holds six AI plugins: AI Proxy, prompt decorator, prompt guard, prompt template, and request and response transformers.

The plugins that make Kong competitive are paid. The Kong pricing page lists AI Proxy Advanced, AI Semantic Cache, AI Rate Limiting Advanced, AI Sanitizer, AI Semantic Prompt Guard, AI Prompt Compressor, AI RAG Injector, and the AWS and Azure safety integrations as an add-on on Plus. The AI MCP Proxy plugin needs Gateway 3.12 or later, a line that never shipped as open source.

Kong Konnect pricing page showing the AI Management Plus plan from $25 per month plus usage
Kong Konnect AI Management pricing page with the Plus plan from $25 a month plus usage, captured November 10, 2026. Image: Kong.
  • Best for: Enterprises that already run Kong for APIs, or must keep data planes in their own VPC
  • Runs as: Konnect control plane with hybrid, serverless, or Dedicated Cloud data planes; fully on-premises under Gateway Enterprise
  • Pricing (November 2026): Konnect Plus from $25 a month; $100 a month per proxied model, up to 5; 1 million requests included, then $200 per million up to 10 million; Enterprise custom
  • Watch out for: SSO and audit logging are Enterprise only, and AI plugins become opt-in from Gateway 3.18

Failover in Kong is explicit. The AI Proxy Advanced docs say client errors do not trigger failover, so you add codes such as http_429 to failover_criteria yourself, and circuit breakers arrived in 3.13. With plain AI Proxy, a request for a model other than the configured one returns a 400 error, per the AI Proxy FAQ.

How Do Failover and Routing Compare?

Vercel fails over automatically between providers of the same model, Cloudflare retries and then follows a fallback chain you build, and Kong follows the targets and failure rules you configure. The practical difference is how much routing logic your team owns and whether a fallback may switch to a different model with different behavior and price.

Routing questionCloudflare AI GatewayVercel AI GatewayKong AI Gateway
Default on a provider errorRetry the same provider, up to 5 attemptsRetry another provider serving the same modelFail unless targets and criteria are set
Switch to another modelDynamic routes or Auto RouterConfigured model fallbacksMixed-provider targets since 3.10
Prefer a providerOrder in a dynamic routeorder, only, or sort per requestWeights and balancing algorithm
Health signalsGateway analyticsPublished uptime and latency per endpointCircuit breaker since 3.13
Failover and routing behavior per vendor documentation, read November 10, 2026. Source: AgentStack research.

Verdict: Vercel needs the least routing work, but only for models with a second provider, which was 41% of its language catalog in our read. Cloudflare and Kong give more control and ask you to design the fallback chain yourself, which suits teams that already test failure paths.

What Each AI Gateway Costs in a Sample Month

For a month with three models, 3 million requests, and $10,000 of token spend, gateway fees ranged from $0 on Vercel to $900 on Kong Konnect Plus hybrid at list prices. Token costs are the same across all three because each passes provider prices through, so the gateway fee is the number that differs.

Bar chart of sample monthly AI gateway fees: Vercel $0, Cloudflare $5 to $500, Kong Konnect Plus $725 to $900
Gateway fees for a sample month of 3 models, 3 million requests, and $10,000 of provider token spend, at list prices read November 10, 2026, excluding token costs and Kong’s unpublished plugin add-on. Chart: AgentStack.
Line itemCloudflare AI GatewayVercel AI GatewayKong Konnect Plus
Platform$0, or $5 Workers Paid minimum$0$25 serverless or $200 hybrid control plane
Per model$0$0$100 a month each, 3 models = $300
Requests over the included amount$0$02 million extra at $200 each = $400
Managed billing fee5% of credits = $500$0Not offered; you bring keys
Optional data controlsDLP freeTeam-wide ZDR $300 at $0.10 per 1,000Paid plugin add-on, price not published
Sample month cost build-up from Cloudflare, Vercel, and Kong pricing pages, read November 10, 2026. Source: AgentStack calculation.

Verdict: Vercel and Cloudflare with your own keys are close to free at this volume, Cloudflare Unified Billing costs 5% for the convenience of one bill, and Kong only makes sense when its governance features replace work you would otherwise build. Compare the result with the per-request pricing in our Portkey vs LiteLLM vs OpenRouter comparison before you sign anything.

Which Gateway Handles Security and Data Rules Best?

Kong offers the most security controls inside the gateway, Cloudflare offers free DLP and paid Guardrails, and Vercel relies on provider routing rules such as zero data retention instead of content inspection. Which one is enough depends on whether your rules are about what prompts contain or about which providers may see them.

  • Cloudflare: DLP flags or blocks PII and financial data in prompts and responses, and Guardrails moderates content with Llama Guard. Token authentication protects the gateway endpoint itself.
  • Vercel: per-request zero data retention, prompt-training disallowance, provider allowlists, and regional inference limit which providers serve a request. The gateway does not scan prompt content.
  • Kong: prompt guards ship free, while the PII sanitizer, semantic prompt guard, and the AWS Guardrails and Azure Content Safety integrations are paid. Data planes can sit inside your VPC, so prompts need not cross a third-party edge.

A gateway also concentrates provider keys, which makes it a target. The LiteLLM supply chain compromise and the Black October LLMjacking breaches both turned stored model keys into stolen spend, so rotate gateway keys and alert on spend spikes with the LLM cost monitoring tools we compared. For runtime agent threats beyond the gateway, see our AI agent security tools guide.

Can These Gateways Govern MCP and Agent Traffic?

Only Kong governs model, MCP, and agent-to-agent traffic in one gateway; Cloudflare handles MCP in a separate product, and Vercel AI Gateway covers model calls only. That matters for teams whose agents call tools through the Model Context Protocol, because tool calls need the same identity, rate limits, and logs as model calls.

Kong AI Gateway 2.0 bundles several upstream MCP servers behind one route and filters the tool list per caller, and its MCP OAuth2 plugin acts as the resource server for MCP authorization. Cloudflare puts MCP control in MCP Server Portals under Cloudflare One, apart from AI Gateway. Our MCP gateways guide and the Kong vs AWS AgentCore vs Docker comparison cover this layer, and MCP gateway pricing lists Kong’s MCP costs.

Which AI Gateway Should You Choose?

Start from who must operate the gateway and where prompts may travel, then pick on routing and cost. The guide below sums up the choice, and the list after it covers the situations where none of the three is the right answer for your team.

Decision guide with three columns showing when to choose and skip Cloudflare, Vercel, and Kong AI Gateway
AI gateway decision guide based on vendor docs, pricing pages, and Vercel catalog data checked November 10, 2026. Chart: AgentStack.

Who is Cloudflare AI Gateway best for?

Cloudflare AI Gateway is best for developers on Workers or behind Cloudflare who bring their own provider keys and want free caching, rate limits, and DLP. It is a weaker fit when you need self-hosting or one control point for MCP.

Who is Vercel AI Gateway best for?

Vercel AI Gateway is best for product teams that call models from several labs and want list-price tokens on one balance with automatic provider failover. It is a weaker fit when prompts must stay in your network or when you need gateway-side content scanning.

Who is Kong AI Gateway best for?

Kong AI Gateway is best for platform teams that already run Kong, need data planes in their own VPC, and want one policy engine for LLM, MCP, and agent traffic. It is a weaker fit for small teams that expect the open source build to cover semantic caching or MCP.

When none of the three fits

Do not choose any of these three if you need a free, self-hosted router with load balancing and budgets, since Kong keeps those features in paid plugins. Teams in that position usually run LiteLLM or a similar proxy, and our LiteLLM alternatives guide covers the trade-offs. A gateway also will not fix slow prompts, high token counts, or poor model choice, which need tracing and evals.

Frequently Asked Questions

Is Cloudflare AI Gateway free?

Yes, for its core features. Cloudflare lists analytics, caching, rate limiting, and DLP scanning as free on all plans as of November 2026. Costs appear only with Unified Billing, which adds a 5% fee on credits, with Guardrails billed as Workers AI inference, and with log storage beyond your plan’s allowance.

Does Vercel AI Gateway charge a markup on tokens?

No. Vercel’s pricing docs say AI Gateway charges the provider’s list price with no markup or platform fee, including requests that use your own provider keys. Charges come from optional add-ons such as Custom Reporting, team-wide zero data retention, and Trace Drains, plus any card processing fees on credit purchases.

Can I self-host Kong AI Gateway for free?

Partly. The open source Kong Gateway 3.9.x line is free under Apache 2.0 and includes six basic AI plugins such as AI Proxy and prompt guard. Semantic caching, advanced load balancing, token rate limits, PII redaction, and the MCP proxy need Kong’s paid AI Gateway Enterprise features or a Konnect plan.

Can I use Vercel AI Gateway without deploying on Vercel?

Yes. Vercel’s FAQ says an AI Gateway API key works from any environment, including local development, CI, and other clouds. Apps deployed on Vercel can authenticate with OIDC tokens instead of a stored key. You still need purchased credits to bring your own provider keys, which the free tier does not allow.

Can I put Kong in front of Vercel or Cloudflare AI Gateway?

Yes. Kong’s AI Gateway documentation lists Vercel among its supported providers, and Cloudflare AI Gateway lists OpenRouter as an upstream. Stacking lets a platform team keep Kong’s policies and audit trail while a managed router handles model breadth, at the cost of an extra network hop and two sets of logs.

Start with our guide to the best LLM gateways for enterprise AI teams, which ranks nine gateways on cost and control, then read the Portkey vs LiteLLM vs OpenRouter comparison and the LiteLLM alternatives roundup. Teams on Cloudflare or Vercel hosting MCP servers should also read Cloudflare vs Vercel vs AgentCore.

For the layers around a gateway, see the AI agent observability tools guide, the LLM cost monitoring tools roundup, and our MCP gateways guide for tool traffic.

The Bottom Line

Cloudflare AI Gateway is the best value for teams on Cloudflare, Vercel AI Gateway is the simplest way to reach many labs at list price, and Kong AI Gateway is the right call only when self-run data planes or unified MCP governance are requirements. Check provider counts before relying on Vercel’s failover.

Run one week of real traffic through your first choice, compare its logs with your provider invoices, and test a forced provider outage before launch. Send corrections or your own results through our contact page.