Can I run DeepSeek V4.1 Flash (MoE) locally?
DeepSeek V4.1 Flash (MoE) has 763.21 billion parameters (Hugging Face). At the popular Q4_K_M quantization it needs roughly 486.8 GB of GPU memory ESTIMATE. It has been on Hugging Face since 2026-09-10. It's a mixture-of-experts model: all weights must fit in memory, but it generates faster than a dense model of the same size.
Memory needed by quantization
| Quant | Weights | Total needed (est.) |
|---|---|---|
| IQ1_S | 148.8 GB | 157.2 GB |
| IQ2_XXS | 196.5 GB | 207.3 GB |
| IQ2_M | 257.6 GB | 271.4 GB |
| Q2_K | 302.4 GB | 318.5 GB |
| IQ3_XXS | 291.9 GB | 307.5 GB |
| Q3_K_S | 348.2 GB | 366.6 GB |
| IQ3_M | 349.2 GB | 367.6 GB |
| Q3_K_M | 381.6 GB | 401.6 GB |
| IQ4_XS | 405.5 GB | 426.7 GB |
| Q4_0 | 429.3 GB | 451.7 GB |
| Q4_K_M | 462.7 GB | 486.8 GB |
| MXFP4 | 441.7 GB | 464.7 GB |
| Q5_K_M | 542.8 GB | 570.9 GB |
| Q6_K | 625.8 GB | 658.1 GB |
| Q8_0 | 810.9 GB | 852.4 GB |
| F16 | 1526.4 GB | 1603.7 GB |
KV cache by context length ESTIMATE
| Context | f16 | q8_0 | q4_0 |
|---|---|---|---|
| 4k | 0.34 GB | 0.18 GB | 0.09 GB |
| 8k | 0.67 GB | 0.36 GB | 0.19 GB |
| 16k | 1.34 GB | 0.71 GB | 0.38 GB |
| 32k | 2.68 GB | 1.43 GB | 0.75 GB |
| 64k | 5.37 GB | 2.85 GB | 1.51 GB |
| 128k | 10.74 GB | 5.70 GB | 3.02 GB |
From config.json: 40 KV-caching attention layers, 1 KV heads × 512 head dim. Max context 1024k. The tables above assume 4k context.
Which GPUs and Macs can run it?
✅ fits · ⚠️ fits with little headroom · ❌ doesn't fit on this one device (multiple GPUs or RAM offload may work; check your setup). Apple Silicon assumes macOS lets the GPU use ~67–75% of unified memory. All fit verdicts are estimates.
Get the weekly "new models & what it takes to run them" email
Free. One email a week. Unsubscribe anytime.