// RUN โ€” FITS

Can the Apple M4 Max 64GB run Gemma 2 9B?

Yes โ€” here's how fast and up to what context, with real measured numbers.

Gemma 2 9B on the Apple M4 Max 64GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 291k 20.6-24.9 t/s ~0.4-0.5 (slow)
Q8 yes 359k 41.3-49.7 t/s ~0.8-0.9 (slow)
Q4 yes 390k 73.7-88.8 t/s ~1.3-1.6 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to SSD swap and speed drops to the "beyond" figure.

FAQ

Can the Apple M4 Max 64GB run Gemma 2 9B?โ–ถ

Yes. At Q4 it generates ~73.7-88.8 tok/s and fits up to 390k context; beyond that it spills to SSD swap and slows to ~1.3-1.6 tok/s.

How much context fits?โ–ถ

At Q4, up to about 390k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.