Can I run Qwen2.5-Coder-32B-Instruct on a Apple M3?
Not at these settings. No indexed quantization of Qwen2.5-Coder-32B-Instruct fits Apple M3 at any context we compute, with q4_0 KV. The smallest shipped quantization is 8.41 GiB in weights alone, against 5.58 GiB usable. CPU offload can still run it, slowly.
Every quantization at every context
| Quant | Weights● | 4K◐ | 8K◐ | 16K◐ | 32K◐ | 64K◐ | 128K◐ |
|---|---|---|---|---|---|---|---|
| Q8_0 | 64.86 GiB | 65.8 | 66.1 | 66.6 | 67.8 | 70.0 | 74.5 |
| Q6_K | 50.08 GiB | 51.0 | 51.3 | 51.9 | 53.0 | 55.2 | 59.7 |
| Q5_K_M | 43.33 GiB | 44.3 | 44.5 | 45.1 | 46.2 | 48.5 | 53.0 |
| Q5_0 | 42.17 GiB | 43.1 | 43.4 | 43.9 | 45.1 | 47.3 | 51.8 |
| Q4_K_M | 36.98 GiB | 37.9 | 38.2 | 38.8 | 39.9 | 42.1 | 46.6 |
| Q4_0 | 34.72 GiB | 35.7 | 35.9 | 36.5 | 37.6 | 39.9 | 44.4 |
| Q3_K_M | 29.68 GiB | 30.6 | 30.9 | 31.5 | 32.6 | 34.8 | 39.3 |
| Q6_K_L | 25.39 GiB | 26.3 | 26.6 | 27.2 | 28.3 | 30.5 | 35.0 |
| Q2_K | 22.93 GiB | 23.9 | 24.1 | 24.7 | 25.8 | 28.1 | 32.6 |
| Q5_K_L | 22.11 GiB | 23.0 | 23.3 | 23.9 | 25.0 | 27.3 | 31.8 |
| Q5_K_S | 21.08 GiB | 22.0 | 22.3 | 22.9 | 24.0 | 26.2 | 30.7 |
| Q4_K_L | 19.03 GiB | 20.0 | 20.2 | 20.8 | 21.9 | 24.2 | 28.7 |
| Q4_K_S | 17.49 GiB | 18.4 | 18.7 | 19.3 | 20.4 | 22.6 | 27.1 |
| IQ4_NL | 17.40 GiB | 18.3 | 18.6 | 19.2 | 20.3 | 22.5 | 27.0 |
| IQ4_XS | 16.48 GiB | 17.4 | 17.7 | 18.3 | 19.4 | 21.6 | 26.1 |
| Q3_K_L | 16.06 GiB | 17.0 | 17.3 | 17.8 | 19.0 | 21.2 | 25.7 |
| IQ3_M | 13.79 GiB | 14.7 | 15.0 | 15.6 | 16.7 | 18.9 | 23.4 |
| Q3_K_S | 13.40 GiB | 14.3 | 14.6 | 15.2 | 16.3 | 18.6 | 23.1 |
| IQ3_XS | 12.76 GiB | 13.7 | 14.0 | 14.5 | 15.7 | 17.9 | 22.4 |
| Q2_K_L | 12.18 GiB | 13.1 | 13.4 | 13.9 | 15.1 | 17.3 | 21.8 |
| IQ3_XXS | 11.96 GiB | 12.9 | 13.2 | 13.7 | 14.9 | 17.1 | 21.6 |
| IQ2_M | 10.49 GiB | 11.4 | 11.7 | 12.3 | 13.4 | 15.6 | 20.1 |
| IQ2_S | 9.67 GiB | 10.6 | 10.9 | 11.4 | 12.6 | 14.8 | 19.3 |
| IQ2_XS | 9.27 GiB | 10.2 | 10.5 | 11.0 | 12.2 | 14.4 | 18.9 |
| IQ2_XXS | 8.41 GiB | 9.3 | 9.6 | 10.2 | 11.3 | 13.6 | 18.1 |
Figures are GiB of total memory: weights plus KV cache plus compute buffer and backend overhead. Weights and KV are near-exact; the overhead term is modeled. Hover any cell for the breakdown.
Why other calculators disagree
A parameters × bits ÷ 8 estimate ignores two things that dominate at long context. First, the weights themselves are not the nominal rate — quantizations are mixtures, so the real file is consistently larger than the label implies. Second, most of this model's layers cache only a 131,072-token window rather than the full context.