llamaperf

Gemma 4 31B

on NVIDIA DGX Spark · llama.cpp

NVIDIA hardware
Oct 9, 2026
Throughput
6.0 t/s gen

Summary

User reports Gemma 4 31B at about 6.0 t/s on a DGX Spark without MTP, and 11.4 to 19.3 t/s with MTP speculative decoding enabled (--spec-draft-n-max 4). Setup is llama.cpp with the am17an/Gemma4-31B-it-GGUF build. With MTP the draft accept rate was 0.5881 over 9 requests. The user notes no speed-up for the MoE variant, over 2x average speedup on the dense model, and that AIME-26 results (~87%) were replicated.

Download this model

This report doesn't say which quant of Gemma 4 31B it ran.

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 NVIDIA DGX Spark

Bars are medians on one scale, 0 to 78.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 NVIDIA DGX Spark →Every Gemma 4 report →Estimate Gemma 4 on this card →