What separates a vLLM demo that wows a team from a vLLM service that survives Black Friday? Usually, it is not the model. It is everything around it: memory settings, version pinning, monitoring, and the unglamorous decisions made before the first request ever hits production.
vLLM has become one of the most popular open-source engines for serving large language models, largely because of PagedAttention, a memory-management technique that stores the KV cache in non-contiguous blocks. That design cuts memory fragmentation and enables prefix caching and copy-on-write sharing across requests. The original PagedAttention paper, presented at SOSP 2023, reported throughput gains of roughly two to four times over prior serving systems at similar latency. Those numbers came from specific models and hardware in 2023, so treat them as directional, not as a promise for your workload.
This guide walks through what actually matters when moving vLLM from a laptop to a production cluster: capacity planning, parallelism, quantization, Kubernetes patterns, observability, and the mistakes that bite teams most often.
Why vLLM earns a place in production at all
The core value proposition is throughput under concurrency. vLLM uses continuous batching, also called iteration-level batching, so new requests join a running batch instead of waiting for the entire batch to finish. That single design choice explains much of the difference between a naive server and a real serving engine when traffic arrives in bursts.
A second practical advantage is API compatibility. vLLM’s default server exposes an OpenAI-compatible HTTP API, including endpoints for completions and chat completions. Teams can often point existing OpenAI SDK clients at a new base URL and keep their application code intact. That compatibility lowers migration risk, though it does not guarantee feature parity with every OpenAI-specific parameter.
The third advantage is breadth. The engine supports tensor parallelism within a node and pipeline parallelism across nodes, several quantization formats, and multiple hardware backends beyond NVIDIA CUDA, including AMD ROCm and other accelerators. The catch is that feature parity across backends differs, so never assume a feature that works on CUDA works everywhere.
Sizing the deployment before writing any YAML

Most production incidents trace back to capacity assumptions rather than code bugs. Before deploying, teams need rough answers to four questions:
- What is the peak concurrent request count, not the average?
- What are the input and output token distributions, including the long tail?
- What latency target applies at the 95th or 99th percentile?
- How much GPU memory remains after weights, and how much is left for KV cache?
That last question is where vLLM deployments fail most quietly. A model that fits comfortably in GPU memory can still serve terribly if the KV cache is starved, because the scheduler then limits how many sequences can run concurrently. Practical guidance: leave generous headroom, measure KV-cache utilization under realistic load, and remember that longer context windows consume cache quadratically faster than short ones.
Hardware planning also has a power dimension that teams often overlook until the data center pushes back. Understanding what power limits mean for accelerator deployments matters as much as counting GPUs, since sustained inference loads draw steady power rather than the spiky profile of training.
Choosing parallelism without painting yourself into a corner
Tensor parallelism splits each layer across GPUs on one node and requires fast interconnects. Pipeline parallelism splits layers across nodes and trades some latency for scale. The configuration flags are straightforward, but the operational consequences are not.
| Strategy | Scope | Best fit | Main trade-off |
|---|---|---|---|
| Tensor parallelism | Multiple GPUs, one node | Models too large for one GPU, low-latency needs | High interconnect traffic |
| Pipeline parallelism | Multiple nodes | Very large models, throughput-first workloads | Added latency, more failure points |
| Replicas behind a router | Independent deployments | Horizontal scale, availability | More operational surface area |
A common mistake is reaching for multi-node parallelism when simple replication would do. Two independent replicas behind a load balancer often deliver better availability than one cleverly sharded deployment, because a single node failure does not take down the whole service. Reading an enterprise roadmap with deployment in mind helps here: if the model portfolio will grow, favor an architecture where adding a model means adding a deployment, not re-architecting the cluster.
Distinguishing AI product and platform roles also clarifies ownership. The platform team owns the serving layer, autoscaling, and upgrades; product teams own prompts, evaluation, and traffic shape. Deployments go smoother when that boundary is explicit before the first Helm chart is written.
Pin versions, read release notes, expect change
vLLM ships frequently, with minor releases arriving on a roughly weekly-to-biweekly cadence during busy periods. The project has been clear that APIs may change between minor versions. In practice, that means three rules:
- Pin exact versions in production images and never use floating tags.
- Read release notes before any upgrade, especially around quantization support and metric names.
- Keep a staging environment that mirrors production traffic shape, not just production config.
Quantization deserves special caution. Formats such as AWQ, GPTQ, and FP8 reduce memory and can raise throughput, but the supported list and the GPU architectures that support each format shift between releases. A configuration that worked last quarter may silently fall back or refuse to load after an upgrade. Treat any quantization claim as version-specific and verify it against the current release notes for your pinned version.
Running vLLM on Kubernetes
The project publishes a production-stack deployment built around Helm charts, with a router, model servers, and observability components. It is a reasonable starting point, but teams should check its current maturity and API surface against their own requirements rather than assuming it is a turnkey solution.
For teams building their own manifests, the Kubernetes Deployment concept is the right mental model: declare the desired state, let the controller reconcile, and use readiness probes that reflect actual model availability. A pod that has started but not loaded weights should never receive traffic.
Practical tips that consistently work:
- Use startup probes with generous thresholds, because loading large weights takes minutes.
- Set readiness probes to check the health endpoint only after the model is serving.
- Mount model weights from fast local storage or a warm cache rather than downloading on every pod start.
- Set resource requests equal to limits for GPUs to avoid scheduling surprises.
- Spread replicas across nodes so a single hardware failure does not remove all capacity.
Common mistakes include setting aggressive liveness probes that restart pods mid-load, and forgetting that rolling updates temporarily double GPU demand.
Observability: the metrics that actually predict trouble
vLLM exposes Prometheus metrics covering request latency, queue depth, KV-cache utilization, and counts of running and waiting requests. These are the hooks for dashboards and autoscaling, and the Prometheus overview is a good primer if the monitoring stack is new to the team. Note that metric names have changed across versions, so dashboards built against one release may show gaps after an upgrade.
The metrics that matter most in practice:
- Queue depth and waiting requests: the earliest signal that capacity is short.
- KV-cache utilization: sustained highs mean the scheduler is throttling concurrency.
- Time to first token: the metric users feel most directly.
- Inter-token latency: catches degradation that averages hide.
Alerting on queue depth and time to first token usually beats alerting on raw GPU utilization, which can look healthy while users wait.
Security, cost, and the operational basics
Production serving means treating the endpoint like any other internet-facing service. Put authentication in front of the OpenAI-compatible API, rate-limit per tenant, and log requests with care, since prompts often contain sensitive data. Network policies should restrict which services can reach the model servers.
On cost, the biggest lever is usually utilization. Underused replicas waste money; overloaded ones hurt users. Autoscaling on queue depth rather than CPU is the pattern that tends to work, with a floor of replicas to absorb cold starts, since loading weights is slow and cannot be scaled away.
Conclusion
vLLM production deployment is less about picking the fastest engine and more about disciplined operations around a fast engine. Size for the KV cache, not just the weights. Prefer replication over clever sharding until scale truly demands otherwise. Pin versions, read release notes, and verify quantization support against the exact build in use. Instrument queue depth and time to first token, and let those metrics drive capacity decisions. Do those things, and the throughput advantages that made vLLM attractive in the first place actually reach users.
Frequently Asked Questions
Is vLLM ready for production use?
Yes, with caveats. It is widely used in production and offers the core pieces a serving layer needs: continuous batching, an OpenAI-compatible API, parallelism, quantization, and Prometheus metrics. The caveat is release cadence. APIs and supported features change between minor versions, so production use requires version pinning, staging environments, and a habit of reading release notes before upgrading.
How much GPU memory should be reserved for the KV cache?
There is no universal number, but the principle is to leave substantial headroom after model weights. KV-cache pressure is what limits concurrent sequences, so a deployment with no cache headroom will queue requests even when GPU utilization looks moderate. Measure cache utilization under realistic traffic, including long-context requests, and adjust the memory fraction setting until queue depth stays stable at peak.
Should I use tensor parallelism or multiple replicas?
Use multiple replicas when the model fits on a single GPU or node, because replication improves availability and scales horizontally with simpler failure modes. Use tensor parallelism when the model does not fit on one node and latency matters, accepting the interconnect cost. Pipeline parallelism across nodes is a fit for very large models where throughput matters more than per-request latency. (Large language model)
Which quantization format should a production deployment use?
It depends on the model, the GPU architecture, and the vLLM version. Formats such as AWQ, GPTQ, and FP8 are supported to varying degrees, and support changes between releases. The safe approach is to benchmark candidate formats on the exact hardware and pinned version, verify quality against an evaluation set, and confirm the format appears in the release notes for that build before committing.
How do I monitor a vLLM deployment effectively?
Start with the Prometheus metrics vLLM exposes: queue depth, waiting request counts, KV-cache utilization, time to first token, and inter-token latency. Alert on queue depth and time to first token rather than raw GPU utilization, since the latter can look healthy while users wait. Because metric names have changed across versions, re-check dashboards after every upgrade.
What is the most common vLLM production mistake?
Underestimating cold-start time and probe behavior. Loading large weights takes minutes, and aggressive liveness probes can restart pods mid-load, creating a restart loop that looks like a crash. Use startup probes with generous thresholds, cache weights locally, and keep a floor of warm replicas so autoscaling never has to absorb a cold start during a traffic spike.
Where to go next
Start small and measure. Deploy a single replica with pinned versions, instrument the Prometheus metrics, and run realistic traffic against it before scaling out. Keep a staging environment that mirrors production, and treat every upgrade as a change that needs verification. The vLLM documentation and release notes remain the authoritative source for version-specific behavior, and the production-stack repository is worth watching as it matures. The engine is fast; the discipline around it is what makes it production-ready.







