An LLM gateway is a proxy between your application and multiple model providers. It normalizes provider formats behind one OpenAI-compatible API, centralizes keys and billing, and adds routing to the model a request names, fallback models, budgets, protections, and logging. An API gateway routes service traffic; an LLM gateway understands models, tokens, and cost.
Why it matters
Without a gateway, every new provider means another integration, another key, another bill, and another place reliability can break. A gateway centralizes all of it behind one endpoint.
How it works
Requests hit the gateway, which normalizes them, routes each to the named model's provider, applies fallback models, budgets and protections, then logs the result. Because it sits in the path of every call, it is also the natural place for observability and cost control.