can-i-run-this-llm

Can I run this LLM?

Can a MacBook Air M4 (24GB) run GLM-4 9B?

GLM · MIT · estimated for a 24.0 GB machine at 4K context.

Yes — it runs great.

Best fit: GLM-4 9B at Q4_K_M · 5.7 GB · 13–19 tok/s on a MacBook Air M4 (24GB).

Every quantization on this machine

QuantSizeSpeedFit
Q2_K3.1 GB22–33 tok/sRuns great
Q3_K_M4.1 GB17–26 tok/sRuns great
Q4_K_M5.7 GB13–19 tok/sRuns great
Q5_K_M6.7 GB11–17 tok/sTight / slow
Q6_K7.8 GB10–14 tok/sTight / slow
Q8_010.0 GB8–11 tok/sTight / slow
FP1618.8 GB4–6 tok/sWon't fit

Ran GLM-4 9B on a MacBook Air M4 (24GB)? Add your real numbers →