vLLM
High-throughput inference server for open LLMs. vLLM is an open-source library and server for running large language models efficiently on GPUs. It uses techniques such as PagedAttention and continuous batching to serve many requests at once, and exposes an OpenAI-compatible API. It supports most popular open-weight models and quantised formats.
When it is the right choice
- You are self-hosting open-weight models for production traffic
- You want an OpenAI-compatible endpoint so applications can switch between hosted and self-hosted models
- You need to get the most requests out of expensive GPUs
- Overkill for a single developer testing models locally; Ollama is simpler there
How we use it
- Package vLLM in containers and run it on Kubernetes GPU nodes with health checks and rolling updates
- Export vLLM metrics to Prometheus and alert on queue depth, latency and GPU memory
- Tune batching, context length and quantisation against your real traffic
- Automate model rollouts with GitOps so each change is reviewed and reversible
Where it fits in our work
Related articles
Continuous Deployment: Shipping Every Merge Without FearWhat continuous deployment really requires: the difference from continuous delivery, the safety nets that make it work, and how to roll it out without betting production on it.
Configuration Management Tools in DevOps: Which Layer Each One OwnsTerraform, Ansible, Puppet, Chef, Salt, Helm and Argo CD all claim to manage configuration. Here is which layer each one should own, and how we combine them without overlap or drift.
Cloud & DevOps Security: Where We Start With Every ClientA practical order for cloud and DevOps security: identity first, then the pipeline, the network, the workloads and the logs, with the checks we run in the first week.vLLM: frequently asked
Can our existing OpenAI client code talk to vLLM?
Yes. vLLM provides an OpenAI-compatible API, so in most cases you change the base URL and model name. Some advanced features differ, so we test your actual calls.
How do we scale vLLM?
Each replica serves one model on one or more GPUs. We scale replicas on Kubernetes based on queue length or latency, and keep warm capacity because loading a model takes time.
Running vLLM, or deciding whether to? Tell us what you have; the first consultation is free.
Let's talk »