What is LiteLLM? The gateway for many LLMs
Timo Wevelsiep•Updated: 23.07.2026Editorial note: Versions, commands and prices may change. Please verify critical steps independently before production use. This guide does not replace individual consulting.
Have AI infrastructure set up cleanly? WZ-IT builds and operates the open-source LLM stack on your own infrastructure - including gateway, inference and observability, GDPR-compliant from one team. See LLM hosting
As soon as more than one application uses a language model, the question of a central point of contact arises. LiteLLM is exactly that: a gateway that makes many models accessible through one interface and controls access. This article explains what LiteLLM does, why a gateway makes sense in the enterprise and how it sits in the open-source LLM stack. As of July 2026.
Table of contents
- The problem: many models, many APIs
- What LiteLLM does
- The LiteLLM Proxy (gateway)
- Why a gateway in the enterprise
- LiteLLM in the stack
The problem: many models, many APIs
In practice it rarely stays with one model. A self-hosted LLM for sensitive data, a specialized model for code, perhaps an external service for exceptional cases - and each has its own interface, authentication and billing. If these details are built into every application, a patchwork emerges: every model change means changes in many places.
A gateway solves this by placing itself between applications and models and offering one unified interface to the front.
What LiteLLM does
LiteLLM provides a single, OpenAI-compatible interface across more than 100 language models. An application sends its request in the standard OpenAI format to LiteLLM, and LiteLLM translates it to the respective provider - with a consistent response format, regardless of which model actually answers.
The practical effect: applications only need to know the OpenAI format. Whether a self-hosted vLLM, a local Ollama or an external service works behind it is transparent to the application. The model becomes replaceable.
The LiteLLM Proxy (gateway)
Beyond pure translation, the LiteLLM proxy brings the functions that make up production operations (LiteLLM documentation):
- Authentication and authorization - a central API gateway with access control.
- Cost tracking and budgets - track spend and set budgets per project.
- Rate limits - cap usage per user.
- Retry and fallback - automatic failover across multiple deployments.
- Admin dashboard - a surface for monitoring and management.
LiteLLM is open source (by BerriAI) and can be fully self-hosted via Docker - the gateway thus runs on your own infrastructure.
Why a gateway in the enterprise
The value of a gateway shows as soon as several teams or applications use the same model infrastructure. Instead of solving access, cost and failure handling anew in every application, they sit in one place:
- Governance - who may use which model, with which limit.
- Cost control - transparent budgets and tracking instead of opaque usage.
- Decoupling - swap or extend models in the background without touching applications.
- Availability - fallback increases robustness without every application building it itself.
That is the difference between "a model runs" and "AI is operated in the enterprise".
LiteLLM in the stack
In the open-source LLM stack, LiteLLM sits as the gateway layer between the applications and the inference. Below it, an engine like vLLM serves the models; beside it, an observability layer like Langfuse records the requests. LiteLLM is thus the central control point that turns one or several running models into a controllable, auditable service - the prerequisite for a sovereign, production AI operation.
Rather have it operated?
You'd rather not run Local & Sovereign AI yourself? WZ-IT handles setup, operations and maintenance - GDPR-compliant from Germany.
Frequently Asked Questions
Answers to the most important questions
LiteLLM is an open-source gateway (proxy) that makes more than 100 different language models accessible through a single, OpenAI-compatible interface. An application talks only to LiteLLM in the standard OpenAI format, and LiteLLM translates the request to the respective model provider - whether self-hosted vLLM, Ollama or an external service runs behind it.
A gateway decouples applications from concrete models and centralizes operations: authentication, budgets and cost tracking, rate limits and fallback across multiple models sit in one place instead of in every application. That way the model can be swapped or extended in the background without touching the applications.
Yes. LiteLLM is open source (by BerriAI) and can be fully self-hosted via Docker. That way the gateway runs on your own infrastructure and the requests including prompts stay under your control - fitting a sovereign, GDPR-compliant AI operation.
vLLM is the inference engine that actually serves a model and computes requests. LiteLLM is the gateway above it that bundles and controls access to one or several such models. The two complement each other: vLLM delivers the answers, LiteLLM governs who may access them, how much and in which format.
Yes. The LiteLLM proxy tracks spend and allows budgets per project or user, plus rate limits and an admin dashboard for monitoring. That is especially valuable when several teams or applications use the same model infrastructure.
LiteLLM supports retry and fallback logic across multiple deployments. If a model or provider fails, the request can be automatically passed to another. This way the gateway increases availability without the calling application having to implement failure handling itself.
More on Local & Sovereign AI
- The open-source LLM stack
- What is LiteLLM?
- What is Langfuse?
- What is vLLM?
- vLLM vs. Ollama
- What is RAG?
- Connect Open WebUI to Nextcloud (RAG with ACLs)
- What is local AI?
- Cloud AI vs. self-hosted
- AI sovereignty for companies
- Which LLM to self-host?
- Sizing GPU & VRAM
- Qdrant vs. pgvector
- The EU AI Act for companies
- Local AI for confidentiality professions
- Processing documents with AI
- AI agents & automation






