llamaperf

Gemma 4 31B

on AMD Strix Halo 128GB · llama.cpp

AMD hardware
Nov 17, 2026
Throughput
24.4 t/s gen · 679.0 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
QAT Q4_0 (GGUF)

Summary

User benchmarks Gemma 4 31B with int4 weights and int4 activations on a Strix Halo (Ryzen AI Max+ 395) using a custom int4 WMMA GEMM, reaching 24.4 t/s decode and 679 t/s prefill at 512 tokens versus llama.cpp's 11.0 t/s and 287 t/s. Setup is the embedl engine with QAT Q4_0 weights, rotation plus GPTQ and selective mixed precision; llama.cpp comparison used b11056 Vulkan with -fa 1. Server benchmark with 2k-token prompts, greedy, single stream. At 2048-token prompts prefill is 724 t/s against llama.cpp's 276. Quality is close on GSM8K (96.4 vs 96.2), IFEval (91.7 vs 92.2) and MMLU-Pro (85.1 both). The 8060S int4 x int4 WMMA instruction measured 104 TOPS.

Download this model

This report's quant, QAT Q4_0, 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

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 AMD Strix Halo 128GB

Bars are medians on one scale, 0 to 120.0 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 AMD Strix Halo 128GB →Every Gemma 4 report →Estimate Gemma 4 on this card →