No — not on this device
DeepSeek-R1 671B at Q4_K_M needs 378.4 GB against 192.0 GB usable, and the shortfall of 186.4 GB is more than 32 GB of system RAM can cover at a tolerable speed. A smaller sibling or a lower quantisation is the honest answer here.
The January 2025 moment. Multi-head latent attention keeps its KV cache tiny; the weights do not.
What hardware do I need for DeepSeek-R1 671B? →
Fits instead: DeepSeek-R1-Distill-Llama 70B (42.8 GB) · DeepSeek-R1-Distill-Qwen 32B (21.0 GB)
The VRAM budget
Quantisation ladder
| Quant | Weights | Total @ 8K | Max context | Tok/s | Quality | Fit |
|---|---|---|---|---|---|---|
| Q8_0 | 664.0 GB | 665.1 GB | — | ~5.7 | −0.1% ppl | 473.1 GB over |
| Q6_K | 512.4 GB | 513.6 GB | — | ~7.4 | −0.4% ppl | 321.6 GB over |
| Q5_K_M | 442.9 GB | 444.0 GB | — | ~8.5 | −0.8% ppl | 252.0 GB over |
| Q4_K_M | 377.3 GB | 378.4 GB | — | ~10 | −1.9% ppl | 186.4 GB over |
| Q3_K_M | 305.4 GB | 306.6 GB | — | ~12 | −5.4% ppl | 114.6 GB over |
| Q2_K | 261.7 GB | 262.8 GB | — | ~14 | −15% ppl | 70.8 GB over |
Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model uses multi-head latent attention, so its cache is a compressed latent rather than full K and V.
How to run it
$ pip install mlx-lm $ mlx_lm.generate --model mlx-community/DeepSeek-R1-4bit \ --max-tokens 512 --prompt "Hello"
Apple's own array framework. The fastest path on Apple Silicon. More on MLX.