llamaperf

llama.cpp on the M4 Max 128GB

On the M4 Max 128GB, llama.cpp runs Qwen3.8 27B at 2-bit at a median 24.5 tokens per second for generation, from 2 plain runs (context not stated).

Speed by model on the M4 Max 128GB

Plain runs only: one device, one request, no speculative decoding, the whole model in memory. Each row is one model size at one bit class, with the other engines' plain runs of the same model on this card beside it. Context length and build still differ between runs, and each side shows its own.

Modelllama.cppOther engines
Qwen3.8 27B 2-bit24.5 t/smedian of 2, context not statedno other engine reported
Qwen3.8 27B 3-bit23.9 t/smedian of 2, context not statedno other engine reported
Falcon-H1 1.5B 4-bit147.5 t/sone report, context not statedno other engine reported
Falcon-H1 3B 4-bit86.4 t/sone report, context not statedno other engine reported
Falcon-H1 7B 4-bit52.7 t/sone report, context not statedno other engine reported
Gemma 4 12B 4-bit54.5 t/sone report, context not statedno other engine reported
Gemma 4 26B · 4B active 4-bit88.1 t/sone report, context not statedno other engine reported
gpt-oss 117B · 5.1B active 4-bit85.4 t/sone report, context not statedno other engine reported
gpt-oss 21B · 3.6B active 4-bit123.1 t/sone report, context not statedno other engine reported
Granite-4.0-H 1B 4-bit141.9 t/sone report, context not statedno other engine reported
Qwen3.5 122B · 10B active 4-bit15.6 t/sone report, context not statedno other engine reported
Qwen3.5 4B 4-bit101.4 t/sone report, context not statedno other engine reported
Qwen3.5 4B 8-bit78.8 t/sone report, context not statedno other engine reported
Qwen3.5 9B 4-bit68.0 t/sone report, context not statedno other engine reported
Qwen3.5 9B 8-bit48.4 t/sone report, context not statedno other engine reported
Qwen3.6 35B · 3B active 4-bit81.1 t/sone report, context not statedno other engine reported
Qwen3.8 125B · 6B active 3-bit27.3 t/sone report, 32K contextno other engine reported
Qwen3.8 27B 4-bit21.8 t/sone report, context not statedno other engine reported
Qwen3.8 27B 5-bit19.7 t/sone report, context not statedno other engine reported
Qwen3.8 27B 6-bit17.2 t/sone report, context not statedno other engine reported
Qwen3.8 27B 8-bit15.7 t/sone report, context not statedno other engine reported
SmolLM3 3B 4-bit168.6 t/sone report, context not statedno other engine reported
SmolLM3 3B 8-bit119.7 t/sone report, context not statedno other engine reported

33 llama.cpp reports on the M4 Max 128GB

Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.

Filter these reports on the homepage

Frequently asked

How fast is llama.cpp on the M4 Max 128GB?

On the M4 Max 128GB, llama.cpp runs Qwen3.8 27B at 2-bit at a median 24.5 tokens per second for generation, from 2 plain runs (context not stated).