llamaperf

Gemma 4 26B (4B active)

on M2 Max 64GB · MLX

Apple hardware
Oct 13, 2026
Throughput
61.6 t/s gen · 465.2 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
4-bit mixed (config) (MLX)
System RAM
64 GB

Summary

User reports Gemma 4 26B-A4B at 61.6 t/s generation and 465.2 t/s prompt processing on an Apple M2 Max with 64GB of shared unified memory. Setup is MLX via the mlx_vlm text-only helper with a 4-bit mixed config, batch_size=1, requested 512-token prompt and 128-token generation cap, no HTTP server. The figures are three-trial means after discarding Trial 1; retained generation values were 61.389, 61.732 and 61.742 t/s, and peak memory was 15.255 GiB.

Download this model

This report's quant, 4-bit mixed (config), doesn't name one file of Gemma 4 26B-A4B.

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 M2 Max 64GB

Bars are medians on one scale, 0 to 128.3 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 M2 Max 64GB →Every Gemma 4 report →Estimate Gemma 4 on this card →