LIVE INTELLIGENCE // SEMICONDUCTOR & AI ECONOMICS TERMINAL
NVIDIA · TSMC · HBM4 · CLOUD GPU · AI AGENTS X/@pinovan Substack
Silicon & AI Pulse
Subscribe
Home AI Chips & Silicon AI Security Cloud GPUs Python Agents About Us Disclaimer Contact Subscribe
Home / AI Chips / Intelligence Briefing

How Much VRAM Does vLLM Need? A KV Cache Sizing Guide

LLM Inference Memory Sizing • Architectural Formula Estimates (Dec 2, 2026)

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?

320 vs. 160 KiB
70B KV Cache per Token (BF16 vs. FP8 Est.)
40 GiB KV Pool
FP8 KV for 32×8K or 8×32K Concurrent Requests
0.90 Default
gpu_memory_utilization Leaves 10% Headroom
TL;DR • Architectural Estimate Notice

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:

  1. 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.
  2. Runtime Overhead & Unallocated Reserve: vLLM’s gpu_memory_utilization defaults 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.
  3. Dynamic KV Cache Pool: Whatever remains inside total_vram × gpu_memory_utilization − weights − runtime_buffers becomes 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:

KV Cache Sizing Formula & Explicit Assumptions (Estimate)
Bytes_per_Token = 2 (K+V) × 80 layers × 8 KV_heads × 128 head_dim × dtype_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
*Estimated pool = ~70 GiB FP8 model weights + estimated FP8 KV cache + ~6 GiB runtime activations/CUDA graphs (before the remaining ~10% VRAM reserve outside gpu_memory_utilization=0.90).
Chart 1: 1× H200 VRAM Budget Breakdown (141 GiB Total, Llama 70B FP8, Est.)
Why enabling --kv-cache-dtype fp8 turns a single H200 into a 40 GiB KV headroom sweet spot for 32×8K or 8×32K batches.
FP8 Model Weights (70B Params)~70.0 GiB (49.6%)
FP8 KV Cache Pool (8K×32 or 32K×8 Active)~40.0 GiB (28.4%)
Runtime Overhead + 10% Reserve (~6 GiB Buffers + ~14.1 GiB Outside Pool)~20.1 GiB (14.3%)
Remaining Safety Slack Inside 0.90 Pool~10.9 GiB (7.7%)
Architectural estimate calibrated to 141 GiB H200 VRAM and 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_utilization proportional 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.

Builder Tooling // Affiliate Partner

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.

AI Content Disclaimer: Prepared December 2, 2026 with AI-assisted research synthesis based on Llama 70B GQA layer math and official vLLM CacheConfig documentation (docs.vllm.ai). All VRAM tables represent architectural formula estimates rather than empirical GPU bench measurements. For engineering reference only.
Get the Weekly Silicon & AI Briefing
Free institutional recaps on AI hardware, cloud GPUs, and enterprise economics on Substack.
Subscribe Free →

Comments

Independent deep-dive analysis on global AI hardware, semiconductors, GPU architectures, and enterprise AI economics—bridging Silicon Valley, Asia's chip supply chain, and Wall Street.

Search This Blog

Powered by Blogger.
  • ()
Silicon & AI Pulse

Independent research covering AI silicon, semiconductor supply chains, GPU architectures, cloud security, and enterprise AI economics.

© 2026 Silicon & AI Pulse. Independent Semiconductor & AI Economics Research.
Follow us: X (@pinovan) · Substack · Medium · Dev.to · Hashnode