// RUN โ€” FITS

Can the Apple M4 Max 128GB run FunSearch?

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

FunSearch on the Apple M4 Max 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 319k 12.4-14.9 t/s ~0.2-0.3 (slow)
Q8 yes 377k 24.8-29.8 t/s ~0.5-0.5 (slow)
Q4 yes 402k 44.2-53.3 t/s ~0.8-1 (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 FunSearch?โ–ถ

Yes. At Q4 it generates ~44.2-53.3 tok/s and fits up to 402k context; beyond that it spills to SSD swap and slows to ~0.8-1 tok/s.

How much context fits?โ–ถ

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