DeepSeek V4 Flash is a 304.18B-parameter mixture-of-experts model (13B active per token). At UD-Q4_K_XL it needs about 155.8 GB of memory. The Mac Studio M5 Ultra 512GB has 384 GB usable, so it fits entirely in memory. Expect about 87 tokens/sec (74–100), with the first token after 0.3 s for a short prompt. This estimate is projected from the hardware specs; no benchmarks exist yet.
| Quantization | File size | Memory | Generation | First token | Source |
|---|---|---|---|---|---|
| UD-IQ1_S | 82.5 GB | Fits | 164 tok/s | 0.3 s | Projected |
| UD-IQ1_M | 86.9 GB | Fits | 155 tok/s | 0.3 s | Projected |
| UD-IQ2_XXS | 90.9 GB | Fits | 149 tok/s | 0.3 s | Projected |
| UD-IQ2_M | 90.9 GB | Fits | 148 tok/s | 0.3 s | Projected |
| UD-Q2_K_XL | 96.8 GB | Fits | 139 tok/s | 0.3 s | Projected |
| UD-IQ3_XXS | 104.2 GB | Fits | 130 tok/s | 0.3 s | Projected |
| UD-IQ3_S | 116.1 GB | Fits | 116 tok/s | 0.3 s | Projected |
| UD-Q3_K_M | 128.1 GB | Fits | 105 tok/s | 0.3 s | Projected |
| UD-Q3_K_XL | 128.2 GB | Fits | 105 tok/s | 0.3 s | Projected |
| UD-IQ4_XS | 136.7 GB | Fits | 99 tok/s | 0.3 s | Projected |
| UD-IQ4_NL | 136.7 GB | Fits | 99 tok/s | 0.3 s | Projected |
| UD-Q4_K_XL | 155.1 GB | Fits | 87 tok/s | 0.3 s | Projected |
| UD-Q8_K_XL | 161.9 GB | Fits | 83 tok/s | 0.3 s | Projected |
All models on the Mac Studio M5 Ultra 512GB · DeepSeek V4 Flash on all hardware
Estimates for a short prompt on a single device. Measured numbers come from community benchmarks (r/LocalLLaMA, localscore.ai and more); others are derived from similar setups or projected from specs. Open source on GitHub.