vLLM is an open-source, high-throughput, memory-efficient large model inference and serving engine, initially developed by the Sky Computing Lab at UC Berkeley and now jointly maintained by a community of 2000+ contributors from universities and companies worldwide. The official slogan is "make it easy, fast, and cheap for everyone to deploy large model services."
Purpose and positioning vLLM is an inference engine, not a chatbot or a model. You provide an open-weight model from Hugging Face, and vLLM runs it as an OpenAI-compatible API service, while also supporting the Anthropic Messages API and gRPC. It is aimed at service deployment rather than one-off demos; high concurrency, memory efficiency, streaming output, structured outputs, tool calling, and distributed inference are all first-class citizens.
Main capabilities The core architecture is PagedAttention: it manages the KV cache using fixed-size "pages" much like operating system virtual memory, storing them non-contiguously in GPU memory, mapping logical token positions to physical blocks via a block table, allocating GPU memory on demand, and allowing blocks to be reused across requests that share a prefix. The result is near-zero memory fragmentation, larger batches in the same amount of memory, and significantly higher throughput.
This works together with continuous batching (requests dynamically enter and leave the batch at each iteration step), chunked prefill (long prompts are split into chunks and mixed with decode tasks to avoid head-of-line blocking), and prefix caching (reusing KV blocks for shared system prompts, few-shot examples, and multi-turn context).
Other capabilities include: quantization (FP8, MXFP8/MXFP4, NVFP4, INT8, INT4, GPTQ, AWQ, GGUF, compressed-tensors, ModelOpt, TorchAO, etc.); optimized kernels (FlashAttention, FlashInfer, TRTLLM-GEN, FlashMLA, Triton attention, CUTLASS, TRTLLM-GEN, CuTeDSL GEMM/MoE); speculative decoding (n-gram, suffix, EAGLE, DFlash); torch.compile graph transformations; structured outputs (guaranteeing valid JSON/schema via xgrammar/guidance); tool calling and reasoning parsers; Multi-LoRA (efficiently serving multiple LoRA adapters on the same base model); streaming output, parallel sampling, beam search, and Prefill/Decode/Encode disaggregation.
Model and hardware coverage Supports 200+ Hugging Face model architectures, usually without needing to modify model code, including dense LLMs (Llama, Qwen, Gemma, etc.), MoE (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 models, and more.
Hardware coverage includes NVIDIA GPUs (most thoroughly optimized), AMD GPUs (ROCm, dedicated wheel source), Intel GPUs (XPU backend), Google TPU, Intel Gaudi, IBM Spyre, Huawei Ascend, Rebellions NPU, Apple Silicon, MetaX GPUs, Enflame CoreX (plugin backend), and x86/ARM/PowerPC CPUs.
How to use Install (NVIDIA CUDA, uv recommended): uv pip install vllm vllm download-kernels can pre-download compiled kernels, avoiding the several-minute compilation wait at startup on Hopper and newer GPUs.
Start the API service (default http://localhost:8000): vllm serve <model name>
AMD ROCm uses a different source: uv pip install vllm --extra-index-url https://wheels.vllm.ai/rocm/ .
The service implements the OpenAI API protocol; most OpenAI clients only need to change base_url and fill in any key to use it. Chat Completions, models, and completions endpoints are implemented; authentication can be enabled with --api-key or VLLM_API_KEY (multiple keys can be rotated).
Use cases Production chat/assistant APIs; coding agents and tool-calling applications; low-cost self-hosting (replace hosted APIs with your own GPUs, serve multiple fine-tuned versions with Multi-LoRA); batch inference/data processing; embedding and retrieval services; research and evaluation (fine-grained control over parallelism strategies, quantization, and scheduling).
Distributed and at scale Supports tensor, pipeline, data, expert, and context parallelism, letting one model span multiple GPUs and machines; disaggregated serving splits prefill, decode, and encoding into independent resource pools. vLLM Production Stack provides Kubernetes-native deployment with routing and autoscaling.
Performance notes The continuous batching article reports up to 23x higher throughput than naive batching while reducing p50 latency; the SOSP 2023 paper reports 2–4x the throughput of prior systems at similar latency. The project publishes reproducible benchmark recipes. The actual best engine depends on your own model, hardware, and traffic patterns; testing is recommended.
License and costs Apache-2.0, free for commercial use, modification, and redistribution; the project itself charges no fees, and costs are only GPU/CPU, storage, and bandwidth. Hosted vLLM services offered by third-party platforms are independent commercial services, not vLLM itself; the software is fully open source and self-hostable, with no so-called "free tier."
Limitations and notes vLLM does not provide model weights; you must supply them yourself; GPUs (NVIDIA/AMD) are the mainstream path, and support status for CPUs and other accelerators should be checked in the installation guide; check the supported models list before use; choosing between engines such as SGLang should be based on testing with your own workload.
Related links Official 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 (SOSP 2023):https://arxiv.org/abs/2309.06180