How much VRAM does DeepSeek V4 Pro 1.6T need at Q4_K_M? CSA + MLA frontier

By TechCompare · Updated · How we check

Resident mode for V4 Pro at 1M context takes about 14 H100 cards of 80 GB (two 8 GPU nodes) or about 8 H200 cards of 141 GB with NVLink, or comparable MI300X capacity. The hosted DeepSeek API is usually cheaper than self-hosting at this scale, so self-host only when data residency or bit-exact control is the real requirement.

Calculator

Estimated VRAM required

1,085 GB

1600B params at Q4_K_M, 1,048,576 token context, batch 1, inference.

Weights
976 GB
KV cache
10.4 GB
Overhead
98.7 GB

Estimate accuracy: Weights within ~3% of most GGUF files from Q4_K_M up, ~7% for Q3_K_M and Q2_K. KV cache within ~5% for standard GQA models, ~10% for MLA or hybrid state estimates. Real VRAM may vary with framework (vLLM vs llama.cpp vs Transformers), Flash Attention, and driver overhead.

Hardware that fits

Unified memory machines show a model budget, not their installed memory. We hold back 8 GB for the system, or use the vendor's GPU limit when that's lower. It's a planning estimate, not a hard limit.

No single card or machine in our catalog has enough memory. The multi-GPU setups below do.

Multi-GPU setups

4× NVIDIA B300
Datacenter · 272 GB per card
1,152 GB
95% used

Pooled cards show up once a model outgrows the biggest single card of that kind. Each card past the first keeps about 1 GB for its own buffers, and that's counted here. Your inference engine has to support the split, and speed also depends on how the cards connect.

DeepSeek V4 Pro 1.6T at Q4_K_M with the full 1M-token context needs about 1085 GB of VRAM with every expert loaded. That's the real shape of the model and the number to plan a deployment against. The 1.6T parameter pool at Q4 is 976 GB of weights on its own.

Compressed attention keeps the KV cache to about 10.4 GB even at 1M tokens, and runtime overhead adds about 99 GB. Each token only uses 49B parameters, but that doesn't shrink what has to stay loaded, because different tokens pick different experts. Moving experts to system RAM cuts VRAM, but the host then has to hold those weights and every token gets much slower.

How this is calculated

The 1.6T parameter pool dominates: 1,600B x 0.61 bytes per parameter = 976 GB of weights, no matter which experts a given token routes to. The KV cache follows DeepSeek's reference code, not the standard per-token formula.

K and V share one 512-value vector per cache entry. 30 of the 61 layers use Compressed Sparse Attention (CSA) and keep one entry per 4 tokens, plus a 128-value indexer key. The other 31 use Heavily Compressed Attention (HCA) and keep one entry per 128 tokens. That averages about 80.7 values per token per layer, or 10.4 GB in 16-bit at the full 1,048,576-token window.

Each layer also keeps its last 128 tokens uncompressed, but that's a fixed 8 MB or so. The calculator adds 10% of weights plus cache as overhead, about 98.7 GB, for 1085 GB total.

Verdict

Plan on resident mode for serving. The 49B active count doesn't shrink the 1085 GB total, because any token can route to any expert, so every expert stays in VRAM for full-speed serving.

CSA and HCA are what keep the long-context cache this small. Without that compression, one 512-value entry per token in all 61 layers would need about 65.5 GB at 1M tokens, over six times the cache shown here.

More DeepSeek scenarios

Kimi K3.1 Pro at Q4_K_M
A 2.78T expert pool with 24 latent attention layers and fixed state in the other 69.
View details
Mistral Large 4 at Q4_K_M
A 1T expert pool with 63 latent cache owners and 44 layers that also store an index key.
View details
Muse Spark Open at Q4_K_M
Only 16 of its 62 layers grow with context, and the other 46 hold a 2,048 token window.
View details

Frequently asked questions

What's CSA and why does it matter?
Compressed Sparse Attention is one of V4's two compressed attention types. A CSA layer keeps one cache entry per 4 tokens, plus a 128-value indexer key per entry that lets each query pick the top 1,024 entries to attend to. The other type, Heavily Compressed Attention (HCA), keeps one entry per 128 tokens. V4 Pro uses CSA in 30 of its 61 layers and HCA in the other 31, and K and V share each 512-value entry. At the full 1M window that's about 10.4 GB in 16-bit, which is what this page shows. The calculator's Q8 KV option halves it to about 5.2 GB.
Can V4 Pro fit on 8x H100?
Not at Q4_K_M with the full 1M context. 1085 GB is more than 8 x 80 = 640 GB. You need about 14 H100 80GB or 8 H200 141GB to keep every expert loaded. Even Q2_K, the smallest quantization this calculator offers, comes to about 681 GB, so eight H100s don't hold it at any of them.
Should I run V4 Pro or V4 Flash locally?
V4 Flash 284B is the practical answer: it keeps most of V4 Pro's reasoning quality, and 284B x 0.61 = ~174 GB of weights. A single MI300X 192GB holds it at a 32K context (191 GB), but not at the full 1M (199 GB).