llamaperf

Gemma 4 26B (4B active)

on NVIDIA DGX Spark · llama.cpp · 262,144 ctx

NVIDIA hardware
Oct 3, 2026
Throughput
69.9 t/s gen · 2657.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
Q4_K_M (GGUF)
System RAM
128 GB
VRAM reported
128 GB

Summary

User benchmarks the Gemma 4 family on an NVIDIA DGX Spark (GB10 Grace Blackwell SoC) with 128 GB unified memory, served via llama.cpp in a Docker container. Setup is llama.cpp build 5d3a4a7 with GGUF weights, flash attention enabled, batch size 2048, and a 256K context window. The 26B-A4B MoE model uses Q4_K_M and reaches 69.9 t/s generation and 2657 t/s prefill at 512 tokens. The 31B dense model reaches 11.0 t/s generation and 743 t/s prefill. At 32K context depth, the 26B drops to 52.1 t/s generation and 1877 t/s prefill. Batched concurrency on the 26B reaches 537 t/s aggregate generation at 32 concurrent requests and 3015 t/s aggregate prefill at batch 16.

Download this model

Gemma 4 26B-A4B on Hugging Face in the quant this report ran, Q4_K_M. 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 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 →