What is vLLM? The inference engine for 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 models run in production on your own GPU? WZ-IT plans, builds and operates local AI infrastructure - from GPU hardware through vLLM to the complete LLM stack, GDPR-compliant from one team. See GPU servers
Anyone running a language model themselves needs software that loads it and answers requests - an inference engine. vLLM is the most widespread choice for production, high-throughput operation. This article explains what vLLM does, why it is so fast and when it is the right choice over simpler tools. As of July 2026.
Table of contents
- What vLLM is for
- PagedAttention and continuous batching
- OpenAI-compatible API server
- Hardware and models
- vLLM or Ollama
What vLLM is for
vLLM is a fast, open-source library for LLM inference and serving. It originally emerged at UC Berkeley's Sky Computing Lab and is today developed further by a large community. Its job is the bottom layer of an AI system: load the model, keep it in GPU memory and answer requests efficiently.
vLLM's ambition is not "getting a model to run" - many tools can do that - but serving it with high throughput, so that many users and requests are served simultaneously on the same hardware. That is exactly what makes it the engine for production operation.
PagedAttention and continuous batching
vLLM's high throughput rests on two core ideas:
PagedAttention manages the memory for the attention intermediate values (the key-value cache) efficiently - similar to how an operating system manages memory in pages. This leaves less GPU memory unused, and more requests fit simultaneously on the same card. It is vLLM's namesake optimization.
Continuous batching bundles incoming requests continuously instead of waiting for a full batch, complemented by techniques like chunked prefill and prefix caching. The result is state-of-the-art throughput under concurrent load - the practical difference between a model for one user and a service for many.
OpenAI-compatible API server
vLLM provides an OpenAI-compatible API server (alongside, among others, the Anthropic Messages API and gRPC). That is decisive in operation: applications and a gateway like LiteLLM address vLLM in the familiar OpenAI format, without proprietary interfaces. This way vLLM fits seamlessly into existing tools and the rest of the stack.
Hardware and models
vLLM runs primarily on GPUs (NVIDIA and AMD) and additionally supports CPUs as well as other accelerators such as TPUs. For production operation of larger models, a GPU with sufficient VRAM is decisive; the right sizing depends on model size, context length and desired throughput.
On models, vLLM is broadly positioned: over 200 architectures from Hugging Face are supported, from decoder-only models through mixture-of-expert and multimodal models to embedding models. Widespread open families such as Llama, Qwen, Mistral and DeepSeek can be self-hosted with it.
vLLM or Ollama
The most common question in practice: vLLM or Ollama? In short - Ollama is the simplest entry point (one command, one model) and ideal for tests, single users and small loads. vLLM is built for throughput and concurrent requests and thus the choice when a model should reliably serve many users.
Both are interchangeable inference layers in the open-source LLM stack - behind them lies the same idea, to run the model on your own infrastructure. For production, sovereign AI in the enterprise, the path usually leads to vLLM as soon as more than a few concurrent requests come together.
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
vLLM is a fast, open-source library for LLM inference and serving, originally created at UC Berkeley's Sky Computing Lab. It serves language models with high throughput on GPUs and provides an OpenAI-compatible API server. vLLM is thus the layer that actually runs a model and answers requests.
PagedAttention is vLLM's core optimization: it manages the memory for the attention intermediate values (the key-value cache) efficiently, similar to how an operating system manages memory in pages. This wastes less GPU memory, and more requests fit simultaneously on the same hardware - the basis for vLLM's high throughput.
Both serve local language models, but with different focus. Ollama is built for simplicity - one command and a model runs, ideal for tests and small loads. vLLM is built for throughput and serves many concurrent requests efficiently, which makes it the choice for production operation with multiple users.
Yes. vLLM provides an OpenAI-compatible API server (plus, among others, the Anthropic Messages API and gRPC). Applications and gateways like LiteLLM can therefore address vLLM in the standard OpenAI format, without proprietary interfaces being necessary.
vLLM runs primarily on GPUs (NVIDIA and AMD) and additionally supports CPUs as well as other accelerators such as TPUs. For production operation of larger models with many requests, a suitable GPU with sufficient VRAM is decisive - the right sizing depends on model size, context length and desired throughput.
vLLM supports over 200 model architectures from Hugging Face, including decoder-only models, mixture-of-expert models, multimodal variants and embedding models. Widespread open model families such as Llama, Qwen, Mistral and DeepSeek can be self-hosted with it.
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






