Qwen2.5-Coder on Apple M2 Max · 64GB

✅ Runs (tight) — Qwen2.5-Coder 32B @ Q8_0
Qwen2.5-Coder 32B at Q8_0 needs ~36.1 GB (weights 32.4 GB + KV 2.0 GB + overhead 1.6 GB @ 8K ctx) of your 45.0 GB usable (of 64.0 GB unified memory) — fits, but little headroom — close other apps or trim context. Expect ~5–8 tok/s (slow).
context @ Q8_0: comfortable to 4K · runs to 64K · won't fit past that on this rig
quantneedsspeed
Q8_036.1 GB~5–8 tok/s (slow)
Q5_K_M24.7 GB~7–12 tok/s (usable)
Q4_K_M21.4 GB~9–14 tok/s (usable)
Q3_K_M17.6 GB~10–17 tok/s (usable)
$runlocal install qwen2.5-coder:32b
runlocal verdict card
download card share on x share on reddit drop it in your model-drop post
Qwen2.5-Coder: Runs (tight)
for your own README — links back here

Same model, other machines: Apple M1 · Apple M1 Pro · Apple M2 · Apple M3 Pro · Apple M2 Pro · Apple M4 Pro

Also runs on a Apple M2 Max: DeepSeek-R1 (distill) · Qwen3 · Llama 3.1 · Llama 3.3 · Qwen2.5

Best models for a Apple M2 Max · 64GB →

Architecturally similar

These share Qwen2.5-Coder's KV-cache geometry — they size memory the same way, so here's how they fit on a Apple M2 Max · 64GB too:

modelsharesverdict here
Llama 3.2 8kv/128hd ✅ Runs comfortably
Mistral 7B 8kv/128hd ✅ Runs comfortably
Mistral Small 3 8kv/128hd ✅ Runs comfortably
Mistral Nemo 8kv/128hd ✅ Runs comfortably
Codestral 8kv/128hd ✅ Runs comfortably
Llama 3.2 Vision 8kv/128hd ✅ Runs comfortably
Mixtral 8x7B 8kv/128hd ✅ Runs comfortably
Phi-4-mini 8kv/128hd ✅ Runs comfortably

…and 10 more — see the Qwen2.5-Coder page.

Check any combo yourself: open the checker →