A technical cost breakdown of deploying vLLM for open-weight LLM inference, covering PagedAttention VRAM requirements, GPU depreciation over 24 months, and real throughput benchmarks.

vLLM, developed at UC Berkeley and first published in 2023, introduced PagedAttention — a memory management algorithm that treats GPU VRAM like virtual memory in operating systems. Instead of reserving contiguous blocks of VRAM for the KV cache of each concurrent request, PagedAttention stores KV cache blocks in non-contiguous pages that are allocated on demand and shared across requests using copy-on-write semantics.
The practical result: vLLM achieves 10–24× higher throughput than naive Hugging Face Transformers inference by enabling continuous batching, where the GPU processes tokens from multiple requests simultaneously rather than waiting for each request to complete before starting the next.
For broader AI infrastructure cost strategy, see our sovereign tech and AI computing cost framework.
The VRAM requirement for deploying a model with vLLM:
$$\text{VRAM}{\text{total}} = \text{VRAM}{\text{weights}} + \text{VRAM}_{\text{KV-cache}}$$
$$\text{VRAM}{\text{weights}} = \frac{N{\text{params}} \times P_{\text{bytes}}}{10^9}$$
Where $P_{\text{bytes}}$ = 2 for BF16, 1 for INT8, 0.5 for INT4 (GPTQ/AWQ quantization).
$$\text{VRAM}{\text{KV-cache}} \approx \frac{2 \times N{\text{heads}} \times d_{\text{head}} \times N_{\text{layers}} \times S_{\text{seq}} \times B_{\text{batch}}}{10^9} \times P_{\text{bytes}}$$
Practical VRAM requirements:
| Model | Full BF16 | INT8 | INT4 (AWQ) | Minimum GPU Config |
|---|---|---|---|---|
| Llama 3.1 8B | 16 GB | 8 GB | 4 GB | 1× RTX 4090 (INT4) |
| Llama 3.1 70B | 140 GB | 70 GB | 35 GB | 2× A100 80GB (INT4) |
| Llama 3.1 405B | 810 GB | 405 GB | 200 GB | 8× H100 80GB (INT4) |
| Mistral 7B | 14 GB | 7 GB | 3.5 GB | 1× RTX 4090 (INT4) |
| Qwen 2.5 72B | 144 GB | 72 GB | 36 GB | 2× A100 80GB (INT4) |
GPU hardware depreciates on a non-linear curve driven by new generation releases and secondary market dynamics:
| GPU | Purchase Cost (2026) | 12-Month Value | 24-Month Value | 36-Month Value |
|---|---|---|---|---|
| A100 80GB | $14,000–$16,000 | $10,000–$12,000 | $6,500–$8,000 | $3,500–$4,500 |
| H100 80GB | $28,000–$35,000 | $20,000–$26,000 | $12,000–$16,000 | $6,000–$9,000 |
| RTX 4090 | $1,600–$1,900 | $1,200–$1,500 | $800–$1,000 | $400–$600 |
Depreciation-adjusted monthly cost (2× A100 80GB, $31,000 purchase, 24-month amortization):
This is meaningfully lower than the straight-line amortization model ($31,000 / 24 = $1,292/month) and should be used for accurate cost projections.
On a 2× A100 80GB configuration running Llama 3.1 70B in INT4 quantization with vLLM continuous batching:
Use the Bandwidth Calculator alongside the LLM Token Cost Calculator to model total infrastructure requirements including network egress for your self-hosted deployment.
PagedAttention stores the KV cache in non-contiguous virtual memory blocks rather than requiring contiguous VRAM allocation per request. This enables continuous batching — processing tokens from multiple requests in the same GPU compute pass — eliminating idle GPU time between requests. In practice, this achieves 10–24× higher throughput than sequential inference and eliminates memory fragmentation that wastes 20–40% of VRAM in naive implementations.
For a production-grade 7B parameter model (Mistral 7B, Llama 3.1 8B) with reliable throughput, a single NVIDIA RTX 4090 (24GB VRAM) running INT4 quantization with vLLM achieves 100–200 tok/sec — sufficient for applications handling under 50M tokens/month. For 70B-class models, 2× A100 80GB GPUs are the minimum practical configuration for production throughput, costing $28,000–$32,000 new or $15,000–$20,000 on the secondary market.
Modern INT4 quantization methods (AWQ, GPTQ, EXL2) show 1–3% performance degradation on most benchmarks compared to BF16 full precision. This is generally imperceptible in production text generation tasks. INT8 (LLM.int8()) shows near-zero quality degradation (<0.5%) at the cost of 50% less VRAM savings compared to INT4. For mathematical reasoning and code generation tasks, BF16 or INT8 is preferred to minimize quality loss.
vLLM uses tensor parallelism to distribute model weights across multiple GPUs using Megatron-LM style column/row parallelism for attention heads and MLP layers. This allows models that exceed a single GPU's VRAM to be served across 2, 4, or 8 GPUs with near-linear throughput scaling. Setup requires specifying tensor-parallel-size in the vLLM launch command, and all GPUs must be connected via NVLink for optimal bandwidth (PCIe-only configurations see 30–50% throughput reduction from interconnect bottlenecks).

Europe is moving forward with its ambitious Envision mission to Venus, despite a setback from NASA.

Prolonged laptop use has been linked to a range of health risks, including myopia, headaches, and eye strain.

Apple Watch listening features explained: data privacy, security, and how to use them safely.
Contextual evidence and verified documentation referenced in this research guide
Groundwork enforces a strict, independent verification standard. All claims and benchmark figures in this guide are cross-referenced against the primary documentation and regulatory registries listed below:
Elena Vasquez (2026). Self-hosting vLLM: Hardware costs, VRAM sizing, and GPU depreciation explained. Groundwork. Retrieved from https://gworky.com/article/self-hosting-vllm-hardware-cost-breakdown
Originally published at https://gworky.com/article/self-hosting-vllm-hardware-cost-breakdown — Groundwork Evidence-Based Research.
Uncover forgotten seat licenses, redundant cloud services, and recurring overhead.
Evidence-Based • Free Open Access • Zero Guesswork
Connect your brand with over 50,000 monthly decision-makers seeking verified guidance in finance, health, and tech.
Compare estimated monthly cost across leading AI models based on your token usage.
tech
tech
tech
techEvaluated for performance, privacy protocols, and pricing transparency.
| Solution | Key Benchmark | Pricing | Verdict & Access |
|---|---|---|---|
NordVPNEditor Pick via Nord Security | Audited WireGuard no-logs protocol | $3.39/mo | |
ExpressVPN via Express Technologies | Lightway protocol, RAM-only servers | $6.67/mo | |
Cloudflare WARP+ via Cloudflare Inc. | Fast Argo edge routing | $4.99/mo | Reference Benchmark |
Smart Home & Digital Privacy Analyst
Smart home and digital privacy analyst focused on data ownership, device security, and power efficiency of AI utilities and gadgets.
This guide underwent secondary data verification to confirm primary source integrity, calculation formulas, and regulatory compliance before publication.