What Is vLLM? The Free High-Speed LLM Serving Engine Explained

What Is vLLM? The Free High-Speed LLM Serving Engine Explained

You have a powerful open language model — Llama, Qwen, Mistral — and a graphics card to run it on. The model answers one question at a time, slowly, while the card sits mostly idle. Or you want to put that model behind an app used by a hundred people at once. vLLM fixes exactly that: a free, open source engine that serves large language models at high speed, with about 97,800 stars. Its current release is v0.34.0, published on 16 November 2026. All numbers checked live on 30 November 2026.

vLLM is not a chatbot, and not a place to download models. It is the engine underneath: the software that loads a model onto your graphics cards, manages its memory, and answers many users at once. One command starts a server that speaks the same API as OpenAI, so any app built for OpenAI can point at your own model instead — no per-token bill, no account, your data on your own machine.


What vLLM Actually Is

vLLM is a high-throughput, memory-efficient inference and serving engine for large language models, written in Python. It started at UC Berkeley's Sky Computing Lab, and since May 2025 it has been a hosted project of the PyTorch Foundation. Its repository is vllm-project/vllm, and it is licensed under Apache 2.0 — genuinely open source, with no split licence and no proprietary edition.

The job is easy to state and hard to do well. A language model generates one token at a time, and for every token it needs the keys and values of every token before it — the KV cache — in card memory. Serve one user and the card is mostly idle. Serve a hundred the naive way and memory fragments, the card fills with half-empty reservations, and most requests wait. vLLM solves the memory problem and the scheduling problem together, so the same card serves many more users at once.

That makes vLLM infrastructure, not an application. You do not chat with vLLM directly. You run it behind something else: your own app, a document-chat tool, an internal company assistant, or a public API. It is why so many self-hosted AI products can afford to run at all.

The Story: From UC Berkeley to About 98,000 Stars

vLLM began in 2023, in the first wave of tools built after open language models became widely available. The team at UC Berkeley's Sky Computing Lab saw the waste: serving systems reserved far more graphics card memory than they used, and batching was clumsy because every user finished at a different time. Their answer, PagedAttention, was published at SOSP 2023, and the code was released as open source the same year.

Growth since then has been fast. The repository passed about 97,800 stars by 29 November 2026, with about 25,000 forks and more than 4,000 contributors. Releases land about every two weeks — v0.30.0 through v0.34.0 arrived between September and November 2026 alone — and the project moved under the PyTorch Foundation in May 2025.

The Licence, Explained Exactly: Apache 2.0 — Genuinely Open Source

vLLM is the clean case in this series — the opposite of the licence traps in the AnythingLLM, n8n, Dify and Open WebUI posts. vLLM is licensed under Apache 2.0, an OSI-approved open source licence, and the whole project is under it. No proprietary edition, no commercial-only feature, no terms calling the source a trade secret.

Apache 2.0 is one of the most permissive common licences. You may use, copy, modify and distribute the code, including commercially, provided you keep the copyright notice and state your changes. It also includes an express patent grant covering the code, which ends only if you sue over patent infringement in the project. For a business, that is meaningful protection the MIT licence does not spell out.

So describe vLLM plainly as open source — no qualification needed. Run it on your laptop or a server, sell a service built on it, modify it: all allowed under the licence.

How It Works: PagedAttention and Continuous Batching

First, PagedAttention, borrowed from operating systems. A normal serving system reserves one long block of card memory per request, sized for the maximum context length — say 32,000 tokens — even if the request only uses 1,000. The rest sits reserved and empty. The vLLM team measured that naive systems waste 60 to 80 percent of KV cache memory this way.

PagedAttention treats the KV cache like virtual memory: small fixed-size blocks — pages — allocated on demand as a sequence grows, freed the moment a request finishes, and shared when the prefix is the same. Waste is confined to the last half-filled block, so in the 2023 launch tests it fell to under 4 percent. The same trick makes parallel sampling and beam search cheaper: shared blocks cut memory use by up to 55 percent and lifted throughput by up to 2.2 times in those tests.

The second idea is continuous batching, which fixes the scheduling side. Old-style static batching waits for the slowest request in a batch to finish before starting the next, so a long answer holds up every short one beside it. vLLM schedules at the level of a single generation step: the moment any sequence emits its end token, a queued request takes its slot in the very next step.

Together the two ideas explain the headline number. In the 2023 launch benchmark, vLLM reached up to 24 times the throughput of a plain Hugging Face Transformers loop on the same hardware. Other engines have since copied both ideas, so treat 24 times as a 2023 comparison — but the mechanism is real: paging supplies the free memory, and continuous batching spends it.

The Two Ways to Use vLLM: Offline Inference and the API Server

vLLM has two faces, both on the same engine, so PagedAttention and continuous batching apply whichever you pick. The first is offline batch inference through the Python library: load a model once, hand it a list of prompts, get all the answers back. That suits running a model over a dataset, generating training data, or any job where nobody is waiting live. A few lines of Python — create the model, set the sampling settings, generate — and the library handles the rest.

The second face is the one most deployments use: the OpenAI-compatible API server. One command, vllm serve plus the model name, downloads the weights and starts a server on port 8000. It speaks the OpenAI Chat Completions and Responses APIs, plus the Anthropic Messages API, so any program written for OpenAI can point at your own model by changing one address. The server adds streaming, function calling, structured outputs, multi-LoRA serving — one base model serving many fine-tuned adapters — prefix caching, on by default, and Prometheus metrics.

You do not rewrite your app to use vLLM; you change the base address, and the same code that called a hosted provider now calls your own graphics card.

Models and Hardware: What Runs, and On What

vLLM supports a wide range of transformer-based models — Llama, Mistral, Qwen, GPT-style architectures — and follows new families quickly: v0.34.0 alone added ten, including Mistral Large 4, MiniMax-M3.1-Flash and Nemotron-3.5-Transcribe. Weights download automatically when you first serve a model, so the first start takes as long as the download.

On hardware, vLLM runs on NVIDIA, AMD and Intel graphics cards, and x86, Arm and PowerPC processors. Google TPU, Intel Gaudi, IBM Spyre, Huawei Ascend and Apple Silicon run through hardware plugins. CPU-only serving exists but is much slower — vLLM is a GPU engine first. For models too large for one card, it splits the work: tensor parallelism splits layers across cards, pipeline parallelism splits depth, expert parallelism spreads mixture-of-experts models, and data parallelism runs several copies side by side.

Model familyTypical sizesBest for
Llama 3.38B, 70BGeneral chat
Qwen 2.5 and Qwen37B to 72BStrong all-rounders
Mistral and Mixtral7B to LargeEfficient inference
DeepSeek, Gemma, PhiVariousReasoning, lightweight use
New in v0.34.0Mistral Large 4, MiniMax-M3.1-FlashLatest families
HardwareSupportNote
NVIDIA GPUsFullPrimary target; CUDA 13.0
AMD GPUsFullROCm 10.0 images in v0.34.0
Intel GPUs and CPUsSupportedXPU and CPU images shipped per release
TPU, Gaudi, Ascend, Apple SiliconVia pluginsVia plugins
CPU-onlySupported, slowMuch slower than any GPU

Quantization and Memory: Fitting Big Models on Smaller GPUs

A model in full precision is often too large for the card you own. Quantization shrinks the weights to fewer bits per number, so a bigger model fits on a smaller card and runs faster, at a small cost in quality. vLLM supports FP8, MXFP8, MXFP4, NVFP4, INT8, INT4, GPTQ, AWQ, GGUF and bitsandbytes; the choice depends on the model and the card.

As a rough guide: FP8 is well supported on H100 and H200 cards; NVFP4 and other FP4 formats bring higher throughput on Blackwell-class cards such as the B100 and B200; AWQ and GPTQ are the common choice on older hardware such as the A100, L40S and RTX 4090, where pre-quantized weights are widely published. Quantization can deliver meaningful speed gains at modest quality cost, but the real number depends on your model, traffic and card — measure it yourself before assuming a fixed multiplier. A 7B model in 4-bit form is also the practical way to run vLLM on a single home card at all.


Install and First Run

Installing vLLM takes a few minutes; the quickstart targets Linux with Python 3.11 to 3.14. On NVIDIA cards, the uv installer with automatic backend selection pulls the default CUDA 13.0 build; plain pip install vllm does the same. Apple Silicon Macs run it through the vLLM-Metal plugin; on Windows you run it under WSL — no native Windows build. Each release also ships Docker images — the OpenAI-compatible server image plus ROCm, CPU and XPU variants.

One warning before you start: the downloads are large. The package is hundreds of megabytes, and each model is gigabytes — a 7B model is several gigabytes even quantized, a 70B model far larger. Download on stable Wi-Fi, not mobile data. Then install the package, start the server with a model name, and send it a question with any OpenAI client pointed at port 8000. If it answers, the setup works — then try a second question while the first is still answering.

Install methodCommand or imageNeeds
uv (recommended)uv pip install vllm, backend autoLinux, Python 3.11 to 3.14, NVIDIA GPU
pippip install vllmLinux, Python 3.11 to 3.14
Docker, CUDAServer image v0.34.0Docker, NVIDIA GPU, CUDA 13.0
Docker, ROCmROCm image v0.34.0Docker, AMD GPU, ROCm 10.0
Docker, CPUCPU image v0.34.0Much slower than GPU
Apple SiliconvLLM-Metal pluginMac with Apple Silicon
WindowsRun under WSLWindows with WSL and a GPU

Version 0.34.0: What Actually Changed on 16 November 2026

The latest stable release, v0.34.0, landed on 16 November 2026, built from 1,061 commits by 412 contributors, 120 first-timers. Three changes matter most: the extensible KV cache is now the default; Model Runner V2 is now the only GPU runner — the older runner is deleted, not deprecated; and ten new models are supported, including Mistral Large 4, MiniMax-M3.1-Flash and Nemotron-3.5-Transcribe. Kimi K3.1 groundwork landed, but K3.1 itself is not servable yet. The previous release, v0.33.0, arrived on 2 November 2026 with 927 commits from 389 contributors, and it was a platform break: PyTorch 2.14, CUDA 13.0 wheels only, CUDA 12.9 images gone, Medusa and the MLP speculator removed, and the legacy Ray compiled-graph executor removed. Builds pinned to the old CUDA 12.9 images must move. And v0.32.0, from October 2026, patched three serious security advisories, the worst a deserialization flaw rated CVSS 9.1 — so running anything older in production is asking for trouble.

vLLM vs Ollama, TensorRT-LLM and SGLang

Ollama, covered on Tech Know on 13 November 2026, is the tool for one person and one machine: it installs on macOS, Windows and Linux, one command pulls a model and starts it, and a local API listens on port 11434. It is MIT-licensed. vLLM is the tool for many users at once on graphics cards you control, with continuous batching and an OpenAI-compatible server on port 8000. Pick Ollama for a laptop, a single developer box or offline experiments, where one-command setup matters more than concurrency. Pick vLLM when many users hit one model at once. The two are not rivals — many setups use Ollama to try a model and vLLM to serve it.

vLLMOllamaTensorRT-LLMSGLang
Made byvLLM ProjectOllamaNVIDIASGLang
LicenceApache 2.0MITApache 2.0Apache 2.0
Latest releasev0.34.0, 16 Nov 2026Frequent releasesv1.3.0, 20 Nov 2026v0.5.23, 2 Nov 2026
Built forHigh throughput servingOne user, one machinePeak speed on NVIDIAStructured output, agents
HardwareNVIDIA, AMD, Intel, moreMac, Windows, LinuxNVIDIA onlyMainly NVIDIA
Setup effortModerateVery easyHeavyModerate
StarsAbout 97,800About 189,000About 15,000About 39,000
Best forServing open modelsTrying models locallyNVIDIA-only productionTool-calling, agentic work

TensorRT-LLM, NVIDIA's own stack, can give the strongest raw throughput on NVIDIA hardware in some benchmarks, but it is NVIDIA-only and heavier to deploy — engines are built per model per piece of hardware. SGLang is strongest when structured generation is the main feature, with excellent throughput on agentic and tool-calling workloads. And llama.cpp, covered on Tech Know on 25 November 2026 alongside Transformers, is the tool for running anywhere — CPU and Apple Silicon first, lower throughput, but it runs on hardware nothing else will touch. vLLM sits in the broad middle: actively developed, genuinely open source, wide hardware and model support, and a new release about every two weeks.

Costs and Limits: What Is Free and What Is Not

vLLM itself costs nothing: no charge, no account, no card, no per-token price, no paid tier. The costs sit elsewhere, and they are all hardware. First, the graphics card — buy it, or rent it by the hour, where the meter runs in US dollars while the server is up. Second, electricity. Third, the download: weights are free for open models, but tens of gigabytes cost time and bandwidth — and some models carry their own licence terms, so read the model card before serving a model commercially.

ItemPriceNote
vLLM software0 dollarsApache 2.0, no paid tier
Your own GPUOne-time purchaseServes small models well
Rented cloud GPUPer hour (USD)Meter runs while up
Model weightsFree for open modelsCheck each model's licence
Electricity and hostingYour local costRuns day and night

Privacy and Security: What Stays on Your Machine, and What Does Not

Privacy is why most teams self-host with vLLM: your prompts and answers never leave the machine you control, because no vendor server is in the loop at all. No account, no per-token billing, and no vendor to report usage to. With a local model, the whole pipeline stays inside your own network.

Security is your job, though, and vLLM has had real holes. Version 0.32.0, from October 2026, patched three serious advisories, including a deserialization flaw rated CVSS 9.1. Fixes arrive quickly, but only if you actually upgrade. Three rules follow: keep vLLM updated, never expose the server port to the internet without authentication in front of it, and never paste a password or bank detail into a prompt — a model can repeat what it was told.

Who Should Use It, and Who Should Not

vLLM is worth learning if you serve a language model to more than one person: a startup putting an open model behind its app, a lab sharing a model across a department, a company wanting an internal assistant without sending data to a hosted provider, or a developer building on open weights. It is also the right tool if cost matters — a hosted API charges per token forever, while your own card charges once.

It is not the tool if you only want to chat with a model yourself on a laptop — Ollama, covered on Tech Know on 13 November 2026, is simpler and needs no Linux server. It is not the tool for training a model; for that, use Transformers, covered on Tech Know on 25 November 2026. It is not the tool for a machine with no graphics card — CPU-only serving is slow enough that a hosted API is usually better.

vLLM in Pakistan: Home GPU, Cloud GPU or Hosted API?

For a reader in Pakistan, the honest answer starts with the hardware you already own. A single home card — an RTX 4090 or similar — runs a quantized 7B or 8B model through vLLM well enough for personal use and small projects, with no card, no account and no bill. The model download is several gigabytes, so use stable Wi-Fi rather than mobile data. The machine needs Linux — Windows users run vLLM under WSL — and steady power, since a home server that restarts with every outage is no server at all.

The cloud alternative is renting a graphics card by the hour, billed in US dollars, which suits a short experiment or a launch better than a card purchase — but the meter runs while the server is up, so an idle server still costs money. The third option is the hosted API — no hardware at all, charged per token. The rule of thumb: heavy, steady use favours your own card with vLLM; light or occasional use favours the hosted API; a rented cloud card sits in the middle.

Frequently Asked Questions

Is vLLM really free?

Yes. vLLM is Apache 2.0 open source software: no charge, no account, no card, no paid tier, no per-token price. You pay only for the hardware — your own card, or a rented cloud card billed by the hour.

Is vLLM open source?

Yes, genuinely. The whole project is Apache 2.0, an OSI-approved open source licence, with no proprietary edition and no split licence. You may use it, modify it and sell a service built on it.

What is the latest version?

Version 0.34.0, released 16 November 2026: the extensible KV cache is now the default, Model Runner V2 is the only GPU runner, and ten new models are supported, including Mistral Large 4. The previous release, v0.33.0, was 2 November 2026.

What is PagedAttention?

PagedAttention stores the KV cache in small fixed-size blocks, like virtual memory pages, instead of reserving one long block per request. In the 2023 launch tests it cut memory waste from 60 to 80 percent to under 4 percent, so many more users fit on the same card.

How do I start a vLLM server?

Install the package, then run vllm serve followed by the model name. The server starts on port 8000 and speaks the OpenAI Chat Completions API. On Windows, run it under WSL.

Can I use vLLM completely offline?

Yes, once the weights are downloaded. Offline batch inference runs through the Python library with no server at all, and the API server also works offline — your prompts and answers never leave your machine.

Which models does vLLM support?

A wide range of transformer-based models — Llama, Mistral, Qwen, DeepSeek, Gemma, Phi. Version 0.34.0 added ten more, including Mistral Large 4 and MiniMax-M3.1-Flash.

What hardware do I need?

A GPU is strongly recommended — NVIDIA, AMD or Intel. A single card runs a quantized 7B or 8B model. Bigger models need more cards. CPU-only serving works but is much slower.

Should I use vLLM or Ollama?

Pick Ollama, covered on Tech Know on 13 November 2026, for one person on one machine — simpler, installs anywhere. Pick vLLM when many users hit one model at once and throughput matters.

Is vLLM safe to expose on the internet?

Not on its own. Version 0.32.0, from October 2026, patched three serious security flaws, including one rated CVSS 9.1. Keep vLLM updated and always put authentication in front of the server — never serve it directly to the open internet.

The Bottom Line

vLLM is the engine that makes self-hosted language models practical: not a chatbot, but the software that turns one graphics card into a fast service for many people — about 97,800 stars, a current release in v0.34.0 from 16 November 2026, and an Apache 2.0 licence that is genuinely open source with no qualification needed. Its strength is the combination: PagedAttention and continuous batching squeezing far more work from the same hardware, an OpenAI-compatible server that drops into existing apps unchanged, and support for the models and cards people own.

In short, if you serve an open model to more than one person, install vLLM on a Linux machine with a graphics card, start the server with a quantized 7B model, and point your OpenAI client at port 8000 — then measure throughput before spending more on hardware. If you only want to chat with a model on your own laptop, start with Ollama instead. At about 97,800 stars and a new release every two weeks, vLLM is the default answer to the serving question.

By Umar Farooq, Tech Know.

Post a Comment

0 Comments