// RUN โ€” FITS

Can the Apple M4 Max 128GB run MatterGen?

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

MatterGen on the Apple M4 Max 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1733k 3966.7-4783.3 t/s ~72.6-87.6 (slow)
Q8 yes 1734k 7933.3-9566.7 t/s ~145.3-175.2 (slow)
Q4 yes 1735k 14166.7-17083.3 t/s ~259.5-312.9 (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 MatterGen?โ–ถ

Yes. At Q4 it generates ~14166.7-17083.3 tok/s and fits up to 1735k context; beyond that it spills to SSD swap and slows to ~259.5-312.9 tok/s.

How much context fits?โ–ถ

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