llamaperf

Gemma 4 26B (4B active)

on M3 Ultra 512GB · llama.cpp

Apple hardware
Oct 13, 2026
Throughput
62.4 t/s gen · 2649.3 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
BF16 (GGUF)
Flash Attention
on
MTP (Multi-Token Prediction)
off
System RAM
512 GB

Summary

User reports Gemma 4 26B-A4B at 62.4 t/s generation and 2649.3 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with BF16 weights, F16 K and V cache, Metal backend, and -ngl 999, using -p 2048 -n 32 -ub 2048 -fa 1. The figures are separate llama-bench phases: PP evaluates 2048 synthetic tokens and TG 32 sequential single tokens, with five repetitions and no speculative decoding.

Download this model

Gemma 4 26B-A4B on Hugging Face in the quant this report ran, BF16. The report doesn't say whose upload it used, so these are the most downloaded ones.

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

Bars are medians on one scale, 0 to 62.4 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 M3 Ultra 512GB →Every Gemma 4 report →Estimate Gemma 4 on this card →