// RUN โ€” FITS

Can the Apple M4 Max 128GB run Gemma 2B?

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

Gemma 2B on the Apple M4 Max 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1658k 74.1-89.3 t/s ~1.4-1.6 (slow)
Q8 yes 1697k 148.1-178.6 t/s ~2.7-3.3 (slow)
Q4 yes 1714k 264.5-319 t/s ~4.8-5.8 (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 128GB run Gemma 2B?โ–ถ

Yes. At Q4 it generates ~264.5-319 tok/s and fits up to 1714k context; beyond that it spills to SSD swap and slows to ~4.8-5.8 tok/s.

How much context fits?โ–ถ

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