vLLM
vLLM is an open-source inference and serving engine for large language models (LLMs), started at UC Berkeley’s Sky Computing Lab to run open-weight models with high throughput on GPUs.
The project grew out of the 2023 paper that introduced PagedAttention, which stores the KV cache in fixed-size blocks, much like an operating system pages virtual memory. Combined with continuous batching, prefix caching, and quantization formats such as FP8 and AWQ, it fits more concurrent requests onto the same hardware.
For Python developers, vLLM installs from PyPI as vllm and offers two entry points. The LLM class runs offline batch generation inside a script, with SamplingParams controlling settings like temperature. The vllm serve command starts an HTTP server that speaks the OpenAI API, so existing OpenAI clients and agent frameworks can target a self-hosted model by changing the base URL.
Models load from Hugging Face by default, and the project supports more than two hundred model architectures. The engine targets Linux and runs on NVIDIA, AMD, and Intel GPUs, on x86 and Arm CPUs, and on accelerators like Google TPUs.
vLLM is Apache 2.0 licensed and has been a PyTorch Foundation project since May 2025. In January 2026, its creators launched Inferact, a startup that commercializes the engine. Other serving engines in the same space include SGLang and NVIDIA’s TensorRT-LLM, while Ollama is a common alternative for running models on a single desktop.
Official website: vllm.ai
Related Resources
Tutorial
Hugging Face Transformers: Leverage Open-Source AI in Python
Get hands-on with Hugging Face Transformers in Python. Download, run, and inspect pretrained open-source AI models, and speed up inference on GPUs.
For additional information on related topics, take a look at the following resources:
- How to Integrate Local LLMs With Ollama and Python (Tutorial)
- How to Use Ollama to Run Large Language Models Locally (Tutorial)
- Build an LLM RAG Chatbot With LangChain (Tutorial)
- Pydantic AI: Build Type-Safe LLM Agents in Python (Tutorial)
- Hugging Face Transformers: Leverage Open-Source AI in Python (Quiz)
- How to Get Started With Ollama (Course)
- How to Integrate Local LLMs With Ollama and Python (Quiz)
- How to Use Ollama to Run Large Language Models Locally (Quiz)
- First Steps With LangChain (Course)
- Build an LLM RAG Chatbot With LangChain (Quiz)
- Building Type-Safe LLM Agents With Pydantic AI (Course)
- Pydantic AI: Build Type-Safe LLM Agents in Python (Quiz)
Have a question about this? Mentor AI can show you examples, compare related terms, and point you to tutorials.
By Martin Breuss • Updated Nov. 14, 2026