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.
| Model | llama.cpp | Other engines |
|---|---|---|
| Gemma 3 12B 4-bit | 61.5 t/sone report, context not stated | MLX 66.9 t/sone report, context not stated |
| Gemma 3 1B 4-bit | 294.9 t/sone report, context not stated | no other engine reported |
| Gemma 3 27B 4-bit | 29.9 t/sone report, context not stated | no other engine reported |
| Gemma 3 4B 4-bit | 150.5 t/sone report, context not stated | MLX 176.2 t/sone report, context not stated |
| Gemma 4 26B · 4B active 4-bit | 116.9 t/sone report, context not stated | no other engine reported |
| Gemma 4 31B 4-bit | 25.2 t/sone report, context not stated | no other engine reported |
| Gemma 4 5.1B · 2.3B active 4-bit | 173.7 t/sone report, context not stated | no other engine reported |
| Gemma 4 8B · 4.5B active 4-bit | 110.5 t/sone report, context not stated | no other engine reported |
| Llama 3.2 1B 4-bit | 439.6 t/sone report, context not stated | no other engine reported |
| Llama 3.2 3B 4-bit | 199.9 t/sone report, context not stated | no other engine reported |
| Qwen 2.5 Coder 14B 4-bit | 56.0 t/sone report, context not stated | MLX 60.8 t/sone report, context not stated |
| Qwen 2.5 Coder 32B 4-bit | 26.3 t/sone report, context not stated | MLX 28.4 t/sone report, context not stated |
| Qwen 2.5 Coder 7B 4-bit | 106.0 t/sone report, context not stated | MLX 121.8 t/sone report, context not stated |
| Qwen3 0.6B 4-bit | 457.1 t/sone report, context not stated | MLX 570.6 t/sone report, context not stated |
| Qwen3 1.7B 4-bit | 288.6 t/sone report, context not stated | MLX 366.0 t/sone report, context not stated |
| Qwen3 14B 4-bit | 57.4 t/sone report, context not stated | MLX 62.6 t/sone report, context not stated |
| Qwen3 30B · 3B active 4-bit | 148.5 t/sone report, context not stated | no other engine reported |
| Qwen3 32B 4-bit | 26.4 t/sone report, context not stated | MLX 28.4 t/sone report, context not stated |
| Qwen3 4B 4-bit | 159.7 t/sone report, context not stated | MLX 186.0 t/sone report, context not stated |
| Qwen3 8B 4-bit | 97.7 t/sone report, context not stated | MLX 110.6 t/sone report, context not stated |
| Qwen3.5 27B 4-bit | 29.2 t/sone report, context not stated | no other engine reported |
| Qwen3.5 35B · 3B active 4-bit | 111.2 t/sone report, context not stated | no other engine reported |
| Qwen3.5 4B 4-bit | 135.6 t/sone report, context not stated | no other engine reported |
| Qwen3.5 9B 4-bit | 86.5 t/sone report, context not stated | no other engine reported |
| Qwen3.6 35B · 3B active 4-bit | 124.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.
- Model not identified · Q4_K_M26.3 t/s
- Qwen3.6 35B · 3B active · Q4_K_M124.3 t/s
- Qwen3.5 9B · Q4_K_M86.5 t/s
- Qwen3.5 4B · Q4_K_M135.6 t/s
- Qwen3.5 35B · 3B active · Q4_K_M111.2 t/s
- Qwen3.5 27B · Q4_K_M29.2 t/s
- Qwen3 8B · Q4_K_M97.7 t/s
- Qwen3 4B · Q4_K_M159.7 t/s
- Qwen3 32B · Q4_K_M26.4 t/s
- Qwen3 30B · 3B active · Q4_K_M148.5 t/s
- Qwen3 14B · Q4_K_M57.4 t/s
- Qwen3 1.7B · Q4_K_M288.6 t/s
- Qwen3 0.6B · Q4_K_M457.1 t/s
- Qwen 2.5 Coder 7B · Q4_K_M106.0 t/s
- Qwen 2.5 Coder 32B · Q4_K_M26.3 t/s
- Qwen 2.5 Coder 14B · Q4_K_M56.0 t/s
- Phi-4 · Q4_K_M56.8 t/s
- Phi-4 · Q4_K_M164.9 t/s
- Phi-4 · Q4_K_M165.0 t/s
- Phi-4 · Q4_K_M56.3 t/s
- Model not identified · Q4_K_M37.2 t/s
- Model not identified · Q4_K_M68.6 t/s
- Model not identified · Q4_K_M107.1 t/s
- Llama 3.2 3B · Q4_K_M199.9 t/s
- Llama 3.2 1B · Q4_K_M439.6 t/s
- Llama 3.1 · Q4_K_M101.1 t/s
- Gemma 4 8B · 4.5B active · Q4_K_M110.5 t/s
- Gemma 4 5.1B · 2.3B active · Q4_K_M173.7 t/s
- Gemma 4 31B · Q4_K_M25.2 t/s
- Gemma 4 26B · 4B active · Q4_K_M116.9 t/s
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.