Kong AI Gateway alternatives: 6 options compared
The best Kong AI Gateway alternatives for LLM and MCP traffic: six gateways compared on licensing, MCP support, deployment, and the work of moving off Kong.
- Published
- Reading time
- 20 min read
In short
- Kong AI Gateway is a set of AI plugins on Kong Gateway that version 2.x turned into first-class entities in Konnect. It governs LLM, MCP, and A2A traffic, with load balancing, semantic caching, token- and cost-based limits, and prompt guards.
- The open-source Kong Gateway includes the original AI Proxy plugin. Load balancing across models, the MCP gateway, semantic caching, and AI rate limiting are documented as part of the AI Gateway Enterprise offering, and a fully self-hosted install needs a Kong Enterprise license.
- Bifrost is the strongest Kong AI Gateway alternative for teams that want AI traffic in its own gateway: an Apache 2.0 Go gateway whose open core includes virtual keys with budgets, failover, an MCP gateway with deny-by-default tool filtering, and A2A agent routing.
- Kong is still the right answer for an organization that already pays for Konnect or Kong Enterprise and wants AI traffic under the same control plane as its APIs. The alternatives make sense when the license, the API gateway shape, or the Konnect dependency is the problem.
The best Kong AI Gateway alternatives are Bifrost, an open-source AI gateway by Maxim AI, for teams that want AI traffic in its own gateway, and agentgateway or Agent Router for teams built around MCP and Kubernetes. Apache APISIX and Azure API Management replace Kong with another API gateway, and LiteLLM fits teams that need the widest provider list. Which one fits depends on why you are leaving Kong, and for some teams the answer is to stay.
Kong AI Gateway is a strong product with a specific shape: AI features on top of an API gateway, with the most capable parts under a commercial license. This comparison is for a team that runs it today or is weighing it. For self-hosted gateways compared on license and scope, see open-source AI gateways.
What Kong AI Gateway is, as of November 2026
Kong AI Gateway is the set of AI features in Kong's API platform. It started as plugins on Kong Gateway and, in version 2.x, became a dedicated control plane in Kong Konnect that governs LLM, MCP, and agent-to-agent (A2A) traffic through one endpoint.
The plugin era began in February 2024, when Kong open-sourced its first AI plugins, including AI Proxy, in Kong Gateway 3.6. In the 3.x model, three plugins carry most of the AI work: AI Proxy Advanced for models, AI MCP Proxy for tool servers, and AI A2A Proxy for agents. Each one attaches to a Kong Service and Route like any other plugin.
AI Gateway 2.x replaces that plugin-centric model with entities. You declare AI Model Providers, AI Models, AI MCP Servers, AI Agents, AI Consumers, and AI Consumer Groups, and the Konnect control plane provisions the Services, Routes, and plugins underneath. Policies take the place of plugins, and each policy's config matches the plugin it maps to.
The policy list is long. Kong's AI Gateway overview documents prompt templates, a semantic cache, a prompt compressor, token- and cost-based rate limiting, a prompt guard and a semantic prompt guard, a PII sanitizer, a semantic response guard, and integrations with the AWS, Azure, and Google Cloud guardrail services. Around them sit load balancing and failover, usage analytics, metering and billing, audit logs, and OpenTelemetry.
Deployment has three paths. The control plane runs in Konnect, and data planes run in your environment, on Kong's Dedicated Cloud Gateways, or on Kubernetes through the Kong Operator, which is a tech preview. A fully self-hosted install runs on Docker Compose with Postgres and needs an Enterprise license in KONG_LICENSE_DATA.
What Kong AI Gateway does well
Kong's strength is that AI traffic gets the same platform as every other API. Authentication plugins, consumers, rate limits, audit logs, and the developer portal already exist, so a team on Kong adds AI routes without a second gateway, a second identity model, or a second on-call rotation.
The model routing is among the most complete in this comparison. AI Proxy Advanced balances across 17 providers with round-robin, consistent-hashing, least-connections, lowest-latency, lowest-usage, semantic, and priority algorithms. Since 3.10 it falls back across providers with different formats, and since 3.13 a circuit breaker stops routing to a target after repeated failures.
Kong also has scale and history. The Kong Gateway repository is Apache 2.0 with more than 44,000 GitHub stars as of November 2026, and the gateway underneath the AI features has run API traffic for years. For a buyer who needs a vendor contract, support, and a long track record, that counts.
Kong as an MCP gateway
Kong's MCP gateway is the AI MCP Proxy plugin, which bridges MCP and HTTP. It needs Kong Gateway 3.12 or later and is only available as part of the AI Gateway Enterprise offering.
The plugin runs in one of four modes:
- passthrough-listener proxies MCP requests to an existing MCP server behind a Kong Service.
- conversion-listener turns REST paths into MCP tools and accepts MCP requests on the same Route.
- conversion-only turns REST paths into tools without serving them, for a listener to collect.
- listener aggregates tools from conversion-only plugins into one MCP server, matched by tag.
The conversion modes are the distinctive part. A team with hundreds of REST APIs already behind Kong can expose them to agents as MCP tools without writing MCP servers. From 3.13, access rules filter tool discovery by consumer or consumer group with allow and deny lists, per tool or as a default, and every access attempt goes to the audit log. A per-tool rule replaces the default entirely instead of merging with it.
Two limits matter in planning. The plugin docs say not to configure AI MCP Proxy together with other AI plugins on the same Service or Route. And the on-prem guide says the upstream-server MCP mode has no self-hosted equivalent, so part of the MCP feature set exists only in Konnect. Authentication comes from Kong's standard plugins, such as Key Auth or OpenID Connect. What an MCP gateway does covers the general requirements.
Why teams look for Kong AI Gateway alternatives
Teams leave Kong AI Gateway, or decide not to adopt it, for four reasons, each visible on Kong's own pages: the license, the price model, the Konnect dependency, and the API gateway shape.
| Reason | What Kong's pages say, as of November 2026 | What to look for instead |
|---|---|---|
| License | AI Proxy Advanced, AI MCP Proxy, AI Semantic Cache, and AI Rate Limiting Advanced are part of the AI Gateway Enterprise offering | Multi-provider routing, MCP, and budgets in an open core |
| Price model | On the Plus tier, AI plugins are an add-on metered per model proxied and per block of requests; Enterprise is custom | A cost that does not grow with the number of models |
| Konnect dependency | The 2.x entity model lives in Konnect; one MCP mode has no self-hosted equivalent; self-hosting needs an Enterprise license | Every feature available in a self-hosted or air-gapped install |
| API gateway shape | AI features are Services, Routes, and plugins, and AI MCP Proxy cannot share a Route with other AI plugins | A gateway designed around models, keys, and tools |
License. The open-source Kong Gateway gives you the original AI Proxy plugin, which is a capable multi-provider proxy. Load balancing across models, the MCP gateway, caching, and token budgets need the AI license, which is the gap most teams hit first.
Price model. Kong's pricing page meters AI on the self-serve Plus tier by unique models proxied and by monthly request volume, and quotes Enterprise and fully self-hosted Gateway Enterprise by contract. For a team adding models every quarter, a per-model meter is a planning question that a flat or open-source gateway does not raise.
Konnect dependency. Kong supports self-hosting, but the 2.x entity model is native to Konnect, and on-prem 3.x users write plugin configuration or convert entity files with decK. Teams that must run with no SaaS control plane get a working gateway with some features missing.
Shape. Kong models AI traffic as API traffic. That is a benefit if you already think in Services and Routes, and overhead if all you wanted was one endpoint, per-team keys, and budgets in dollars.
What to check before replacing Kong
Replacing Kong AI Gateway is an inventory exercise first. Most of the work is reproducing routes, consumers, plugin configuration, and limits, and the four directions below differ mainly in how much of that carries over.
- What stays on Kong. Most teams keep Kong for REST APIs and move only AI traffic. Decide that boundary first, because a dedicated AI gateway does not replace an API gateway.
- Model routing. List every AI Model or AI Proxy Advanced target, its balancing algorithm, and its failover criteria, and confirm the new gateway supports each provider and the fallback behavior you rely on.
- MCP. Note which MCP servers are proxied and which tools are converted from REST APIs. A gateway that cannot build tools from an OpenAPI document needs those servers written.
- Identity and limits. Map Kong consumers and consumer groups to the new gateway's keys, teams, or subscriptions, and assume every credential will be reissued. Compare token limits with dollar budgets, since they are not the same control. Virtual keys explains the pattern.
- Guardrails and logging. Prompt guards, the PII sanitizer, and log plugins each need an equivalent or a decision to drop them.
Kong AI Gateway alternatives at a glance
The six options are four self-hosted gateways, one cloud API gateway, and LiteLLM, which can be either. The table lists where each runs, how it is licensed or priced, and its MCP support, as documented by each vendor in November 2026.
| Option | Where it runs | License and pricing model | MCP support |
|---|---|---|---|
| Bifrost | Your infrastructure, including air-gapped | Apache 2.0 core; Enterprise by contract | Gateway and server; OpenAPI to MCP in beta; per-key tool filtering |
| agentgateway | Standalone or Kubernetes Gateway API | Apache 2.0; Linux Foundation project | Federation, OpenAPI to MCP, OAuth per MCP auth spec |
| Apache APISIX | Your infrastructure | Apache 2.0; Apache Software Foundation project | mcp-bridge only, and it is deprecated |
| Agent Router | Kubernetes with Envoy Gateway, or aigw run | Apache 2.0; Agentic AI Foundation project | Multiplexing, tool routing, OAuth |
| LiteLLM | Your infrastructure | MIT core; Enterprise license for SSO and audit logs | Access by key, team, or organization; OpenAPI to MCP |
| Azure API Management | Azure, or its self-hosted gateway | Azure service tiers | REST API as MCP server, or passthrough; tools only |
1. Bifrost
Bifrost is a Go gateway with an OpenAI-compatible API to 10,000+ models across 25+ providers. It is the first pick for a team leaving Kong AI Gateway because the parts Kong licenses separately, multi-provider routing with failover, budgets, and an MCP gateway, are in its Apache 2.0 core.
Governance centers on virtual keys. A key lists the providers and models it may reach, and an empty list reaches nothing, so a forgotten field fails closed. Each key carries its own budget and token and request rate limits, keys sit under teams and customers with their own budgets, and an exhausted budget returns 402 with the type budget_exceeded. That maps to Kong consumers and consumer groups, with limits expressed in dollars as well as tokens.
Routing covers the AI Proxy Advanced cases most teams use. Bifrost retries with backoff and then falls back to a different provider, balances by weight across keys and providers, and supports routing rules written as CEL expressions. Semantic caching works with Redis, Valkey, Qdrant, Weaviate, or Pinecone.
As an MCP gateway, Bifrost connects servers over STDIO, HTTP, or SSE and exposes them to clients through its own /mcp endpoint, authenticated with virtual-key headers or OAuth 2.1. Its tool filtering is deny by default at three levels: a client exposes no tools until tools_to_execute lists them, a request header can narrow the set, and the virtual key is the ceiling no header can widen. Upstream, per-user OAuth and token exchange let each person reach a tool server under their own account.
The closest match to Kong's conversion modes is OpenAPI servers, which turns a REST API with an OpenAPI or Swagger document into MCP tools:
{
"mcp": {
"client_configs": [
{
"name": "orders",
"connection_type": "openapi",
"auth_type": "headers",
"tools_to_execute": ["getOrder", "listOrders"],
"openapi_config": {
"spec_url": "https://api.example.com/openapi.yaml",
"security_credentials": {
"api_key": { "value": "env.ORDERS_API_KEY" }
}
}
}
]
}
}The feature is in beta. It skips multipart uploads and streaming bodies, rejects documents with more than 1,000 operations, and calls operations that declare only OAuth or mutual TLS with static headers. For A2A, the Agent Gateway registers existing agents, grants access through virtual keys, and logs each session's tasks alongside its model and tool calls.
On overhead, Maxim AI's published benchmarks report about 11 microseconds per request at 5,000 requests per second on a single t3.xlarge. They do not include Kong, so test both on your own routes.
The costs are specific. There is no importer for Kong configuration, so models, consumers, limits, and MCP servers are recreated by hand. Bifrost is not a general-purpose API gateway, so Kong or another API gateway stays in front of your REST APIs. The Enterprise tier, priced by contract with a 14-day trial, holds clustering, identity-provider sign-in, role-based access control, guardrails, and audit logs, so the equivalents of Kong's prompt guards and PII sanitizer are paid here too.
Best for: platform teams that want model, MCP, and agent traffic under one policy in a gateway built for AI, self-hosted or air-gapped with no SaaS control plane, and without a license fee for routing, budgets, or tool access.
2. agentgateway
agentgateway is an Apache 2.0 proxy, contributed to the Linux Foundation and accepted into the Agentic AI Foundation in 2026, built around MCP and A2A with LLM routing alongside. Its docs describe it as a gateway control plane and proxy data plane that also serves ordinary HTTP and gRPC traffic, which makes it the closest open-source option to Kong's "one gateway for APIs and AI" pitch.
Its MCP features line up with Kong's. The docs list aggregation of several MCP servers behind one endpoint, REST APIs exposed as MCP tools, MCP authorization with OAuth providers such as Auth0 and Keycloak, and RBAC written as CEL policies. Transports include stdio, HTTP with SSE, and Streamable HTTP.
For models it offers an OpenAI-compatible API across providers, and its cost controls add virtual keys, budgets per API key in dollars or tokens, a model cost catalog, and a built-in dashboard grouped by model, provider, and user. It runs standalone from a binary or container, or on Kubernetes, where it conforms to the Gateway API.
The gap for a Kong team is the business layer. Budgets are documented per API key, and there is no importer, so consumer groups and their limits are rebuilt. Support comes from the community or a vendor that packages the project.
Best for: Kubernetes platform teams whose Kong AI traffic is mostly agents and MCP servers, and who want an open-source project under foundation governance that can also proxy ordinary APIs.
3. Apache APISIX
Apache APISIX is an Apache 2.0 API gateway from the Apache Software Foundation, and of the six it is the most like-for-like replacement for Kong. It uses the same vocabulary of Routes, Services, Consumers, and plugins, and its AI features are plugins.
The model plugins are open source. ai-proxy-multi balances across OpenAI, Anthropic, Azure OpenAI, Gemini, Vertex AI, Amazon Bedrock, DeepSeek, OpenRouter, and OpenAI-compatible endpoints with weighted round robin, consistent hashing, semantic routing, and priority groups, and falls back on 429, 5xx, or a rate-limit trip. ai-rate-limiting caps total, prompt, or completion tokens per consumer, or a custom cost expression, with counters shared through Redis. The docs also list ai-cache, ai-prompt-guard, content-moderation plugins for AWS and Alibaba Cloud, ai-lakera-guard, and ai-rag.
MCP is the weak point. The only MCP plugin, mcp-bridge, exposed a stdio server over SSE, and the current docs mark it deprecated and slated for removal. A team that uses Kong's MCP conversion modes has no equivalent here.
The other difference is the limit unit. APISIX counts tokens, so dollar budgets per team need a cost expression per model or a separate system.
Best for: teams that want an open-source API gateway with the Kong plugin model and AI routing without a license, and that do not need an MCP gateway yet.
4. Agent Router, formerly Envoy AI Gateway
Agent Router is the project formerly called Envoy AI Gateway, now an Agentic AI Foundation project under the Apache 2.0 license with the same code and maintainers. It gives applications one OpenAI-compatible API for hosted providers, self-hosted inference, and MCP servers, with Envoy as the data plane.
The capabilities page for version 1.3 lists provider fallback, token-based quota policies, and an MCP gateway with server multiplexing, tool routing, OAuth authentication, and observability. A2A routing through Envoy's A2A filter is in preview. aigw run starts a standalone router on a laptop, and production runs on Kubernetes with Envoy Gateway.
For a Kong team the change is the operating model. Configuration becomes Kubernetes resources, limits are token quotas, and the surrounding API management, such as a developer portal, comes from elsewhere. That suits a team already on Envoy Gateway and asks a lot of one that is not.
Best for: teams standardized on Envoy or Envoy Gateway that want model and MCP traffic in the same data plane as the rest of their ingress.
5. LiteLLM
LiteLLM is an open-source Python SDK and proxy that calls more than 100 providers in the OpenAI format, the widest provider list in this comparison. Code outside its enterprise directory is MIT-licensed, and the proxy adds virtual keys, budgets per key, team, and user, fallbacks, and an admin dashboard.
Its MCP gateway gives clients one endpoint for all MCP tools over Streamable HTTP, SSE, or stdio, which is off by default. Access is granted by key, team, or organization, OAuth 2.0 servers are discovered automatically or configured with explicit credentials, and REST APIs can be exposed as MCP tools without writing a server.
The trade-offs are well documented. Virtual keys need Postgres, multi-instance deployments need Redis, and SSO, audit logs, and other controls sit behind an enterprise license, so the license reason for leaving Kong does not fully disappear. LiteLLM alternatives covers its proxy overhead and the two 2026 incidents in which malicious releases were published, which are worth reading before adopting it.
Best for: teams whose main need is reaching many providers, especially smaller ones, with Python-friendly extension points and per-team budgets.
6. AI gateway in Azure API Management
The AI gateway in Azure API Management is a set of capabilities in Microsoft's API gateway, available in all API Management tiers. It is the closest managed equivalent to Kong: AI policies on an API platform, with a developer portal and an API catalog alongside.
It manages APIs in the OpenAI Chat Completions or Responses format, the Anthropic Messages format in the v2 tiers, and the Vertex AI format, and a unified model API in preview puts several backends behind one OpenAI-compatible endpoint. Policies cover token limits and quotas per subscription or any key, semantic caching with Azure Managed Redis, content safety checks, and token metrics. Backends balance by round robin, weight, priority, or session, with a circuit breaker that honors Retry-After.
On MCP it matches Kong's two main modes. API Management can expose a REST API it manages as an MCP server, with operations as tools, or front an existing MCP server, and it can import A2A agent APIs. It supports MCP tools but not MCP resources or prompts, MCP features are not supported in workspaces, and policies apply to every tool in a server at once. A self-hosted gateway can manage MCP servers in your own infrastructure.
The cost is the cloud. Identity runs through Microsoft Entra and subscriptions, pricing follows Azure service tiers, and a team outside Azure takes on a second cloud to adopt it.
Best for: organizations on Azure that want an API gateway with AI and MCP policies, managed by Microsoft, in place of Kong.
When a hosted gateway is enough
A hosted gateway removes the operating work entirely if prompts may leave your network. Cloudflare AI Gateway adds logs, caching, rate limiting, and fallback in front of your provider accounts, and its core features are free on all plans. It is a narrower product than Kong, with no API management, and OpenRouter alternatives compares it with the other hosted options.
Which alternative fits which reason
Match the option to the reason you are leaving Kong, because each one trades away something Kong does well.
| If you are leaving because of | Pick | What you give up |
|---|---|---|
| The AI license for routing, budgets, and MCP | Bifrost | Kong's API management for non-AI traffic |
| Konnect as a required control plane | Bifrost or agentgateway | A vendor-run control plane and its UI |
| MCP and agents on Kubernetes | agentgateway or Agent Router | Consumer groups and dollar budgets, rebuilt by hand |
| Wanting the same plugin model, open source | Apache APISIX | An MCP gateway |
| A move to Azure | Azure API Management | Portability across clouds |
| Provider coverage | LiteLLM | A compiled data plane and some enterprise controls |
If none of these rows describes you, the answer may be Kong itself. A team that already runs Kong Enterprise gets AI traffic under the same consumers, plugins, and audit trail it uses for APIs, and that is hard to reproduce. What an LLM gateway does lists the failure cases to load-test on any finalist.
How to move off Kong AI Gateway without an outage
Run the new gateway next to Kong and move one route at a time, with Kong kept as the rollback path until the new gateway has carried real traffic. Clients only see a base URL and a credential, so the risk sits in limits, failover, and tool access that behave differently.
- Export Kong's configuration. Dump the AI routes, consumers, consumer groups, and plugin or policy configuration with decK, so you have one file to translate and to diff later.
- Decide the boundary. Mark which routes are AI traffic and which stay on Kong. Most teams keep Kong for REST APIs and point only model and MCP clients at the new gateway.
- Recreate providers, keys, and limits. Translate AI Models into the new gateway's providers and routing, and consumer groups into keys, teams, or budgets. Note every place a token limit becomes a dollar budget, or the reverse.
- Rebuild MCP servers. Point proxied MCP servers at the new gateway, and rebuild REST-converted tools from OpenAPI documents where the new gateway supports it. Check that each caller sees the same tools as before.
- Move one low-risk route. Change its base URL and compare responses, latency, token counts, and computed cost against Kong's analytics, with both gateways' request logs side by side.
- Test the failure paths. Exhaust a budget, trigger a
429, remove a provider to exercise the fallback chain, call a tool the caller should not see, and stream a long response with tool calls. - Retire Kong's AI routes after a billing period. Keep them until spend in the new gateway reconciles with provider invoices. Until then, rollback is a base URL change.
Frequently asked questions
What is the best Kong AI Gateway alternative?
For a team that wants AI traffic in its own self-hosted gateway, Bifrost: its open-source core includes virtual keys with budgets, provider failover, an MCP gateway, and A2A routing. Teams on Kubernetes that are mostly routing agents and MCP servers should look at agentgateway or Agent Router, and teams that want another API gateway should look at Apache APISIX or Azure API Management.
Is Kong AI Gateway open source?
Partly. Kong Gateway is Apache 2.0, and Kong open-sourced its first AI plugins, including AI Proxy, in Kong Gateway 3.6 in February 2024. AI Proxy Advanced, AI MCP Proxy, AI Semantic Cache, and AI Rate Limiting Advanced are documented as part of the AI Gateway Enterprise offering, and a fully self-hosted install of AI Gateway 2.x needs an Enterprise license.
Does Kong have an MCP gateway?
Yes. The AI MCP Proxy plugin, Enterprise-only and available from Kong Gateway 3.12, proxies MCP servers, converts REST APIs into MCP tools, and aggregates tools behind one endpoint. From 3.13 it filters tools per consumer or consumer group with allow and deny lists. One mode, upstream-server, has no self-hosted equivalent.
What is the difference between Kong AI Gateway 2.x and the 3.x plugins?
Kong Gateway 3.x exposes AI features as plugins, mainly AI Proxy Advanced, AI MCP Proxy, and AI A2A Proxy, attached to Services and Routes. AI Gateway 2.x adds a dedicated control plane in Konnect where you declare AI Models, Providers, MCP Servers, and Agents, and it generates the underlying Kong configuration. On-prem 3.x users write the plugin configuration or convert 2.x entity files with decK.
Can you keep Kong for APIs and use another gateway for AI traffic?
Yes, and it is the most common pattern. Kong keeps serving REST APIs, and model and MCP clients point at a dedicated AI gateway such as Bifrost. Agents then reach REST APIs either through Kong directly or as MCP tools that the AI gateway builds from their OpenAPI documents.
How is Kong AI Gateway priced?
Kong sells AI management as its own solution. On the self-serve Plus tier, the AI plugins are an add-on metered by the number of models proxied and by request volume, with a 30-day trial. Enterprise and fully self-hosted Gateway Enterprise are priced by contract, so request a quote for your volume.
Sources
- 01AI GatewayKong docs
- 02AI Gateway 2.x conceptsKong docs
- 03AI Proxy AdvancedKong docs
- 04AI MCP ProxyKong docs
- 05Configure AI Gateway on-premKong docs
- 06Install AI Gateway with DockerKong docs
- 07PricingKong
- 08Kong open sources new AI GatewayKong press release
- 09BifrostGitHub
- 10MCP tool filteringBifrost docs
- 11OpenAPI serversBifrost docs
- 12Bifrost benchmarksMaxim AI
- 13agentgatewayagentgateway docs
- 14Cost controlsagentgateway docs
- 15ai-proxy-multiApache APISIX docs
- 16ai-rate-limitingApache APISIX docs
- 17Agent Router capabilitiesAgent Router docs
- 18MCP overviewLiteLLM docs
- 19AI gateway capabilities in Azure API ManagementMicrosoft Learn
- 20Overview of MCP servers in Azure API ManagementMicrosoft Learn