Model weights are only half your VRAM budget. When serving a 70B LLM in vLLM, how much memory do KV cache and runtime buffers actually consume across 8K vs. 32K contexts—and when does an 80GB H100 force you onto a 141GB H200?
gpu_memory_utilization Leaves 10% Headroom
Note: All VRAM numbers below are architectural formula estimates (not live GPU bench measurements) grounded in Llama 70B layer geometry and vLLM CacheConfig documentation. For Llama 3.1 / 3.3 70B Instruct in FP8 weights (~70 GiB), a single 80GB H100 (~72 GiB usable at gpu_memory_utilization=0.90) leaves virtually zero room for concurrent KV cache—forcing 2× H100s—whereas a single 141GB H200 (~126.9 GiB usable) preserves ~50.9 GiB for KV blocks, comfortably serving 32 concurrent 8K or 8 concurrent 32K sequences once --kv-cache-dtype fp8 is enabled.
The Core Sizing Question: Where Every Gigabyte of vLLM VRAM Goes
In our previous breakdown—H100 vs. H200 for LLM Inference: Cost per Million Tokens—we saw why spilling past a single 80GB H100 onto a two-GPU node drives token costs up by 22% to 40%. That spillover happens inside the PagedAttention KV cache pool.
When vLLM initializes an engine, per-instance VRAM is partitioned into three distinct buckets controlled by CacheConfig:
- Static Model Weights: For
Llama 3.1 / 3.3 70B Instruct(~70B parameters), weights occupy roughly 70 GiB in FP8 (~1 byte/param) or ~140 GiB in BF16 (~2 bytes/param) before runtime allocation. - Runtime Overhead & Unallocated Reserve: vLLM’s
gpu_memory_utilizationdefaults to roughly 0.90 (leaving ~10% of total GPU VRAM outside the executor pool for CUDA context, fragmentation, and external processes), while activations and CUDA graphs inside the pool typically reserve another ~4 to 8 GiB. - Dynamic KV Cache Pool: Whatever remains inside
total_vram × gpu_memory_utilization − weights − runtime_buffersbecomes PagedAttention blocks holding active user prompts and generated tokens.
Part I: Exact KV Cache Formula for Llama 3.1 / 3.3 70B (GQA Estimate)
Because Llama 70B uses Grouped-Query Attention (GQA) with 80 Transformer layers, 8 key-value heads, and a 128 head dimension (stored for both Keys and Values = 2×), each cached token consumes a deterministic number of bytes:
Total_KV_GiB = (Bytes_per_Token × Active_Context_Tokens × Concurrent_Sequences) ÷ 1,073,741,824
kv_cache_dtype="auto"(BF16 / FP16, 2 bytes):327,680 bytes/token= 320 KiB/token → 2.50 GiB per 8K sequence (8,192 tokens) or 10.00 GiB per 32K sequence (32,768 tokens).kv_cache_dtype="fp8"(FP8 E4M3/E5M2, 1 byte):163,840 bytes/token= 160 KiB/token → 1.25 GiB per 8K sequence or 5.00 GiB per 32K sequence (~50% KV memory reduction per vLLM CacheConfig).- Modeling Assumptions: Estimates assume zero prefix-cache sharing across requests (worst-case active KV footprint), ~70 GiB FP8 weights, and ~6 GiB internal activation/CUDA-graph overhead inside
gpu_memory_utilization=0.90.
Part II: Two Context Lengths × Two Concurrency Tiers (Estimated VRAM Matrix)
Evaluating two realistic serving contexts (8K vs. 32K tokens) across two concurrency levels (8 vs. 32 parallel requests) exposes the exact threshold where 1× H200 saves you from multi-GPU setups:
| Workload Scenario (70B FP8 Weights) | KV Cache (BF16 Est.) | KV Cache (FP8 Est.) | Total Pool Needed w/ FP8 KV* | Minimum GPU Fit (at 0.90 Util) |
|---|---|---|---|---|
| 8K Context × 8 Concurrent | 20.0 GiB | 10.0 GiB | ~86.0 GiB | 1× H200 (126.9 GiB pool) |
| 8K Context × 32 Concurrent | 80.0 GiB | 40.0 GiB | ~116.0 GiB | 1× H200 (w/ FP8 KV); 2× H100 if BF16 KV |
| 32K Context × 8 Concurrent | 80.0 GiB | 40.0 GiB | ~116.0 GiB | 1× H200 (w/ FP8 KV); 2× H100 if BF16 KV |
| 32K Context × 32 Concurrent | 320.0 GiB | 160.0 GiB | ~236.0 GiB | 2× H200 (253.8 GiB pool) or 4× H100 |
gpu_memory_utilization=0.90).--kv-cache-dtype fp8 turns a single H200 into a 40 GiB KV headroom sweet spot for 32×8K or 8×32K batches.gpu_memory_utilization=0.90. If serving unquantized BF16 weights (~140 GiB), 1× H200 cannot hold weights + KV cache together, requiring 2× H200.Part III: Practical vLLM Configuration & Cost Link
Notice how quickly an 80GB H100 runs out of headroom: at gpu_memory_utilization=0.90, an H100 provides only 72 GiB inside the executor pool—already swallowed by ~70 GiB FP8 weights plus runtime buffers. That forces 2× H100s even at modest concurrency, driving hourly GPU costs up across the providers tracked in our 2026 Cloud GPU Pricing Showdown.
When deploying a 70B FP8 model on a single 141GB H200 (or 2× H100s), start with explicit cache flags rather than guessing OOM thresholds:
vllm serve meta-llama/Llama-3.3-70B-Instruct \
--quantization fp8 \
--kv-cache-dtype fp8 \
--gpu-memory-utilization 0.90 \
--max-model-len 32768
- Keep
gpu_memory_utilizationproportional if co-locating: As documented in vLLM CacheConfig, this fraction is a per-instance limit; running two vLLM processes on one GPU requires lowering each to ~0.45. - Validate FP8 KV quality on long-context retrieval: FP8 KV halves memory pressure (160 KiB vs. 320 KiB per token), though needle-in-a-haystack evaluation should still be verified on your domain prompts.
Technical Judgment: Size for Worst-Case KV Cache Before Picking GPUs
Never size inference GPUs from parameter count alone. Compute weights + worst_case_concurrency × context_tokens × bytes_per_token + ~15% runtime & reserve headroom first—then compare whether 1× H200 with FP8 KV cache eliminates a two-GPU H100 tensor-parallel split. If your workload runs steadily at lower concurrency and you are weighing dedicated desktop CapEx against cloud GPU rentals, check our Late-2026 Local LLM Hardware Buying Guide.
For more on GPU rental pricing and cost per token, see the Cloud GPU Costs & VRAM guide collection.
Frequently Asked Questions: vLLM VRAM & KV Cache Sizing
How much KV cache does Llama 70B use per token in vLLM?
Based on Llama 3.1/3.3 70B GQA geometry (80 layers, 8 KV heads, 128 head dimension, K+V), each token consumes an estimated 320 KiB in BF16 (2.50 GiB per 8K sequence) or 160 KiB with --kv-cache-dtype fp8 (1.25 GiB per 8K sequence).
Why does vLLM default gpu_memory_utilization to 0.90?
Setting gpu_memory_utilization=0.90 reserves ~10% of total GPU VRAM outside the PagedAttention block pool for CUDA context overhead, memory fragmentation, and driver buffers so high concurrency does not trigger out-of-memory crashes.
When can 1× 141GB H200 replace 2× 80GB H100s in vLLM?
When serving Llama 70B FP8 (~70 GiB weights), a single H100 leaves virtually no pool headroom for concurrent KV blocks. With FP8 KV cache enabled, one 141GB H200 preserves ~50.9 GiB inside a 0.90 pool—comfortably fitting 32 concurrent 8K requests or 8 concurrent 32K requests on a single card.
Turning your self-hosted vLLM inference endpoint into a paid AI SaaS? Creem.io acts as a Merchant of Record for software and AI developer tools—handling global checkout, VAT/sales tax compliance, subscriptions, and credit-based billing out of the box.
Disclosure: This is an affiliate link. If you sign up through it, Silicon & AI Pulse may earn a commission at no extra cost to you. See our Disclaimer.
Comments