vLLM Docker: serve a model with the official image
High-throughput LLM inference server for GPUs with an OpenAI-compatible API.
Quick answer
vLLM is a high-throughput LLM inference server for GPUs with an OpenAI-compatible API, listed under Local model runtimes. A typical small-business use: serve one open model to the whole company from a single GPU server. It needs a GPU server; we do not estimate that cost because GPU prices vary too much by card and provider. License: Apache-2.0, which allows internal business use.
Last updated · facts verified against official docs on · sources
Activity data comes from GitHub and was last refreshed Dec 6, 2026.
What is vLLM?
vLLM is the inference engine many companies use to serve open models at scale. PagedAttention memory management and continuous batching let it serve many concurrent users per GPU. It exposes an OpenAI-compatible server and supports NVIDIA, AMD and Intel GPUs, CPUs and other accelerators.
Where it fits in a 10–200 person business
- Serve one open model to the whole company from a single GPU server
- Back-end for chat UIs and RAG apps when Ollama becomes a bottleneck under concurrency
These use cases are our editorial suggestions, not claims made by the project.
Can a business use vLLM? (license)
| License | Apache-2.0 |
|---|---|
| Type | Permissive: MIT / Apache-2.0: use, modify and sell with few obligations. |
| Internal business use | Allowed under the license text |
| What to watch | Permissive. Internal and commercial use allowed. Models keep their own licenses. |
This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.
Data & compliance: does vLLM phone home?
| Telemetry (usage data sent to the vendor) | On by default Collects anonymous usage statistics by default. How to turn it off: Set VLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1, or create ~/.config/vllm/do_not_track. |
|---|---|
| Other calls home by default (updates, marketplaces, default cloud services) | Not documented |
| Single sign-on (OIDC / SAML / LDAP) | Not documented |
| Audit log | Not documented |
| Role-based access control (RBAC) | Not documented |
| Data residency / GDPR notes from the project | Not documented |
Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.
What hardware does vLLM need?
The project does not publish a minimum CPU/RAM figure, so we leave the official value blank rather than guess.
GPU: NVIDIA: compute capability 7.5 or higher (e.g. T4, RTX 20xx, A100, L4, H100, B200).
VRAM depends on the model and context length.
Source: docs.vllm.ai/en/latest/getting_started/installation/gpu/
How much does it cost to host vLLM per month?
Needs a GPU server for practical use. Not estimated, because GPU prices vary too much by card and provider.
How to deploy vLLM
The Docker example below is the NVIDIA path. Read the official GPU prerequisites before using it; model weights and context determine memory needs. The displayed server budget does not include a GPU rental quote.
Method: Official Docker image (NVIDIA example)
docker run --runtime nvidia --gpus all \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=$HF_TOKEN" \
-p 8000:8000 --ipc=host \
vllm/vllm-openai:latest --model Qwen/Qwen3-0.6B From the official instructions: docs.vllm.ai/en/latest/deployment/docker/. Always check the source for the current version before you run it.
Known gotchas when self-hosting vLLM
- In Docker, run with --ipc=host (or a large --shm-size), because PyTorch uses shared memory between processes, especially for tensor-parallel inference. source
Alternatives in Local model runtimes
- Ollama The simplest way to download and run open-weight LLMs locally behind an API. Compare Ollama vs vLLM
- llama.cpp Lightweight C/C++ engine that runs quantized open models on CPU or GPU, with an OpenAI-compatible server. Compare llama.cpp vs vLLM
- LocalAI OpenAI-compatible API for LLMs, vision, voice and images on any hardware. Compare LocalAI vs vLLM
- TextGen (text-generation-webui) Local LLM app (formerly text-generation-webui) with a browser UI, OpenAI/Anthropic-compatible API and LoRA training. Compare TextGen (text-generation-webui) vs vLLM
- SGLang Fast serving engine for LLMs and multimodal models on GPU servers, with an OpenAI-style API. Compare SGLang vs vLLM
- llamafile Mozilla.ai's single-file executables that bundle an open LLM with llama.cpp and run on most OSes with no install. Compare llamafile vs vLLM
- KTransformers CPU and GPU inference kernels with a model-serving CLI and SGLang integration. Compare KTransformers vs vLLM
- TensorRT LLM NVIDIA GPU inference toolkit with an OpenAI-compatible serving command. Compare TensorRT LLM vs vLLM
- Xinference Model-serving platform for LLM, embedding, rerank, speech and image models behind one OpenAI-compatible API. Compare vLLM vs Xinference
- llama-swap Hot-swap proxy that runs many local AI servers behind one OpenAI- and Anthropic-compatible API. Compare llama-swap vs vLLM
- Lemonade Local OpenAI-compatible server for chat, speech and image models on CPU, GPU or AMD NPU. Compare Lemonade vs vLLM
- GPUStack GPU cluster manager that deploys vLLM, SGLang and other engines behind an OpenAI-compatible API. Compare GPUStack vs vLLM
- Text Embeddings Inference Hugging Face's production server for open embedding, re-ranking and classification models. Compare Text Embeddings Inference vs vLLM
- Harbor (local LLM stack) One CLI to start a pre-wired local AI stack, such as Open WebUI with llama.cpp, Ollama or vLLM, plus 50+ services. Compare Harbor (local LLM stack) vs vLLM
- RamaLama Run and serve AI models as OCI containers with Podman or Docker, using an image matched to your GPU. Compare RamaLama vs vLLM
- Infinity High-throughput REST server for embeddings, reranking and classification models. Compare Infinity vs vLLM
Plan your deployment
Use these guides to check the model, hardware and operating decisions alongside the app comparison.
vLLM FAQ
How much RAM does vLLM need?
vLLM does not publish an official RAM figure, so we do not state one. VRAM depends on the model and context length.
Does vLLM need a GPU?
For practical use, yes. NVIDIA: compute capability 7.5 or higher (e.g. T4, RTX 20xx, A100, L4, H100, B200).
How much does it cost to self-host vLLM?
The software is free to download. It needs a GPU server; we do not estimate that cost because GPU prices vary too much by card and provider.
Is vLLM free for commercial use?
vLLM is licensed under Apache-2.0 (Permissive). Internal business use is allowed under the license text. Permissive. Internal and commercial use allowed. Models keep their own licenses. This is a summary, not legal advice.
What are common problems when self-hosting vLLM?
In Docker, run with --ipc=host (or a large --shm-size), because PyTorch uses shared memory between processes, especially for tensor-parallel inference.
Is vLLM still maintained?
Yes, it is actively developed. Last commit: Dec 6, 2026. Latest release: v0.34.0 (Nov 18, 2026). Checked Dec 6, 2026.
How do I install vLLM?
The official method is Official Docker image (NVIDIA example). The exact commands are in the "How to deploy" section above and in the official instructions: https://docs.vllm.ai/en/latest/deployment/docker/
What are self-hosted alternatives to vLLM?
Other apps in Local model runtimes: Ollama, llama.cpp, LocalAI, TextGen (text-generation-webui), SGLang, llamafile, KTransformers, TensorRT LLM, Xinference, llama-swap, Lemonade, GPUStack, Text Embeddings Inference, Harbor (local LLM stack), RamaLama, Infinity.
Sources
- GitHub repository: github.com/vllm-project/vllm
- Official documentation, Hardware requirements, Gotcha 1: docs.vllm.ai/en/latest/getting_started/installation/gpu/
- License text: github.com/vllm-project/vllm/blob/main/LICENSE
- Deploy instructions: docs.vllm.ai/en/latest/deployment/docker/
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
Facts on this page were checked against the project's own repository and docs on 2026-10-22. Spotted something out of date? Tell us.