Which GPU for Your LLM? 4K–128K VRAM & OOM Matrix
Interactive 4K–128K context length × concurrency (1/8/32) KV-cache VRAM & CUDA OOM cliff matrix joined with live cloud GPU hourly prices.
Cluster Sizing Verdict: For Qwen 32B (INT4, ~25 GB VRAM), the lowest-cost cluster that fits starts at $0.20/hr ($144/mo). Assumes 720 hours a month (24 h × 30 days) and 10,000 requests a day; GPU counts snap to 1, 2, 4, 8 or 16.
Long-Context (4K–128K) × Concurrency KV-Cache VRAM & OOM Cliff Matrix
Weights fitting in VRAM at 4K single-user frequently trigger CUDA out of memory once KV-cache scales across 32K–128K context windows or 8–32 concurrent requests.
verified_hardware: false · Receipt SHA-256 058aeaf4752f…| Context Window | Concurrency = 1 | Concurrency = 8 | Concurrency = 32 |
|---|---|---|---|
| 4K Context | 21.8 GB · FITS1× 24GB ($0.16/hr) | 28.8 GB · CUDA OOMNeeds 2× 24GB ($0.32/hr) | 52.8 GB · CUDA OOMNeeds 4× 24GB ($0.64/hr) |
| 32K Context | 28.8 GB · CUDA OOMNeeds 2× 24GB ($0.32/hr) | 84.8 GB · CUDA OOMNeeds 4× 24GB ($0.64/hr) | 276.8 GB · CUDA OOMNeeds 16× 24GB ($2.56/hr) |
| 64K Context | 36.8 GB · CUDA OOMNeeds 2× 24GB ($0.32/hr) | 148.8 GB · CUDA OOMNeeds 8× 24GB ($1.28/hr) | 532.8 GB · CUDA OOMExceeds 16× cards (multi-node) |
| 128K Context | 52.8 GB · CUDA OOMNeeds 4× 24GB ($0.64/hr) | 276.8 GB · CUDA OOMNeeds 16× 24GB ($2.56/hr) | 1044.8 GB · CUDA OOMExceeds 16× cards (multi-node) |
Compare precision accuracy trade-offs in BF16 vs FP8 vs INT4 Accuracy vs GPU Cost or model daily million-token self-hosted break-even in LLM Batch & GPU TCO Calculator.
| Provider & Region | Cluster Sizing | Cluster / Hr | Monthly & $/1k Req | Link |
|---|---|---|---|---|
| 2× RTX 5070 Ti32 GB total VRAM | $0.20/hr | $144/mo~$0.480/1k req | Provider audit → | |
| 1× RTX 509032 GB total VRAM | $0.25/hr | $180/mo~$0.600/1k req | Provider audit → | |
| 2× RTX 508032 GB total VRAM | $0.30/hr | $216/mo~$0.720/1k req | Provider audit → | |
| 2× RTX A500048 GB total VRAM | $0.32/hr | $230/mo~$0.768/1k req | Provider audit → | |
| 2× RTX 409048 GB total VRAM | $0.32/hr | $230/mo~$0.768/1k req | Provider audit → | |
| 1× RTX A600048 GB total VRAM | $0.33/hr | $238/mo~$0.792/1k req | Provider audit → | |
| 2× RTX A400032 GB total VRAM | $0.34/hr | $245/mo~$0.816/1k req | Provider audit → | |
| 1× RTX PRO 450032 GB total VRAM | $0.34/hr | $245/mo~$0.816/1k req | Provider audit → | |
| 2× RTX 5070 Ti32 GB total VRAM | $0.348/hr | $251/mo~$0.835/1k req | Provider audit → | |
| 1× A4048 GB total VRAM | $0.35/hr | $252/mo~$0.840/1k req | Provider audit → | |
| 2× RTX A450040 GB total VRAM | $0.38/hr | $274/mo~$0.912/1k req | Provider audit → | |
| 2× RTX 4000 Ada40 GB total VRAM | $0.40/hr | $288/mo~$0.960/1k req | Provider audit → | |
| 2× RTX 3090 Ti48 GB total VRAM | $0.408/hr | $294/mo~$0.979/1k req | Provider audit → | |
| 2× RTX 309048 GB total VRAM | $0.44/hr | $317/mo~$1.056/1k req | Provider audit → | |
| 2× T432 GB total VRAM | $0.44/hr | $317/mo~$1.056/1k req | Provider audit → | |
| 2× RTX 508032 GB total VRAM | $0.448/hr | $323/mo~$1.075/1k req | Provider audit → |
Quantization Memory Matrix (INT4 vs FP8 vs BF16)
Same formula as the selector: parameters × bytes-per-parameter multiplier (INT4 0.62, FP8 1.15, BF16 2.2) plus 5 GB KV cache for 10 concurrent requests. GPU counts snap to 1, 2, 4, 8 or 16 and the total VRAM shown always covers the requirement.
| Model | INT4 (AWQ/GPTQ) | FP8 | BF16 (Full Precision) |
|---|---|---|---|
| Qwen 32B | ~25 GB 1× H100/A100 80GB (80 GB) · 1× H200 (141 GB) · 1× B200 (180 GB) | ~42 GB 1× H100/A100 80GB (80 GB) · 1× H200 (141 GB) · 1× B200 (180 GB) | ~75 GB 1× H100/A100 80GB (80 GB) · 1× H200 (141 GB) · 1× B200 (180 GB) |
| Llama 3.3 70B | ~48 GB 1× H100/A100 80GB (80 GB) · 1× H200 (141 GB) · 1× B200 (180 GB) | ~86 GB 2× H100/A100 80GB (160 GB) · 1× H200 (141 GB) · 1× B200 (180 GB) | ~159 GB 2× H100/A100 80GB (160 GB) · 2× H200 (282 GB) · 1× B200 (180 GB) |
| DeepSeek R1 671B | ~421 GB 8× H100/A100 80GB (640 GB) · 4× H200 (564 GB) · 4× B200 (720 GB) | ~777 GB 16× H100/A100 80GB (1280 GB) · 8× H200 (1128 GB) · 8× B200 (1440 GB) | ~1481 GB H100/A100 80GB: multi-node (>16×) · 16× H200 (2256 GB) · 16× B200 (2880 GB) |