llamaperf

llama.cpp on the M4 16GB

On the M4 16GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 30.9 tokens per second for generation, from 1 plain run (64K context).

Speed by model on the M4 16GB

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
Gemma 4 26B · 4B active 4-bit30.9 t/sone report, 64K contextno other engine reported

10 llama.cpp reports on the M4 16GB

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.

Filter these reports on the homepage

Frequently asked

How fast is llama.cpp on the M4 16GB?

On the M4 16GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 30.9 tokens per second for generation, from 1 plain run (64K context).