DeepSeek-V3 / R1 (671B) VRAM & GPU Requirements Calculator
DeepSeek-V3 / R1 (671B) requires 1249.8 GiB in FP16, 624.9 GiB in FP8, and 381.2 GiB in GGUF Q4_K_M for weights alone (671B total / 37B active MoE · MLA latent dim 512 + 64 RoPE). At 8K context (batch=1, FP16 KV), KV-cache adds 0.54 GiB (56.9× smaller than MHA).
Can Your GPU or Mac Run DeepSeek-V3 / R1? (8K Context, Batch=1)
Pre-computed fit verdict and estimated decode speed across RTX 4090/3090, Apple Silicon Unified Memory, and NVIDIA H100 clusters.
| Hardware Rig | Q4_K_M (399.0 GiB) | FP8 (642.5 GiB) | FP16 (1267.7 GiB) |
|---|---|---|---|
| 1× RTX 4090 (23.9 GiB usable) | OOM (-359G) | OOM (-603G) | OOM (-1228G) |
| 2× RTX 4090 / 3090 (47.8 GiB usable) | OOM (-337G) | OOM (-581G) | OOM (-1206G) |
| Apple M4 Max (128 GiB Unified · 96 GiB GPU) | OOM (-287G) | OOM (-531G) | OOM (-1156G) |
| Apple M3 Ultra (256 GiB Unified · 192 GiB GPU) | OOM (-191G) | OOM (-435G) | OOM (-1060G) |
| 1× H100 SXM (79.6 GiB usable) | OOM (-304G) | OOM (-547G) | OOM (-1172G) |
| 4× H100 SXM (318.4 GiB usable) | OOM (-71G) | OOM (-314G) | OOM (-940G) |
| 8× H100 SXM (636.8 GiB usable) | FIT · ~86 tok/s | OOM (-6G) | OOM (-631G) |
| 8× H200 SXM (1,123.2 GiB usable) | FIT · ~89 tok/s | FIT · ~85 tok/s | OOM (-144G) |
Interactive DeepSeek-V3 / R1 VRAM & Roofline Simulator
1. Model & Workload
2. Target GPU / Mac Silicon
VRAM Allocation vs. Hardware Capacity
Decode Arithmetic Intensity Roofline
Compare Other LLM VRAM Requirements
All 14 Models →Frequently Asked Questions
Can 1× or 2× RTX 4090 (24 GiB / 48 GiB) run DeepSeek-V3 / R1 (671B)?
At 8K context (batch=1) in GGUF Q4_K_M, DeepSeek-V3 / R1 (671B) needs 399.0 GiB total VRAM including CUDA runtime overhead (381.2 GiB weights). Single 23.9 GiB usable RTX 4090: OOM without CPU offload. Dual 47.8 GiB usable (2× 4090/3090): Exceeds 47.8 GiB usable VRAM.
Can an Apple M4 Max (128 GiB) Mac Studio / MacBook Pro run DeepSeek-V3 / R1 (671B)?
An Apple M4 Max 128 GiB reserves 96 GiB wired GPU memory by default. In GGUF Q4_K_M (399.0 GiB needed at 8K), it exceeds M4 Max 128 GiB (needs M3 Ultra 256/512 GiB or multi-GPU cluster).
How much KV-cache does DeepSeek-V3 / R1 (671B) use at 32K context?
DeepSeek-V3 / R1 (671B) uses MLA, giving a 56.9× KV-cache reduction vs standard MHA. At 32,768 context (batch=1, FP16 KV), KV-cache occupies 2.14 GiB.