qmetrics.net

vLLM

High-throughput, memory-efficient inference and serving engine for LLMs

vLLM screenshot

vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.

Overview

vLLM is an inference and serving engine for large language models. It began in the Sky Computing Lab at UC Berkeley and is now maintained by a community of academic institutions and companies. It is used as a Python library and as a server that exposes models through an API.

For performance, it manages attention key and value memory with PagedAttention and batches incoming requests continuously. It also supports chunked prefill, prefix caching, CUDA/HIP graphs, speculative decoding (n-gram, suffix, EAGLE, DFlash) and disaggregated prefill, decode and encode. Quantization formats include FP8, MXFP4, NVFP4, INT8, INT4, GPTQ, AWQ and GGUF. Attention and GEMM/MoE kernels come from FlashAttention, FlashInfer, CUTLASS and others.

On the usage side, vLLM works with Hugging Face models and covers more than 200 architectures. These include decoder-only LLMs, mixture-of-experts models, hybrid state-space models, multi-modal models, and embedding, reward and classification models. It offers an OpenAI-compatible API server, plus Anthropic Messages API and gRPC support. It also provides streaming output, structured output via xgrammar or guidance, tool calling, reasoning parsers and multi-LoRA serving. Distributed inference is possible with tensor, pipeline, data, expert and context parallelism.

Hardware support covers NVIDIA, AMD and Intel GPUs and x86, ARM and PowerPC CPUs. Plugins add Google TPUs, Intel Gaudi, IBM Spyre, Huawei Ascend, Apple Silicon and other accelerators. Installation is through uv or pip, and Docker is also an option.

Key features

  • PagedAttention memory management
  • Continuous batching and chunked prefill
  • Prefix caching
  • Speculative decoding
  • Quantization (FP8, NVFP4, INT4, GPTQ, AWQ, GGUF)
  • OpenAI-compatible API server
  • Tensor, pipeline, expert and data parallelism
  • Multi-LoRA and structured outputs

Use cases

  • Serving open-source LLMs behind an OpenAI-compatible API
  • Running distributed inference across multiple GPUs
  • Deploying models on NVIDIA, AMD, Intel or TPU hardware
  • Serving multi-modal and embedding models
  • Cutting inference cost through higher hardware utilization

Does the same job as

vLLM doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare vLLM

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

★ 136.5k⟳ todayMIT
Open Source Alternative to:OpenAI API

Whisper

General-purpose speech recognition and translation model

Whisper is a speech recognition model trained on diverse audio. It supports multilingual transcription, speech-to-English translation, and language identification via Python or the command line.

★ 113.6k⟳ 2 months agoMIT

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0