How Production LLM GPU VRAM & Break-Even Economics Work
Sizing an inference cluster by multiplying parameter count by bytes-per-weight alone routinely leads to Out-Of-Memory (`CUDA OOM`) crashes under real concurrency. Production capacity planning requires accounting for three distinct memory pools:
- 1. Static Weight Memory:
Params × Bytes_per_Weight × 1.05(covering embedding projections, quantization scales/zero-points, and framework tensor alignment). - 2. Dynamic Sequence KV-Cache:
2 × Layers × KV_Heads × Head_Dim × Context_Len × Active_Streams × KV_Bytes. Architectures using Grouped-Query Attention (GQA) or Multi-Head Latent Attention (MLA, as in DeepSeek-V3/R1) compress sequence memory by4×–16×compared to classic Multi-Head Attention. - 3. Runtime & CUDA Graph Buffers: PyTorch/NCCL communicator buffers, flash-attention workspaces, and CUDA graph capture typically reserve
1.8 GBon single-GPU nodes and up to6.4 GBon 8-GPU NVLink nodes.
Frequently Asked Questions
Why is 1x NVIDIA H200 (141GB) often preferred over 2x A100 (160GB) for 70B FP8 models?
Running a 70B FP8 workload (~81–96 GB total VRAM) on a single 141GB H200 (`TP=1`) eliminates cross-GPU all-reduce communication overhead and delivers 4.8 TB/s of HBM3e memory bandwidth, dramatically lowering P95 inter-token latency.
Should I quantize KV-cache to FP8 alongside INT4 AWQ weights?
Yes—on Hopper (H100/H200) and Ada (L40S/4090) architectures, enabling `--kv-cache-dtype fp8` in vLLM or SGLang halves sequence memory footprint with negligible perplexity degradation, doubling concurrent batch capacity.
Dedicated Model VRAM & TCO Benchmarks
Jump directly to pre-computed BF16, FP8, and INT4 hardware matrices and vLLM launch specs for individual open-weights models: