llamaperf

llama.cpp on the M3 Ultra 512GB

On the M3 Ultra 512GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 87.8 tokens per second for generation, from 1 plain run (context not stated).

Speed by model on the M3 Ultra 512GB

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-bit87.8 t/sone report, context not statedno other engine reported
Gemma 4 26B · 4B active 5-bit88.1 t/sone report, context not statedno other engine reported
Gemma 4 26B · 4B active 8-bit84.9 t/sone report, context not statedno other engine reported
Gemma 4 26B · 4B active 16-bit62.4 t/sone report, context not statedno other engine reported
Qwen3.5 35B · 3B active 4-bit80.9 t/sone report, context not statedno other engine reported
Qwen3.8 125B · 6B active 4-bit31.1 t/sone report, 250K context
oMLX 25.0 t/sone report, context not stated
Qwen3.8 125B · 6B active 8-bit25.7 t/sone report, 32K contextno other engine reported

8 llama.cpp reports on the M3 Ultra 512GB

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 M3 Ultra 512GB?

On the M3 Ultra 512GB, llama.cpp runs Gemma 4 26B · 4B active at 4-bit at a median 87.8 tokens per second for generation, from 1 plain run (context not stated).

Is llama.cpp faster than other engines on the M3 Ultra 512GB?

Same card, same model size and bit class, plain runs only: Qwen3.8 125B · 6B active at 4-bit gives llama.cpp 31.1 t/s (1 run) and oMLX 25.0 t/s (1). Context length and engine build differ between the runs, so treat it as a lead, not a benchmark.