ModelRefs / AI Gateway — AI Glossary
AI Gateway — AI Glossary
A proxy layer between applications and AI providers handling authentication, routing, logging, rate limiting, and cost control. A gateway is not a router.
Overview
AI gateways (LiteLLM, PortKey, Kong AI Gateway, Cloudflare AI Gateway) provide a unified API surface across OpenAI, Anthropic, Google, and open-weights models. They are the foundational infrastructure layer for multi-provider AI architectures.
Reference details
| Topic | infrastructure |
|---|---|
| Also known as | LLM gateway, model gateway |
| Last reviewed | 2026-06-24 |
Related terms
Example: What breaks without one
Three services each hold their own OpenAI key. Someone needs per-team spend, so every service gets patched. Then a provider outage needs a failover, so every service is patched again. A gateway makes those one change in one place, because the application only ever talks to the gateway.
Commonly confused with
A gateway is not a router. Routing — choosing which model serves a request — is one feature a gateway may offer. The gateway itself is the proxy layer: one API surface, with auth, logging, rate limits, caching and failover behind it.
When to use it
Reach for it when:
- More than one service or team calls model providers
- You need per-team cost attribution, quotas or a kill switch
- Provider failover has to work without redeploying applications
Reach for something else when:
- One service, one provider — it is infrastructure with nothing to manage
- Latency is critical and you cannot absorb an extra network hop
- You have not planned for it being a single point of failure
Referenced by
This term is used by the following ModelRefs references:
Continue your research
Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to AI Gateway — AI Glossary.
Frequently asked questions
What is AI Gateway?
A proxy layer between applications and AI providers handling authentication, routing, logging, rate limiting, and cost control.
Is AI Gateway the same as LLM gateway?
Yes — LLM gateway, model gateway are common aliases for AI Gateway.
What concepts are related to AI Gateway?
Closely related concepts include model gateway, model routing, rate limiting.