vLLM is an open-source, high-throughput, and memory-efficient large language model inference and serving engine. It originated at the Sky Computing Lab at UC Berkeley (the PagedAttention paper was published at SOSP 2023) and is now maintained by more than 2,000 contributors from academia and industry. Its goal is to "make it easy, fast, and cheap for everyone to deploy LLM services."
Purpose: vLLM sits between model weights and applications. After users load an open-weight model from Hugging Face, vLLM starts an HTTP service compatible with the OpenAI Chat Completions API, so existing clients (such as the OpenAI SDK, Cursor, Claude Code, or custom applications) only need to change the base_url to connect. It is designed for high-concurrency serving rather than one-off demos, with streaming output, structured output, tool calling, and distributed inference all being first-class paths.
Key capabilities:
- PagedAttention: Divides the KV cache into fixed-size blocks (pages) stored non-contiguously in GPU memory, maps logical positions to physical blocks via a block table, allocates memory on demand, and supports block reuse for shared prefixes. This brings memory fragmentation close to zero, allows the same GPU to support larger batches, and significantly improves throughput.
- Continuous batching: Requests can dynamically join or leave the batch at each iteration without waiting for the entire batch to finish, improving GPU utilization.
- Chunked prefill: Long prompts are split into chunks and mixed with decoding work, avoiding head-of-line blocking and smoothing latency.
- Prefix caching: Reuses KV blocks for shared system prompts, few-shot examples, and multi-turn context.
- Quantization: Supports FP8, MXFP8/MXFP4, NVFP4, INT8, INT4, GPTQ, AWQ, GGUF, compressed-tensors, ModelOpt, TorchAO, and more.
- Optimized kernels: FlashAttention, FlashInfer, TRTLLM-GEN, FlashMLA, Triton attention; CUTLASS, TRTLLM-GEN, CuTeDSL GEMM/MoE.
- Speculative decoding: n-gram, suffix, EAGLE, and DFlash draft models reduce decoding latency.
- torch.compile: Automatic kernel generation and graph-level transformations.
- Structured output: Via xgrammar or guidance guarantees valid JSON/schema output.
- Tool calling and reasoning parsers: first-class support for agent and reasoning model workloads.
- Multi-LoRA: efficiently serve multiple LoRA adapters on dense and MoE models.
- Streaming output, parallel sampling, beam search, and disaggregated prefill/decode/encode.
Supported models: vLLM seamlessly supports over 200 model architectures on Hugging Face, usually without model-specific code changes, including decoder-only LLMs (Llama, Qwen, Gemma, etc.), mixture-of-experts (Mixtral, DeepSeek-V3, Qwen-MoE, GPT-OSS), hybrid attention/state space (Mamba, Qwen3.5), multimodal (LLaVA, Qwen-VL, Pixtral), embedding and retrieval (E5-Mistral, GTE, ColBERT), reward and classification (Qwen-Math, etc.). New models from major labs typically gain support quickly after release.
Supported hardware: NVIDIA GPU (primary and best-optimized path, with CUDA graphs, FlashAttention, TRTLLM kernels), AMD GPU (ROCm support, dedicated wheel index https://wheels.vllm.ai/rocm/)、Intel GPU (XPU backend, official Docker images available since v0.26.0), Google TPU, Intel Gaudi, IBM Spyre, Huawei Ascend, Rebellions NPU, Apple Silicon, MetaX GPU, Iluvatar CoreX (via plugin backend), and x86, ARM, PowerPC CPUs.
Usage: Install (NVIDIA CUDA, uv recommended): uv pip install vllm vllm download-kernels can pre-download compiled kernels, avoiding several minutes of compilation at startup on Hopper and newer GPUs. AMD ROCm uses a different index: uv pip install vllm --extra-index-url https://wheels.vllm.ai/rocm/ . Start the API server (default http://localhost:8000): vllm serve <model> The server implements the OpenAI API protocol; most OpenAI clients only need to change base_url and use any key string to work. Chat Completions, models, and completions endpoints are implemented, along with the Anthropic Messages API and gRPC. Authentication can be enabled via --api-key or VLLM_API_KEY (supports multiple key rotation). Distributed serving: tensor, pipeline, data, expert, and context parallelism let a single model span multiple GPUs and nodes; disaggregated serving splits prefill, decode, and encode into separate resource pools, improving utilization at scale. Structured output: guided_json, guided_regex, guided_choice, and grammar-based constraints guarantee schema-valid output via xgrammar/guidance. Multi-LoRA: serve multiple LoRA adapters on one base model with throughput close to a single model. Speculative decoding: n-gram, suffix, EAGLE, and DFlash draft models reduce per-token latency for interactive workloads.
Use cases: production chat/assistant APIs, coding agents and tool-calling applications, cost-sensitive self-hosting, batch inference/data processing, embedding and retrieval services, research and benchmarking.
Limitations: vLLM itself does not publish a named customer list, so specific adoption claims should be treated with caution; performance figures (e.g., continuous batching reports up to 23x throughput, the SOSP 2023 paper reports 2–4x throughput at similar latency) come from specific benchmarks, and actual performance depends on model, hardware, and traffic patterns, so benchmark it yourself. The project offers no free tier because the software is fully open source and self-hosted; third-party hosted vLLM services are independent commercial services charged at market rates.
License and pricing: Apache-2.0, free for commercial use, modification, and redistribution; the project itself charges no fees, and users only bear GPU/CPU, storage, and bandwidth costs.
Links: Website https://vllm.ai/ ; Documentation https://docs.vllm.ai/en/latest/ ;GitHub https://github.com/vllm-project/vllm ; Quick Start https://docs.vllm.ai/en/latest/getting_started/quickstart/ ; Supported Models https://docs.vllm.ai/en/latest/models/supported_models/ ; Roadmap https://roadmap.vllm.ai ; Blog https://blog.vllm.ai/ ; Paper https://arxiv.org/abs/2309.06180 。