BlogInfrastructure
AI gateway, LLM gateway, MCP gateway, API gateway: the difference
An API gateway manages traffic to your own services. An AI gateway manages calls from your applications to language models, and LLM gateway is another name for the same thing. An MCP gateway manages calls from an AI agent to tools. They are layers that sit in different places, so you rarely have to choose between them. You decide which ones you need already. As of 27 November 2026.
The four terms side by side
| Gateway | Traffic it governs | What it counts and limits | Examples |
|---|---|---|---|
| API gateway | Clients calling your own services | Requests per client | Kong, Azure API Management, Traefik |
| AI gateway, also called LLM gateway | Your applications and coding agents calling models | Tokens and money per team and key, with budgets | LiteLLM, Portkey, the AI features in Kong and Azure API Management |
| MCP gateway | An agent calling tools on MCP servers | Which caller may use which tool | The MCP gateway in LiteLLM, in Kong and in Traefik |
The product names overlap on purpose. Vendors of API gateways add AI features, and vendors of AI gateways add an MCP gateway. Look at the job a product does and ignore the label.
Why an API gateway is not enough for model traffic
An API gateway was built for requests that cost about the same each time. A model call does not behave like that. One request can cost a hundredth of a cent and the next one several euros, depending on how much text goes in and comes out.
- It counts requests. Model providers bill tokens, so a request limit says little about cost.
- It does not know models. Fallback to a second provider, or a cheaper model for simple tasks, is outside its vocabulary.
- It does not read prompts. Masking personal data or checking a response needs something that understands the payload.
- It has no budget in money. Telling a team that it has 500 euros a month is an AI gateway feature.
This does not always mean a second product. The Apache APISIX project makes the point that AI traffic is a new kind of load with its own rules, and that you can serve it either with a dedicated AI gateway or with AI plugins in the gateway you already run.
AI gateway or LLM gateway
In everyday use the two mean the same: one endpoint in front of all model providers, with keys, budgets, logging and routing. LLM gateway is the older and narrower word. AI gateway has become the umbrella term, and some vendors now use it for everything on this page at once: model calls, tool calls and calls between agents. When you compare products, ask which of those three a given "AI gateway" really covers.
Where the MCP gateway fits
The MCP gateway looks in the other direction. The AI gateway stands between your application and the model. The MCP gateway stands between the agent and the tools it wants to use: the ticket system, the database, the repository. It decides who may call which tool, and on whose behalf. Cost comes second there.
A single task often crosses both. An agent asks the model what to do through the AI gateway, then reads a ticket through the MCP gateway. That is why LiteLLM and several other products offer both in one system, with one set of teams and keys.
Which do you need
- One application calling one model: none yet. A provider key in a secret manager is enough.
- Several teams or applications calling models, or developers with coding agents: an AI gateway, so cost and access have one place.
- Agents that use tools in company systems: an MCP gateway as well, before the second MCP server is added.
- Your own services exposed to partners or the internet: an API gateway, which you probably already have.
We help companies decide which of these they need and set them up, with products chosen for the case and not the other way round.
Questions
Is an AI gateway the same as an API gateway?
No. An API gateway manages requests to your own services and limits them by count. An AI gateway manages calls to language models and limits them by tokens and cost. Many AI gateways are built on API gateway technology.
Is an LLM gateway the same as an AI gateway?
In most cases yes. LLM gateway is the narrower term for the layer in front of model providers. AI gateway is used for the same thing and, by some vendors, also for tool and agent traffic.
Do we need an MCP gateway if we have an AI gateway?
Only once agents use tools through MCP servers. Then yes, because an AI gateway governs model calls and does not decide which tool an agent may use. Several products, LiteLLM among them, include both.
Related services
AI platform for all teams
One approved route to AI for every team, with budgets, logs and a free choice of model, run on your servers or in your cloud.
LiteLLM gateway
Budgets and access rules for every team's AI use, through a LiteLLM gateway that is hardened, connected to your identity provider and kept up to date.
More from the blog
What an LLM gateway does
What an LLM gateway (also called an AI gateway or LLM proxy) takes off your applications and what it leaves to the rest of the platform, with the main options compared as of 7 November 2026.
MCP servers behind the gateway
How to control MCP servers centrally through a LiteLLM gateway: what is open by default, how key, team and organisation permissions combine, how to grant single tools, and who should approve a new server.
Azure API Management or LiteLLM
For companies on Azure: what the AI gateway features in Azure API Management cover, where LiteLLM goes further, and a short way to decide between one, the other or both.
Introducing an AI gateway
Introducing an AI gateway is a migration: find where models are called today, move applications and people over one by one, close the old paths, and make the gateway the easier way to get a model.
Talk to an engineer
Bring one piece of work you would like to improve. The call takes 30 minutes and needs no access to your systems or your data.
Booking runs on Google Calendar.

Mickey Graf
Founder and CEO of Cloudsail
Prefer to write first? Leave your email and a few lines. Mickey reads every message himself and replies by email with times for a call.
Look for the draft in your email program
Send it from there, and Mickey replies in person with times for a 30-minute call. If no draft has opened, write to us at miki@cloudsail.com.