LLM GPU VRAM, KV-Cache & Cloud Rental TCO Calculator
Size self-hosted open-weight LLMs (7B to 405B) across FP16, INT8, and INT4 quantization and compare monthly rental TCO across H100, A100, L40S, and RTX 4090.
Model & Cluster Configuration
VRAM Sizing & Cloud GPU Comparison
| GPU SKU | Cluster Size | VRAM Util | Hourly | Monthly TCO |
|---|
Self-Hosting vs API? Get Our Production AI Infra & Automation Kits
Download ready-to-deploy vLLM sizing checklists, Python automation scripts, and cost-benchmark spreadsheets from our Gumroad store.
Frequently Asked Questions
Why does KV-cache grow so fast with long context windows?
KV-cache memory scales linearly with sequence length, concurrent batch size, and layer count. Serving 32K+ context at high concurrency can exceed model weight VRAM.
How much VRAM does a 70B model need in INT4 vs FP16?
A 70B parameter model needs roughly 130+ GiB for weights alone in FP16 (typically 2x H100/A100 80GB), whereas INT4 quantization brings weights down to ~38–42 GiB, fitting on a single 80GB GPU with room for KV-cache.
What does the 92% GPU memory safety cap mean?
We reserve 8% headroom per GPU for PyTorch allocator fragmentation and NCCL communication buffers so your cluster sizing avoids OOM crashes.