AI and MCP
.
12
Mins Read

The 12 Best AI Gateways in 2026

Twelve AI gateways compared on the things enterprise buyers check first: LLM routing, token and cost controls, guardrails, MCP support, deployment and licence. Every entry was checked against the vendor's own docs and pricing pages on 1 December 2026.

Dhayalan Subramanian
Associate Director - Product Growth at DigitalAPI
.
01 December 2026
In this blog
Share blog
TL;DR:

What is the best AI gateway in 2026?

The best AI gateway depends on where your traffic already runs. DigitalAPI suits teams that want one gateway for LLM and MCP traffic across their existing gateways.

Kong, Azure API Management and Apigee suit teams that want AI policies inside one API platform. LiteLLM, Bifrost and Agent Router suit teams that must self-host. Cloudflare, Vercel and OpenRouter suit teams that want a managed endpoint with no infrastructure to run.

Your first LLM feature called one model with one API key. Now nine teams use four model providers, and an MCP server lets agents query the order system. Finance wants cost by team.

Security wants card numbers kept out of prompts. Nobody can say which agent called which tool last Tuesday.

That is the problem AI gateways solve. It is also why choosing the best AI gateway is now a platform decision, not a developer preference. Menlo Ventures' 2026 State of Enterprise AI report found that enterprise AI deployment spend reached $177B by September 2026, up from $33B in 2025. The market moved fast in 2026: Palo Alto Networks bought Portkey and Envoy AI Gateway became Agent Router. Every major API management vendor now ships token limits and MCP policies.

This guide compares 12 top AI gateways on the same criteria. We checked licence, deployment and pricing against each vendor's own docs, most recently on 1 December 2026.

best AI gateway landscape 2026 showing 12 AI gateways grouped into API management platforms with AI extensions, managed hosted gateways and open-source or open-core LLM gateways

Which AI gateway is best for your use case?

There is no single best AI gateway for every team. Pick by where your traffic runs today and where your prompts are allowed to go. These five lines cover most enterprise buying decisions:

  • Best for one gateway across LLM and MCP traffic: DigitalAPI, which governs model calls and agent tool calls across the API gateways you already run.
  • Best if you run an API platform: Kong AI Gateway, for LLM, MCP and A2A traffic in one control plane.
  • Best for Azure and Microsoft Foundry shops: Azure API Management, where the AI gateway is part of every tier.
  • Best open-source, self-hosted LLM gateway: LiteLLM for provider breadth, or Bifrost for low overhead.
  • Best managed gateway with no infrastructure: Vercel AI Gateway or Cloudflare AI Gateway.

What does an AI gateway do, and how did we evaluate them?

An AI gateway is a proxy between your apps or agents and the AI services they call. It centralizes model routing, credentials, token and cost limits, safety checks and logging, so each team does not rebuild them. Most gateways now also govern MCP tool calls, not only LLM calls.

Definition

AI gateway

An AI gateway is a control point for AI traffic. It sits between applications or agents and the AI models, MCP servers and agent APIs they call. It applies routing, authentication, token quotas, caching, guardrails and observability to every request. Gartner's Market Guide for AI Gateways (October 2025) calls them a key component of enterprise AI management. They govern AI applications and agents, enforce guardrails and manage costs across models and providers.

Gartner groups vendors into three archetypes (IBM summary of the Gartner Market Guide). They are API management platforms adding AI extensions, AI platforms with built-in gateways, and purpose-built open-source or open-core gateways. We use the same grouping below. Gartner's August 2026 securing AI forecast puts AI gateway spending at $429 million in 2027, up 70.9% from 2026.

New to the topic? Start with what is an AI gateway and what is an LLM gateway. Then read AI gateway vs LLM gateway and AI gateway vs MCP gateway vs API gateway. Buyers searching for the best LLM gateway are usually comparing the same products listed here.

We scored each gateway on seven criteria:

  1. LLM routing and resilience: multi-provider support, fallback, load balancing, retries.
  2. Token and cost control: token rate limits, budgets, per-team cost attribution.
  3. Caching: exact and semantic caching to cut repeat calls.
  4. Guardrails: prompt injection, PII redaction, content moderation.
  5. MCP and agent support: MCP proxying or registry, tool-level auth, A2A.
  6. Deployment and data control: SaaS, self-hosted, VPC, air-gapped.
  7. Licence and pricing model: open source, open core or proprietary; public or quote-based pricing.

We did not run our own latency benchmarks; vendor latency figures are labelled as such.

How do the best AI gateways compare?

API management platforms lead on governance and MCP policy. Open-source gateways lead on self-hosting and provider breadth. Managed services lead on time to first request. The table compares all 12 on the same columns, with pricing as of December 2026.

The 12 best AI gateways compared (December 2026)

GatewayTypeLicenceDeploymentLLM routing and fallbackToken and cost controlsSemantic cacheGuardrailsMCP supportPricing model (Dec 2026)
DigitalAPIAPI platformProprietarySelf-hosted, VPC, managed single-tenant, on-premYes (ai-proxy-multi: weighted routing, retries, fallback, health checks)Yes (ai-rate-limiting token limits; AI token and cost analytics)Not documentedRegex prompt guard (ai-prompt-guard); default-deny RBAC per agent and toolYes (MCP Gateway, MCP Studio)Growth $8k/month; Enterprise quote
Kong AI GatewayAPI platformCore Apache 2.0; some AI plugins paidKonnect SaaS, hybrid, dedicated cloud, self-hostedYesYesYes (paid plugin)Yes, plus AWS, Azure, GCP integrationsYes, plus A2APlus from $25/month plus usage; Enterprise quote
Azure API ManagementAPI platformProprietaryAzure managedYes (load balancer, circuit breaker)Yes (llm-token-limit)Yes (external Redis)Azure AI Content SafetyYes, plus A2APer tier; Consumption per call
Google ApigeeAPI platformProprietaryGoogle Cloud, Apigee hybridYesYes (LLM Token Limit policy)Yes (Comprehensive env.)Model ArmorYesPay-as-you-go or subscription quote
Cloudflare AI GatewayManagedProprietaryCloudflare edgeYesRate limits, cost analyticsYes (response cache)Guardrails, DLPNot covered hereCore features free
Vercel AI GatewayManagedProprietaryHosted, any cloudYesBudgetsProvider prompt cachingZDR, provider allowlistsNot covered hereProvider price, zero markup
OpenRouterManagedProprietaryHostedYesCredits, BYOKNot covered hereZDR settingsNot covered here5.5% fee on credit purchases
Prisma AIRS AI Gateway (Portkey)Open coreGateway MITCloud, self-hosted, private cloudYesYesHosted and Enterprise only40+ guardrailsYesOpen source free; commercial quote
LiteLLMOpen coreMIT (enterprise folder excluded)Self-hostedYesYes (virtual keys, spend)Caching (check semantic)YesYes, plus A2AFree; Enterprise quote
BifrostOpen coreApache 2.0Self-hostedYesYes (budgets, virtual keys)YesEnterpriseYes (Enterprise)Free; Enterprise quote
TrueFoundry AI GatewayAI platformProprietarySaaS, VPC, on-prem, air-gappedYesYesNot covered hereYes, plus integrationsYes$0, $25/user/month, Enterprise quote
Agent Router (ex Envoy AI Gateway)Open sourceApache 2.0Kubernetes, localYesToken limitsNot covered hereNot covered hereYesFree

Swipe sideways to see all columns →

"Not covered here" means the feature was not described in the official docs we reviewed, not that it is absent. Check with the vendor before you rule a product out.

AI gateways comparison matrix showing which of the 12 best AI gateways support LLM routing, token cost controls, semantic caching, guardrails and MCP

What are the 12 best AI gateways in 2026?

The 12 best AI gateways in 2026 span three groups: API management platforms, managed services and open-source or open-core gateways. Each entry covers best for, key features, pros, cons and pricing.

Entries 1 to 4 are API platforms with AI extensions, starting with our own platform. Entries 5 to 7 are managed services, and 8 to 12 are open-source, open-core or AI-platform gateways. Within each group, the order reflects fit for multi-team enterprise governance, not one overall score.

1. MCP Gateway and API Gateway by DigitalAPI

Best for: enterprises whose AI agents call internal and partner APIs over MCP and also call LLMs. It gives one policy and audit trail across several API gateways.

Key features: the MCP Gateway maps MCP client identity to your existing OAuth 2.1, API key or mTLS auth. It brokers credentials without exposing secrets and applies default-deny policy with RBAC per agent, tool and partner. It also records every decision.

MCP Studio turns an OpenAPI spec into an MCP server without wrapper code. The API Gateway (Helix) exposes APIs as MCP tools with scoped agent credentials. The API Gateway Manager works across Kong, Azure, MuleSoft, Apigee X and AWS API Gateway.

For model traffic, the Helix API Gateway ships AI plugins, per the Helix docs checked 1 December 2026:

  • ai-proxy and ai-proxy-multi: one API for OpenAI, Anthropic, Azure, Gemini, Vertex AI, DeepSeek, OpenRouter and other OpenAI-compatible providers. The multi version adds weighted load balancing, retries, fallback and health checks.
  • ai-rate-limiting: token-based limits per time window, on total, prompt or completion tokens.
  • ai-prompt-guard: allow and deny regex patterns on prompts.
  • Prompt and RAG plugins: prompt decorators, templates, request rewriting and retrieval-augmented generation with Azure AI Search.

The control plane's analytics API reports AI token usage and AI cost over any time range.

Pros: governs both hops of agent traffic: model calls through the AI plugins and tool calls through the MCP Gateway. MCP calls share the audit and metering of HTTP API traffic. It runs self-hosted, in a VPC, single-tenant or on-prem.

Cons: the docs do not describe semantic caching for LLM responses, as of December 2026. Prompt guarding is regex-based, with no built-in PII redaction or content moderation model. Teams that need those would add a guardrail service.

Pricing (as of December 2026): the MCP Gateway page (checked 1 December 2026) lists the MCP Gateway in the Growth plan at $8k/month. It is also in Enterprise. Standalone licensing for the gateway alone is also available. Other modules are quote-based per the pricing page.

2. Kong AI Gateway

Best for: teams on Kong that want LLM, MCP and agent-to-agent (A2A) traffic under the same policies as their APIs.

Key features: per Kong's AI Gateway docs, one API spans OpenAI, Anthropic, Azure AI, Amazon Bedrock, Gemini and others. It load-balances and fails over between them. Policies cover semantic caching, prompt guards, PII redaction (AI Sanitizer), token rate limiting and per-request cost. Guardrail integrations cover AWS, Azure and Google.

MCP support includes exposing APIs as MCP tools, aggregating MCP servers and OAuth2-scoped tool calls.

Pros: broad coverage of LLM, MCP and A2A traffic; SaaS, hybrid, dedicated cloud or self-hosted.

Cons: the Kong Gateway core is Apache 2.0, but several AI plugins are paid. Per Kong's pricing page, AI Semantic Cache, AI Sanitizer and AI Rate Limiting Advanced are add-ons on Plus and included in Enterprise.

Pricing (as of December 2026): per Kong's pricing page, AI Management Plus starts at $25/month plus usage. That includes 1 million requests a month and up to 5 proxied LLMs. Each extra million requests costs $200/month, and each extra model costs $100/month. Enterprise is custom-quoted.

3. Azure API Management (AI gateway)

Best for: organizations standardized on Azure, Azure OpenAI and Microsoft Foundry.

Key features: the AI gateway in Azure API Management is part of the existing gateway in all tiers. It governs OpenAI, Anthropic Messages (v2 tiers) and Vertex AI schemas.

Policies include llm-token-limit (per-consumer tokens per minute or quotas), llm-emit-token-metric, llm-semantic-cache-lookup and llm-semantic-cache-store, and Azure AI Content Safety checks. Backends add weighted, priority and session-aware load balancing with a circuit breaker. It can expose REST APIs as MCP servers and import A2A agent APIs.

Pros: deep Azure integration (managed identities, Foundry, Azure Monitor). See our Azure AI gateway guide.

Cons: capability availability varies by tier; semantic caching needs Azure Managed Redis or another RediSearch-compatible cache.

Pricing (as of December 2026): billed by APIM tier (Azure pricing). Consumption includes the first 1 million operations per subscription, then bills per operation. Classic and v2 tiers bill per unit, and Basic v2 includes 10 million requests per month. Azure's pricing page now also lists an API Management AI Gateway tier, with pricing marked "coming soon".

4. Google Apigee

Best for: Google Cloud and Vertex AI customers, and enterprises already running Apigee for API programs.

Key features: Apigee's AI capabilities include an LLM Token Limit policy, semantic caching, and dynamic model routing with automatic fallback. Model Armor handles prompt injection and content filtering. For MCP, Apigee can expose APIs as MCP tools and secure MCP proxies with OAuth. It can also register MCP servers in API hub.

Pros: mature API management, analytics and monetization next to AI policies; runs as Apigee or Apigee hybrid.

Cons: semantic caching runs only in Comprehensive environments. It also needs a Vertex AI Vector Search index (semantic caching docs). Model Armor must be in the same region as Apigee.

Pricing (as of December 2026): Apigee offers a 60-day free evaluation and quote-based subscription tiers (Apigee pricing). Pay-as-you-go is priced by environment type (Base, Intermediate, Comprehensive) and API call volume.

5. Cloudflare AI Gateway

Best for: teams on Cloudflare that want analytics, caching and rate limiting on LLM calls for free, at the edge.

Key features: per Cloudflare's docs, it offers analytics on requests, tokens and cost, plus logging, caching and rate limiting. It adds retries, model fallback, model aliases and dynamic routes for conditional flows. Providers include Workers AI, OpenAI, Anthropic, Google Gemini and Replicate. Guardrails and DLP scanning are available.

Pros: core features are free; nothing to run.

Cons: traffic and logs pass through Cloudflare, which may not suit strict data-residency rules. Cloudflare bills guardrails as Workers AI inference.

Pricing (as of December 2026): per the pricing reference, analytics, caching, rate limiting and DLP are free on all plans. Unified Billing adds a 5% fee on credit purchases. Accounts whose first gateway was created on or after 24 September 2026 store logs under Workers Logs pricing.

6. Vercel AI Gateway

Best for: product teams that want one key for many models, spend budgets and failover, without running a proxy.

Key features: a hosted endpoint you can call from any cloud (Vercel docs). It routes across providers with ordered provider and model fallbacks. It logs every routing attempt with latency, tokens and cost, and sets budgets per team, project, API key or member. It supports BYOK, prompt caching, zero data retention and EU or US regional hosting (beta).

Pros: zero markup on provider token prices, including BYOK; many modalities.

Cons: BYOK spend does not count toward budgets; team-wide controls are paid add-ons; no self-hosted option.

Pricing (as of December 2026): per Vercel's AI Gateway pricing, you pay provider list price for tokens. There is no markup or platform fee. A free tier includes $5 of credit a month for a subset of models.

Add-ons include team-wide zero data retention ($0.10 per 1,000 requests) and regional hosting (5% of inference cost). BYOK without fallback costs $0.20 per 1,000 requests.

7. OpenRouter

Best for: fast multi-model experimentation and a single bill across hundreds of models.

Key features: one API key covers hundreds of models from many providers. It falls back automatically to the next provider on errors, and provider routing is configurable. It enforces zero data retention, and it does not log prompts and completions by default (OpenRouter FAQ).

Pros: quickest way to try many models; no inference markup.

Cons: lighter enterprise governance than API management platforms, and no self-hosting. The docs we reviewed describe no MCP or guardrail policy layer.

Pricing (as of December 2026): a 5.5% fee (minimum $0.80) on credit purchases, with provider pricing passed through. On pay-as-you-go, the first $25,000 a month of BYOK usage, measured at list price, carries no fee, then 5%.

8. Prisma AIRS AI Gateway (formerly Portkey)

Best for: security-led buyers who want AI gateway controls inside a wider AI security platform.

Key features: Palo Alto Networks completed its acquisition of Portkey on 29 May 2026. The portkey.ai site now reads "Portkey is now PRISMA AIRS AI Gateway". The open-source gateway stays MIT-licensed. It includes fallbacks, retries, weighted load balancing, 40+ prebuilt guardrails and an MCP gateway with per-team access control.

Pros: large guardrail catalogue; self-hostable open-source core; private enterprise deployments.

Cons: semantic caching is hosted and enterprise only. The commercial roadmap now sits inside Palo Alto Networks, so check packaging before you sign.

Pricing (as of December 2026): the open-source gateway is free. Portkey's pricing page now redirects to a Palo Alto Networks contact form, so treat commercial pricing as quote-based.

9. LiteLLM

Best for: platform teams that need the broadest provider coverage behind one self-hosted, OpenAI-compatible endpoint.

Key features: per LiteLLM's repo, a proxy for 100+ LLM APIs, now with a Rust core and a Python SDK. It offers virtual keys, spend tracking per project or user, guardrails, load balancing and caching. It also has an admin dashboard, an MCP gateway and A2A agent invocation. LiteLLM reports 8ms P95 latency at 1k RPS (vendor benchmark).

Pros: a widely used open source AI gateway; works with almost any provider.

Cons: the licence is MIT except the enterprise/ folder. SSO, SCIM, audit logs, air-gapped deployment and SLAs sit in the Enterprise tier. You run the proxy and its database yourself.

Pricing (as of December 2026): open source is free. Enterprise is custom-quoted, with a 30-day self-hosted trial key.

10. Bifrost

Best for: latency-sensitive production traffic where gateway overhead must stay in microseconds.

Key features: per Bifrost's repo, a Go gateway that unifies 23+ providers behind one OpenAI-compatible API. It offers automatic fallbacks, load balancing across keys and providers, and semantic caching. It also has virtual keys, rate limits, hierarchical budgets and Prometheus metrics. Maxim reports under 200µs of overhead at 5k RPS (vendor benchmark).

Pros: Apache 2.0; drop-in base-URL swap; web UI.

Cons: guardrails, the MCP gateway, clustering and adaptive load balancing are Enterprise features.

Pricing (as of December 2026): open source is free. Enterprise is available by demo request with no published price.

11. TrueFoundry AI Gateway

Best for: regulated enterprises that need a managed product but must deploy in their own VPC, on-prem or air-gapped.

Key features: per TrueFoundry, latency-based and weighted load balancing with fallback. Rate limits and budgets apply per team, user, model or app. It integrates guardrails from OpenAI Moderation, AWS Guardrails and Azure Content Safety. Its MCP gateway applies OAuth2 and RBAC to tool calls.

It reports sub-3ms internal latency (vendor claim) and routes to self-hosted models.

Pros: SaaS, VPC, on-prem, hybrid and air-gapped options; SOC 2 Type II, HIPAA and GDPR listed in its trust center.

Cons: proprietary; model counts differ across its own pages (1,600+, 2,500+), so confirm the providers you need.

Pricing (as of December 2026): Developer is $0 (up to 3 users) and Pro is $25 per user per month. Enterprise is custom, with an annual commitment.

12. Agent Router (formerly Envoy AI Gateway)

Best for: Kubernetes and Envoy-based platform teams that want a fully open-source gateway for model and MCP traffic.

Key features: Agent Router is the renamed Envoy AI Gateway ("Same code, same maintainers"). It is now an Agentic AI Foundation project under LF Projects. It offers one OpenAI-compatible API for 22 providers, with provider fallback and token limits per team, app or model. It also has one tool catalog across MCP servers and OpenTelemetry GenAI observability.

The repository keeps the Apache 2.0 licence.

Pros: vendor-neutral governance; fits clusters already running Envoy; supports Kubernetes InferencePool.

Cons: you operate it yourself, and it assumes Kubernetes skills.

Pricing (as of December 2026): free and open source.

How do you choose the best AI gateway for your team?

Start with your constraints, not features: where prompts may travel, which platform you already run, and who must see costs. Then shortlist two or three gateways and test them on your own traffic. A Gartner press release from August 2026 predicts that AI inference costs per agentic workflow will increase more than fivefold through 2028. Use this checklist in the evaluation:

  1. Data residency: can prompts and logs leave your network? If not, shortlist self-hosted or VPC options only.
  2. Existing platform: if you run Kong, Azure APIM or Apigee, test their AI policies first before adding a second gateway.
  3. Provider coverage: list every model provider and self-hosted model you use now and expect within a year.
  4. Cost attribution: can you set token budgets and see spend per team, app and API key? See our guide to AI model cost optimization via API gateways.
  5. Guardrails: prompt injection, PII redaction and output moderation, and whether they are built in or billed per call.
  6. MCP and agents: does it govern MCP tool calls with per-agent identity, tool-level RBAC and audit, or only LLM calls? Compare options in our best MCP gateways for 2026 guide.
  7. Licence gating: which features you need sit behind an enterprise licence?
  8. Pricing model: per request, per model, per seat, per credit fee or quote. Model the cost at 10 times today's traffic.
  9. Operations: who patches, scales and monitors the gateway, and what SLA you get.
  10. Exit cost: OpenAI-compatible APIs make switching easier; proprietary policy formats make it harder.

A managed AI gateway is right for you if:

  • You want a working endpoint with no infrastructure to run.
  • Your prompts and logs may pass through a vendor's network.
  • You want provider prices passed through, with fees on credits or add-ons instead of token markup.
  • You do not need a self-hosted option.

A self-hosted open-source gateway is right for you if:

  • Prompts and logs must stay inside your network.
  • You want no licence cost for the core gateway.
  • Your team can own upgrades, scaling and patches (and Kubernetes, for Agent Router).
  • You can check which enterprise features, such as SSO or audit logs, sit behind a paid licence.

Which open-source AI gateways are worth considering?

Five open source AI gateway options are production-grade. LiteLLM and the Portkey gateway use MIT; Bifrost, Agent Router and agentgateway use Apache 2.0. Most are open core, so check which features sit behind an enterprise licence.

Open-source AI gateways compared

Open-source gatewayLicenceLanguage or baseStrengthGated features to check
LiteLLMMIT (except enterprise/)Rust core, Python SDKProvider breadth, virtual keysSSO, SCIM, audit logs, air-gapped
BifrostApache 2.0GoLow overheadGuardrails, MCP gateway, clustering
Portkey gatewayMITNode.jsGuardrails, routing configsSemantic cache, prompt management
Agent RouterApache 2.0EnvoyKubernetes-native, MCP catalogNone (community project)
agentgatewayApache 2.0RustLLM, MCP and A2A in one proxyNone (Linux Foundation project)
Apache APISIX AI pluginsApache 2.0APISIX pluginsAdds AI plugins to an API gatewayVendor add-ons
Kong Gateway OSSApache 2.0Kong pluginsAI on an existing Kong data planePaid AI plugins

Swipe sideways to see all columns →

Two more worth knowing. agentgateway is a Linux Foundation project that handles LLM, MCP and A2A traffic in one proxy. Apache APISIX ships ai-proxy, ai-proxy-multi, ai-cache, ai-rate-limiting and ai-prompt-guard plugins. That suits teams that want AI policies on an existing open-source API gateway.

The trade-off: open source removes licence cost and keeps prompts in your network, but you own upgrades, scaling and patches.

Which is the top AI gateway for real-time decision making?

For real-time decisions, the top AI gateway adds the least latency and never blocks on a slow provider. That means a self-hosted, low-overhead proxy close to your app. It should use circuit breakers and streaming, and check token limits before the call. Bifrost, LiteLLM, Agent Router and Kong's data plane all run in your own network, which removes an extra internet hop.

Real-time use cases include fraud scoring, routing a support ticket or an agent approving a refund. Here is what matters when you pick a top AI gateway for real-time decision making:

  • Gateway overhead: vendor-reported overhead runs from microseconds to milliseconds. Bifrost reports under 200µs at 5k RPS, LiteLLM 8ms P95 at 1k RPS and TrueFoundry sub-3ms. None of these use a shared method, so run your own load test with your payload sizes.
  • Streaming: the gateway must pass server-sent events through without buffering.
  • Fail fast: use circuit breakers and ordered fallbacks so a slow provider does not hold the request. Azure APIM reads Retry-After to set trip duration.
  • Pre-call limits: Azure's llm-token-limit can estimate prompt tokens and reject over-limit requests before they reach the model.
  • Caching with care: semantic caching cuts latency on repeat questions but can return a stale answer for a time-sensitive decision. Scope it to safe, read-only prompts.
  • Placement: edge gateways help global users; a self-hosted gateway wins when app and model sit in one region.
real-time AI gateway latency path showing token limit check, semantic cache lookup, circuit breaker and model fallback between the application and the LLM provider

For the design side, see AI gateway architecture for safe, scalable AI routing.

Do you need one gateway or two?

Many enterprises end up with two layers. An LLM gateway handles model traffic, and an API or MCP gateway handles agent calls into internal systems. The model layer controls tokens, providers and prompts. The tool layer controls which agent may call which business API, with which credentials, and leaves an audit trail.

That second layer carries the riskier calls, because an agent with a broad token can reach customer data. An MCP gateway is built for that layer. See whether your existing API gateway can serve MCP first. It turns existing APIs into governed MCP tools and scopes access per agent and per tool. It records every call next to your HTTP API traffic.

See how DigitalAPI governs LLM and MCP traffic across the gateways you already run → Book a Demo

Key takeaways

  • There is no single best AI gateway: pick by data residency and existing platform. Also ask whether you must govern MCP tool calls as well as model calls.
  • API management platforms (Kong, Azure APIM, Apigee) now ship token limits, semantic caching, guardrails and MCP policies. Check them before adding another proxy.
  • Open-source gateways (LiteLLM, Bifrost, Portkey, Agent Router, agentgateway) keep prompts in your network. But enterprise features such as SSO, audit logs and some guardrails are often licence-gated.
  • Managed gateways (Cloudflare, Vercel, OpenRouter) are fastest to adopt. They pass through provider prices and charge fees on credits or add-ons, not token markup.
  • The market moved in 2026: Portkey is now Prisma AIRS AI Gateway and Envoy AI Gateway is now Agent Router. Re-check vendor status before you sign.
  • Latency figures are vendor-reported: load-test your shortlist on your own payloads before choosing a gateway for real-time decisions.

Frequently asked questions

1. What is the best AI gateway?

There is no single best AI gateway for every team. DigitalAPI suits teams that need one gateway for LLM and MCP traffic across the API gateways they already run. Kong AI Gateway, Azure API Management and Apigee suit enterprises that want AI policies inside one existing API platform. LiteLLM and Bifrost suit teams that must self-host.

Vercel, Cloudflare and OpenRouter suit teams that want a managed endpoint. Choose by data residency, current platform and whether you need MCP governance.

2. What is the difference between an AI gateway and an LLM gateway?

An LLM gateway routes and controls calls to large language models: provider routing, fallbacks, token limits, caching and cost tracking. An AI gateway covers that plus other AI traffic, such as MCP tool calls, agent-to-agent APIs, embeddings and image models. Many vendors use the two terms interchangeably, so compare actual features rather than labels.

3. Are there open-source AI gateways?

Yes. LiteLLM (MIT, except its enterprise folder) and the Portkey gateway (MIT) are open source. So are Bifrost, Agent Router (formerly Envoy AI Gateway) and agentgateway, all Apache 2.0. Kong Gateway and Apache APISIX are open-source API gateways with AI plugins. Most are open core, so features like SSO or advanced guardrails may need a paid licence.

4. Is an AI gateway the same as an API gateway?

No, but they overlap. An API gateway manages general API traffic with routing, authentication and rate limits. An AI gateway adds AI-specific controls such as token-based limits, semantic caching, prompt guardrails, model fallback and MCP tool governance. Kong, Azure API Management and Apigee now offer both in one product.

5. Do AI gateways support MCP?

Many do, as of December 2026. Kong, Azure API Management, Apigee, LiteLLM, the Portkey gateway, TrueFoundry, Agent Router and agentgateway document MCP support. Bifrost offers it in its Enterprise tier. MCP gateways built on API management platforms also govern agent calls to your own APIs, with per-agent and per-tool access control and a full audit trail.

6. How much does an AI gateway cost?

It ranges from free to custom enterprise contracts. Open-source gateways are free to run but you pay for infrastructure. Cloudflare's core features are free.

Vercel charges provider prices with no markup. OpenRouter adds a 5.5% fee on credit purchases. Kong Plus starts at $25/month plus usage. Enterprise tiers from most vendors are quote-based (prices as of December 2026).

7. What is the best AI gateway for real-time decision making?

For real-time workloads, pick a gateway with low, measured overhead that runs close to your application. It should support streaming and use circuit breakers and fallbacks, so a slow provider cannot stall a request. Bifrost and LiteLLM publish vendor latency benchmarks, and Kong, Agent Router and Azure APIM support self-hosted or regional placement. Load-test with your own payloads.

8. Is Portkey still open source after the Palo Alto Networks acquisition?

Yes. Palo Alto Networks completed its acquisition of Portkey on 29 May 2026 and now sells it as Prisma AIRS AI Gateway. The Portkey gateway repository on GitHub remains MIT-licensed as of December 2026. Commercial features such as semantic caching remain in the hosted and enterprise versions. Commercial pricing now goes through Palo Alto Networks sales.

Conclusion

The best AI gateway for your team is the one that fits where your traffic and data already live. If you run an API platform, its AI extensions are the shortest path to token limits, guardrails and MCP policies. If prompts cannot leave your network, a self-hosted gateway such as LiteLLM, Bifrost or Agent Router gives you control.

The cost is that you operate it yourself. If speed matters most, a managed gateway gets you to production in an afternoon.

Whatever you choose for model traffic, do not stop at the model. The riskier calls are the ones agents make into your own systems. Those need identity, tool-level access and an audit trail too.


Govern LLM and MCP traffic in one gateway: book an AI gateway demo. See every agent and tool call scoped

Prefer a walkthrough?
Book a Demo
About the author
Dhayalan Subramanian

Dhayalan Subramanian is Associate Director, Product Growth at DigitalAPI, where he leads go-to-market and product growth for the company’s multi-gateway API management platform. His work focuses on helping large enterprises and mid-market cloud companies consolidate APIs across AWS, Azure, Apigee, Kong, MuleSoft, and other gateways into a single control plane for governance, discovery, monetization, and agent consumption.

‍

Dhayalan brings 14+ years of experience across product strategy, enterprise architecture, and engineering leadership. Earlier in his career, he held senior roles at Encora (as Associate Architect and Technical Manager), Mindtree (Technology Lead), Tech Mahindra (Technical Lead), and Primus Analytics, where he designed integration frameworks and delivered enterprise-grade digital platforms for global customers.

‍

At DigitalAPI, he works directly with platform, integration, and developer experience leaders at Fortune 500 organizations to operationalize unified API catalogs, developer portals, and MCP-ready APIs. He writes regularly on API developer experience, API governance, and AI agent architectures.

Become AI-ready
Make every API agent-callable.
An 8-week pilot. We connect to your gateways, ship MCP-callable APIs, and onboard your first agent.
0 rip-and-replace
Same auth, same audit
Live in production in 8 weeks
Get started

One email a fortnight. Worth opening.

A short digest of what we're writing, what we're learning from customers, and the handful of links you'd actually want from us. No tracking pixels.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.