DeepSeek-R1 & V3 GPU VRAM Calculator

Size exact GPU memory for DeepSeek-R1 Distill (7B/14B/32B/70B) and full 671B MoE in FP8, INT4, and Q4_K_M with KV cache.

How It Works & Reference

DeepSeek-R1 671B uses a Mixture-of-Experts (MoE) architecture: only 37B parameters activate per token, but ALL 671B weights must reside in GPU VRAM (or host RAM for hybrid offload). In native FP8 (~1.05 B/param) full weights require ~700 GB VRAM (e.g., 8x H200 or 16x H100 80GB), while 32B/70B Distill models fit comfortably on 1–2 consumer 24GB GPUs in Q4_K_M.

DeepSeek-R1 / V3 Model Sizing Quick Reference

Model VariantQ4_K_M WeightsRecommended VRAMTypical Hardware
DeepSeek-R1-Distill-7B~4.7 GB8 GBRTX 4060 / 16GB Mac
DeepSeek-R1-Distill-14B~9.0 GB12–16 GBRTX 4070 Ti / 24GB Mac
DeepSeek-R1-Distill-32B~19.8 GB24–32 GB1x RTX 4090 / 36GB Mac
DeepSeek-R1-Distill-70B~42.5 GB48–64 GB2x RTX 4090 / 1x A100 80G
DeepSeek-R1 / V3 671B (FP8)~685 GB760–800 GB+8x H200 / 16x H100 80G

Frequently Asked Questions

How much VRAM does DeepSeek-R1 32B need locally?

In Q4_K_M (~19 GB weights), a single 24GB GPU (RTX 3090/4090) handles 8K–16K context comfortably; 32GB+ VRAM gives generous headroom for 32K context.

Why does 671B MoE still need huge VRAM if only 37B is active?

Because the router can dispatch any token to any expert layer dynamically, all expert weights must stay loaded in fast memory to avoid PCIe bottlenecks.

Does MLA (Multi-head Latent Attention) reduce KV cache?

Yes. DeepSeek's MLA compresses KV representations significantly compared to standard MHA, making long-context serving far more memory efficient.

Related Tools