Gemma 4 31B
on M5 Ultra 256GB · MLX
Summary
User reports Gemma 4 31B at 13.9 t/s generation and 1237 t/s prompt processing on an M5 Ultra 256GB.
Setup is MLX with BF16 weights at a 32768-token input and 128-token output, batch 1 on one device, with KV capacity unconfigured and blank.
The 13.9 t/s is the median of five trials, with a range of 13.821 to 13.917 t/s; peak allocator memory was 71.978GB.
Download this model
This report's quant, BF16, doesn't name one file of Gemma 4 31B.
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 31B at 4-bit by hardware
- NVIDIA RTX 509032 GB64.0 t/s · one run
- 51.0 t/s · one run
- NVIDIA RTX 309024 GB36.5 t/s · one run
- AMD RX 7900 XTX24 GB30.1 t/s · one run
- 25.2 t/s · one run
- 22.4 t/s · one run
Bars are medians on one scale, 0 to 64.0 tokens/s. Press ▶ to watch text arrive at a row's speed.
Models most run on the M5 Ultra 256GB
- 73.4 t/s · one run
- Gemma 4 31B16-bit13.9 t/s · one run
- 74.7 t/s · one run
- 17.0 t/s · one run
- 141.0 t/s · one run
- Qwen3.8 27B4-bit50.0 t/s · one run
Bars are medians on one scale, 0 to 141.0 tokens/s. Press ▶ to watch text arrive at a row's speed.
Everything reported on the M5 Ultra 256GB →Every Gemma 4 report →Estimate Gemma 4 on this card →