llamaperf

llama.cpp on the M5 Max 48GB

On the M5 Max 48GB, llama.cpp runs Gemma 3 12B at 4-bit at a median 61.5 tokens per second for generation, from 1 plain run (context not stated).

Speed by model on the M5 Max 48GB

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 3 12B 4-bit61.5 t/sone report, context not stated
MLX 66.9 t/sone report, context not stated
Gemma 3 1B 4-bit294.9 t/sone report, context not statedno other engine reported
Gemma 3 27B 4-bit29.9 t/sone report, context not statedno other engine reported
Gemma 3 4B 4-bit150.5 t/sone report, context not stated
MLX 176.2 t/sone report, context not stated
Gemma 4 26B · 4B active 4-bit116.9 t/sone report, context not statedno other engine reported
Gemma 4 31B 4-bit25.2 t/sone report, context not statedno other engine reported
Gemma 4 5.1B · 2.3B active 4-bit173.7 t/sone report, context not statedno other engine reported
Gemma 4 8B · 4.5B active 4-bit110.5 t/sone report, context not statedno other engine reported
Llama 3.2 1B 4-bit439.6 t/sone report, context not statedno other engine reported
Llama 3.2 3B 4-bit199.9 t/sone report, context not statedno other engine reported
Qwen 2.5 Coder 14B 4-bit56.0 t/sone report, context not stated
MLX 60.8 t/sone report, context not stated
Qwen 2.5 Coder 32B 4-bit26.3 t/sone report, context not stated
MLX 28.4 t/sone report, context not stated
Qwen 2.5 Coder 7B 4-bit106.0 t/sone report, context not stated
MLX 121.8 t/sone report, context not stated
Qwen3 0.6B 4-bit457.1 t/sone report, context not stated
MLX 570.6 t/sone report, context not stated
Qwen3 1.7B 4-bit288.6 t/sone report, context not stated
MLX 366.0 t/sone report, context not stated
Qwen3 14B 4-bit57.4 t/sone report, context not stated
MLX 62.6 t/sone report, context not stated
Qwen3 30B · 3B active 4-bit148.5 t/sone report, context not statedno other engine reported
Qwen3 32B 4-bit26.4 t/sone report, context not stated
MLX 28.4 t/sone report, context not stated
Qwen3 4B 4-bit159.7 t/sone report, context not stated
MLX 186.0 t/sone report, context not stated
Qwen3 8B 4-bit97.7 t/sone report, context not stated
MLX 110.6 t/sone report, context not stated
Qwen3.5 27B 4-bit29.2 t/sone report, context not statedno other engine reported
Qwen3.5 35B · 3B active 4-bit111.2 t/sone report, context not statedno other engine reported
Qwen3.5 4B 4-bit135.6 t/sone report, context not statedno other engine reported
Qwen3.5 9B 4-bit86.5 t/sone report, context not statedno other engine reported
Qwen3.6 35B · 3B active 4-bit124.3 t/sone report, context not stated
MLX 151.1 t/sone report, context not stated

38 llama.cpp reports on the M5 Max 48GB

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 M5 Max 48GB?

On the M5 Max 48GB, llama.cpp runs Gemma 3 12B at 4-bit at a median 61.5 tokens per second for generation, from 1 plain run (context not stated).

Is llama.cpp faster than other engines on the M5 Max 48GB?

Same card, same model size and bit class, plain runs only: Gemma 3 12B at 4-bit gives llama.cpp 61.5 t/s (1 run) and MLX 66.9 t/s (1). Context length and engine build differ between the runs, so treat it as a lead, not a benchmark.