DeepSeek-R1 671B MoE VRAM Calculator & GPU Sizing

Architecture: MoE (37B active) (671.0B total params · max context 128K). At 8K context, Q4_K_M needs ~456.2 GB VRAM (8x H200 141GB or 8x–16x H100 80GB cluster) and FP8 needs ~818.9 GB VRAM.

DeepSeek-R1 671B MoE Memory Breakdown by Quantization (8K Context, Batch=1)

Precision / FormatModel WeightsKV Cache + OverheadTotal Est. VRAMRecommended GPU
IQ3_XS (3-bit)255.0 GB46.9 GB301.8 GB4x H100 80GB or 4x A100 80GB
Q4_K_M / AWQ (4-bit)389.2 GB67.0 GB456.2 GB8x H200 141GB or 8x–16x H100 80GB cluster
FP8 / INT8 (8-bit)704.6 GB114.3 GB818.9 GB8x H200 141GB or 8x–16x H100 80GB cluster
FP16 / BF16 (16-bit)1342.0 GB209.9 GB1551.9 GB8x H200 141GB or 8x–16x H100 80GB cluster

Hardware Compatibility Check (DeepSeek-R1 671B MoE in Q4_K_M ~456.2 GB)

HardwareMemoryQ4_K_M (8K Ctx) Fit
NVIDIA RTX 3090 / RTX 409024 GB VRAMNeeds +432.2 GB (use lower quant or cloud GPU)
NVIDIA RTX 509032 GB VRAMNeeds +424.2 GB (use lower quant or cloud GPU)
NVIDIA L40S / RTX A600048 GB VRAMNeeds +408.2 GB (use lower quant or cloud GPU)
NVIDIA A100 / H100 (Single)80 GB VRAMNeeds +376.2 GB (use lower quant or cloud GPU)
Apple Mac Studio (Unified)128 GB (approx. 96 GB GPU)Needs +360.2 GB (use lower quant or cloud GPU)

Frequently Asked Questions

How much VRAM does DeepSeek-R1 671B MoE need in Q4_K_M?

DeepSeek-R1 671B MoE requires ~389.2 GB for 4-bit Q4_K_M weights plus ~67.0 GB for 8K KV cache and CUDA runtime overhead, totaling 456.2 GB VRAM.

Can a single RTX 4090 (24GB) run DeepSeek-R1 671B MoE?

Needs +432.2 GB (use lower quant or cloud GPU) at Q4_K_M and 8K context. For long-context serving or multi-user concurrency, consider an on-demand 48GB/80GB cloud GPU.

How is VRAM calculated for MoE (37B active) models?

Total VRAM = (Total Parameters × Bytes per Parameter) + (KV Cache per 1K tokens × Context × Batch) + 15% runtime buffer. Even for Mixture-of-Experts models, all total weights (671.0B) must be loaded in memory.

Compare Other Open-Weight LLM VRAM Guides

DeepSeek-R1-Distill-Qwen-1.5BDeepSeek-R1-Distill-Qwen-7BDeepSeek-R1-Distill-Llama-8BDeepSeek-R1-Distill-Qwen-14BDeepSeek-R1-Distill-Qwen-32BDeepSeek-R1-Distill-Llama-70BDeepSeek-V3 685B MoEDeepSeek-V2.5 236B MoEQwen3-8BQwen3-14B