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 256GB has 192 GB usable, so it fits entirely in memory. Expect about 97 tokens/sec (55–139), with the first token after 0.3 s for a short prompt. This estimate is interpolated from benchmarks of similar setups.
| Quantization | File size | Memory | Generation | First token | Source |
|---|---|---|---|---|---|
| UD-IQ1_S | 82.5 GB | Fits | 167 tok/s | 0.3 s | Derived |
| UD-IQ1_M | 86.9 GB | Fits | 164 tok/s | 0.3 s | Derived |
| UD-IQ2_XXS | 90.9 GB | Fits | 162 tok/s | 0.3 s | Derived |
| UD-IQ2_M | 90.9 GB | Fits | 162 tok/s | 0.3 s | Derived |
| UD-Q2_K_XL | 96.8 GB | Fits | 155 tok/s | 0.3 s | Derived |
| UD-IQ3_XXS | 104.2 GB | Fits | 144 tok/s | 0.3 s | Derived |
| UD-IQ3_S | 116.1 GB | Fits | 129 tok/s | 0.3 s | Derived |
| UD-Q3_K_M | 128.1 GB | Fits | 117 tok/s | 0.3 s | Derived |
| UD-Q3_K_XL | 128.2 GB | Fits | 117 tok/s | 0.3 s | Derived |
| UD-IQ4_XS | 136.7 GB | Fits | 110 tok/s | 0.3 s | Derived |
| UD-IQ4_NL | 136.7 GB | Fits | 110 tok/s | 0.3 s | Derived |
| UD-Q4_K_XL | 155.1 GB | Fits | 97 tok/s | 0.3 s | Derived |
| UD-Q8_K_XL | 161.9 GB | Fits | 93 tok/s | 0.3 s | Derived |
All models on the Mac Studio M5 Ultra 256GB · 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.