Can You Run DeepSeek-R1-Distill-Qwen-7B on M4 Max 64 GB?
4bit · mlx · 512-token input · 8,192-token context window
Ran successfully
Measured Run recorded 2026-11-29 UTC with mlx mlx-lm 0.32.2 / mlx 0.32.5. The estimated working allocation is 6.0 GB for DeepSeek-R1-Distill-Qwen-7B in 4bit.
95.7 tok/s measured in mlx mlx-lm 0.32.2 / mlx 0.32.5 on 2026-11-29 The GPU shares its 64 GB pool with macOS.
Adjust configuration- Estimated weights
- 4.3 GB
- Estimated FP16 cache
- 0.5 GB
- Estimated overhead
- 1.2 GB
- Estimated GPU budget
- 41.6–48.0 GB
Context sensitivity
Estimated| Context capacity | Cache | Total allocation |
|---|---|---|
| 4,096 tokens | 0.23 GB | 5.72 GB |
| 8,192 tokens | 0.47 GB | 5.98 GB |
| 16,384 tokens | 0.94 GB | 6.50 GB |
| 32,768 tokens | 1.88 GB | 7.53 GB |
Recorded tests
| Model / hardware | Runtime | Prompt / window | Decode | Source |
|---|---|---|---|---|
| DeepSeek-R1-Distill-Qwen-7BM4 Max 64 GB | mlxmlx-lm 0.32.2 / mlx 0.32.54bit | 512 / 8,192 | 95.7 tok/s | Measured2026-11-29 UTC |
| DeepSeek-R1-Distill-Qwen-7BM4 Max 64 GB | ollama0.40.16Q4_K_M | 512 / 8,192 | 82.9 tok/s | Measured2026-11-29 UTC |
Related profiles
Frequently asked questions
Does DeepSeek-R1-Distill-Qwen-7B fit on M4 Max?
Ran successfully for 4bit with 8,192 context tokens. The verdict comes from an observed run.
How fast is generation?
95.7 tok/s measured in mlx mlx-lm 0.32.2 / mlx 0.32.5 on 2026-11-29
How much difference does context make?
At 8,192 tokens, the estimated FP16 attention cache is 0.47 GB. The weight allocation stays around 4.28 GB when only context changes.