Can an M4 Max 36GB Mac run DeepSeek-R1-Distill-Qwen-14B?
M4 Max ยท 36 GB unified memory ยท 410 GB/s ยท MacBook Pro 14" (M4 Max)
At Q4_K_M it needs about 11.2 GiB, leaving 19.4 GiB spare out of the ~30.6 GiB macOS will let you use. Expect roughly 36 tokens/sec โ comfortable for interactive chat.
Where the memory goes
Three things occupy memory when a model is loaded: the weights themselves, the KV cache that holds the conversation, and the runtime's own working buffers. Only the first is fixed โ the KV cache grows with every token in your context.
| Quantisation | Weights | Total | Tok/s | Fits? |
|---|---|---|---|---|
| FP16 | 27.6 GiB | 31.2 GiB | 11 | No |
| Q8_0 | 14.6 GiB | 17.7 GiB | 21 | Yes, comfortably |
| Q6_K | 11.4 GiB | 14.2 GiB | 27 | Yes, comfortably |
| Q5_K_M | 9.8 GiB | 12.6 GiB | 31 | Yes, comfortably |
| Q4_K_M | 8.4 GiB | 11.2 GiB | 36 | Yes, comfortably |
| Q3_K_M | 6.7 GiB | 9.4 GiB | 45 | Yes, comfortably |
| Q2_K | 5.2 GiB | 7.7 GiB | 59 | Yes, comfortably |
The default. Best quality-per-gigabyte for most people.
How long a context fits
The KV cache is often what breaks a setup that looked fine at load time. Quantising it to 8-bit roughly halves its footprint with little measurable quality cost.
| Context | KV cache | Total | FP16 KV | Q8 KV |
|---|---|---|---|---|
| 2K | 0.4 GiB | 9.8 GiB | Yes, comfortably | Yes, comfortably |
| 4K | 0.8 GiB | 10.3 GiB | Yes, comfortably | Yes, comfortably |
| 8K | 1.5 GiB | 11.2 GiB | Yes, comfortably | Yes, comfortably |
| 16K | 3.0 GiB | 13.0 GiB | Yes, comfortably | Yes, comfortably |
| 32K | 6.0 GiB | 16.6 GiB | Yes, comfortably | Yes, comfortably |
| 128K | 24.0 GiB | 38.2 GiB | No | Yes, but tight |
How to run it
Ollama is the shortest path. It picks a quantisation automatically โ usually Q4_K_M, which is what the numbers above assume.
brew install ollama
ollama serve &
ollama run deepseek-r1:14b
For MLX โ Apple's own array framework, typically a little faster than llama.cpp on Apple Silicon:
pip install mlx-lm
mlx_lm.generate --model mlx-community/DeepSeek-R1-Distill-Qwen-14B-4bit --prompt "Hello"
Macs that run DeepSeek-R1-Distill-Qwen-14B comfortably
The smallest configuration that handles it is the M3 Pro 18GB (MacBook Pro 14" (M3 Pro)).
| Mac | Memory | Bandwidth | Tok/s |
|---|---|---|---|
| M3 Pro 18GB | 18 GB | 150 GB/s | 13 |
| M2 24GB | 24 GB | 100 GB/s | 9 |
| M4 24GB | 24 GB | 120 GB/s | 11 |
| M4 Pro 24GB | 24 GB | 273 GB/s | 24 |
| M1 Max 32GB | 32 GB | 400 GB/s | 35 |
| M2 Max 32GB | 32 GB | 400 GB/s | 35 |
| M4 32GB | 32 GB | 120 GB/s | 11 |
| M3 Max 36GB | 36 GB | 300 GB/s | 26 |
| M4 Max 36GB | 36 GB | 410 GB/s | 36 |
| M4 Pro 48GB | 48 GB | 273 GB/s | 24 |
| M4 Max 48GB | 48 GB | 546 GB/s | 48 |
| M1 Max 64GB | 64 GB | 400 GB/s | 35 |
Common questions
- Can an M4 Max 36GB Mac run DeepSeek-R1-Distill-Qwen-14B?
- Yes. At Q4_K_M it needs about 11.2 GiB of the roughly 30.6 GiB available, generating around 36 tokens per second.
- How fast is DeepSeek-R1-Distill-Qwen-14B on an Mac?
- Around 36 tokens per second. Token generation on Apple Silicon is limited by memory bandwidth, and this machine has 410 GB/s.
- How much memory does DeepSeek-R1-Distill-Qwen-14B need?
- 8.4 GiB for the weights at Q4_K_M, plus 1.5 GiB for an 8K-token KV cache and about 1.2 GiB of runtime overhead โ 11.2 GiB in total.