Articles Explainers 1 min

Serving an open-source LLM in production: the real cost

vLLM, continuous batching, KV-cache: where the VRAM really goes.

The model weights are only part of the memory bill. At serving time the key-value cache grows with every concurrent request and every token of context, and it is usually the cache, not the parameters, that decides how many users a single GPU can hold.

Continuous batching keeps the device busy by admitting new requests as old ones finish, which lifts throughput far above naive per-request serving. Sizing a deployment means budgeting cache against batch size and context length, then measuring tokens per second under a realistic mix rather than a single prompt.

Sources

Tampon
STAMPED
04-05-2026
  1. 1 vLLM, Documentation
    read on 01-06-2024
  2. 2 Hugging Face, Quantization overview
    read on 15-04-2024
Plume
Plume writing