Summarize this article with:
The main alternatives to Cloudflare AI Gateway and Vercel AI Gateway are Eden AI, OpenRouter, Portkey, LiteLLM, Kong AI Gateway and Bifrost. Cloudflare and Vercel both offer spend controls and data options, so the choice usually depends on a specific need: running the gateway yourself, strict EU processing, AI services beyond LLMs, or budgets that cover your own provider keys. This comparison covers hosting, spend controls, EU options and pricing as of December 4, 2026, and how to switch.
The main alternatives to Cloudflare AI Gateway and Vercel AI Gateway are Eden AI, OpenRouter, Portkey, LiteLLM, Kong AI Gateway and Bifrost. They differ mostly in where they run and what they cover: LiteLLM, Bifrost, Kong and Portkey's open-source gateway can run in your own infrastructure, while Eden AI and OpenRouter are managed services, Eden AI adding expert models such as OCR and speech and OpenRouter focusing on a very wide LLM catalog.
Cloudflare and Vercel are solid options in their own right: both offer spend controls and data options, and neither requires you to host your app on its platform. This guide compares the eight gateways on hosting, spend controls, EU options and pricing as of December 4, 2026, shows which needs each alternative serves best, and explains how to switch if you decide to.
What do Cloudflare AI Gateway and Vercel AI Gateway offer?
Cloudflare AI Gateway gives you analytics, caching and rate limiting for free, with log storage that depends on your Workers plan, according to its pricing page. Since June 2026, spend limits block requests once a budget set by model, provider or custom metadata is reached, and they count requests made with your own provider keys when the model's price is known. Buying credits through Unified Billing adds a 5% fee, while inference is charged at provider rates.
Vercel AI Gateway charges no markup on tokens, including with your own keys, and gives every team a monthly free credit on a subset of models. Its FAQ confirms it works from any environment: you need a Vercel account for the key and billing, not a Vercel deployment. Budgets can cap a team, a project, an API key or a team member, regional inference pins where the model runs, and zero data retention is available on paid plans.
For teams already running on Workers or using the AI SDK with a handful of LLM providers, either one covers the essentials. Teams usually look at alternatives when they have a specific requirement, such as self-hosting, strict EU processing or AI services beyond LLMs.
Which alternative fits which need?
Token prices are close across managed gateways, which charge provider rates plus a fee of 0 to 5.5% on standard plans, so the choice usually comes down to features. Each alternative has a different focus and a different trade-off.
Managed
Eden AI
Best for teams that use LLMs alongside expert models such as OCR, document parsing, speech or translation, and need an EU endpoint that rejects requests leaving the EU. It is a managed service, with no open-source version to run yourself.
Managed
OpenRouter
Best for access to a very wide LLM catalog on one credit balance, with per-key credit limits. EU routing is limited to the Business plan.
Managed or self-hosted
Portkey
Best for teams that want a managed gateway with the option to self-host its open-source version. Palo Alto Networks acquired Portkey in May 2026 and is making it the AI gateway of its Prisma AIRS platform.
Self-hosted
LiteLLM
Best for teams that want an open-source proxy with budgets per key, team, user and customer. You run and maintain it, including its database.
Self-managed or cloud
Kong AI Gateway
Best for teams that already run Kong for their APIs and want AI traffic under the same management and policies.
Self-hosted
Bifrost
Best for teams that want a self-hosted Apache 2.0 gateway with budgets by virtual key, team and customer. You run it yourself, with enterprise deployments available.
How do the alternatives compare?
The table puts all eight gateways side by side. Spend controls are worth checking closely: a budget that ignores your own provider keys will not stop runaway spend on those keys.
| Gateway | Hosting | Spend controls | EU option | Pricing model |
|---|---|---|---|---|
| Cloudflare AI Gateway | Managed by Cloudflare | Spend limits by model, provider or metadata, including own keys for known prices | Not compatible with Regional Services; the EU metadata boundary does not yet cover log storage | Core features free; 5% fee on Unified Billing credits |
| Vercel AI Gateway | Managed by Vercel | Budgets per team, project, key or member; own-key spend excluded | EU inference pinning on supported models, failing rather than leaving the region; EU endpoint in beta, +5% of inference cost | No token markup; monthly free credit on some models |
| Eden AI | Managed; private deployments on enterprise plans | Budget per API key, which stops at $0, with optional reset and expiry | EU endpoint for LLMs and expert models; non-EU fallbacks rejected | No markup; 5.5% platform fee |
| OpenRouter | Managed | Credit limit per key, daily, weekly or monthly; own keys excluded by default | EU or US routing on the Business plan | 5.5% fee on credits, 8% on Business |
| Portkey | Managed, or self-hosted open-source gateway | Cost or token budgets; on the managed plans, Enterprise and select Pro | Wherever you self-host it | Managed plans, or free to self-host |
| LiteLLM | Self-hosted, open source | Budgets per key, team, user and customer, with a database | Wherever you deploy it | Free; Enterprise license for some features |
| Kong AI Gateway | Self-managed Kong Gateway or Kong's dedicated cloud gateways | AI rate limiting policies | Wherever you deploy it, when self-managed | Depends on Kong edition and deployment |
| Bifrost | Self-hosted, Apache 2.0 | Budgets through virtual keys, teams and customers | Wherever you deploy it | Free; enterprise deployments available |
Sources: each vendor's documentation, linked in the first column. Checked December 4, 2026.
Self-hosting puts data location in your hands, but you take on upgrades, scaling and key storage, the trade-off covered in LiteLLM vs a hosted AI gateway. Among managed options, Eden AI's EU endpoint, OpenRouter's regional routing and Vercel's regional inference all fail a request rather than run it outside the EU. With Vercel, the gateway receives the request in the EU only through its EU endpoint, and request logs and billing records are stored in the United States. Our comparison of the OpenRouter EU endpoint and Eden AI looks at the differences in detail.
How do you switch from Cloudflare or Vercel AI Gateway?
All of the gateways above accept OpenAI-compatible requests, so most migrations start with a new base URL and key. Model IDs are the first thing to check: every catalog uses a provider/model format, but the names behind it differ. Cloudflare now recommends its REST API over the OpenAI-compatible /compat endpoint for single-model calls, so check which one your code uses before you switch.
Python
from openai import OpenAI
# Before: Vercel AI Gateway
# client = OpenAI(api_key="AI_GATEWAY_API_KEY", base_url="https://ai-gateway.vercel.sh/v1")
# After: any OpenAI-compatible gateway, here Eden AI (https://api.eu.edenai.run/v3 for the EU)
client = OpenAI(api_key="EDEN_AI_API_KEY", base_url="https://api.edenai.run/v3")
response = client.chat.completions.create(
model="mistral/mistral-large-latest", # model IDs differ between catalogs
messages=[{"role": "user", "content": "Summarize this support ticket."}],
)
print(response.choices[0].message.content)
Then recreate what lived in the old gateway's configuration: fallback chains, budgets and keys, and log exports. Fallback syntax differs most, which is why our guide to automatic fallbacks between LLM providers compares it tool by tool. Run both gateways side by side on a share of traffic for a few days, and compare cost and latency per request before you move everything.
FAQ
Further reading
- Best GDPR-compliant AI gateways: the EU and GDPR side of the choice in more depth.
- Best OpenRouter alternatives: the same question for teams starting from OpenRouter.
- Best Portkey alternatives: seven AI gateways compared for teams starting from Portkey.
- Best alternatives to Kong AI: options for teams starting from Kong's AI gateway.
- What is an AI gateway?: the basics, and how an AI gateway differs from an API gateway.




