llamaperf

Gemma 4 26B (4B active)

on M4 Pro 64GB · llama.cpp

Apple hardware
Oct 13, 2026
Throughput
54.2 t/s gen · 730.9 tokens/s prompt processing (prefill)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.
Quant
UD-Q4_K_M (GGUF)
KV cache
F16
System RAM
64 GB

Summary

User reports Gemma 4 26B-A4B at 54.2 t/s generation and 730.9 t/s prompt processing on an M4 Pro 64GB. Setup is llama.cpp with UD-Q4_K_M, Metal backend, -ngl 99, 10 CPU threads, and one physical GPU. The figures are separate native tests: PP512 and TG128 at depth 0, five repetitions each, not a single 512-input/128-output request.

Download this model

Gemma 4 26B-A4B on Hugging Face in the quant this report ran, UD-Q4_K_M.

Compare this run

Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.

Gemma 4 26B · 4B active at 4-bit by hardware

Bars are medians on one scale, 0 to 267.4 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Models most run on the M4 Pro 64GB

Bars are medians on one scale, 0 to 86.6 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Everything reported on the M4 Pro 64GB →Every Gemma 4 report →Estimate Gemma 4 on this card →