Yi-Coder 9B on Apple M4 Pro · 48GB

✅ Runs comfortably — Yi-Coder 9B @ Q8_0
Yi-Coder 9B 9B at Q8_0 needs ~10.0 GB (weights 8.7 GB + KV 768 MB + overhead 512 MB @ 8K ctx) of your 33.0 GB usable (of 48.0 GB unified memory) — plenty of headroom. Expect ~14–25 tok/s (usable).
context @ Q8_0: comfortable to 128K
quantneedsspeed
Q8_010.0 GB~14–25 tok/s (usable)
Q6_K8.0 GB~18–30 tok/s (fast)
Q4_K_M6.2 GB~25–40 tok/s (fast)
$runlocal install yi-coder:9b
runlocal verdict card
download card share on x share on reddit drop it in your model-drop post
Yi-Coder 9B: Runs comfortably
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 M3 Max

Also runs on a Apple M4 Pro: Qwen3 · DeepSeek-R1 (distill) · Qwen2.5 · Mixtral 8x7B · Gemma 3

Best models for a Apple M4 Pro · 48GB →

Architecturally similar

These share Yi-Coder 9B's KV-cache geometry — they size memory the same way, so here's how they fit on a Apple M4 Pro · 48GB too:

modelsharesverdict here
Qwen2.5-Coder 4kv/128hd ✅ Runs comfortably
StarCoder2 4kv/128hd ✅ Runs comfortably
Yi 1.5 4kv/128hd ✅ Runs comfortably
Qwen3 Coder 30B-A3B 4kv/128hd ✅ Runs (tight)
SmolLM3 3B 4kv/128hd ✅ Runs comfortably

Check any combo yourself: open the checker →