llamaperf

Gemma 4 26B (4B active)

on NVIDIA RTX 4060 Laptop 8GB · llama.cpp · 32,768 ctx

Tone: positiveNVIDIA hardware
Dec 3, 2026
Throughput
94.4 t/s gen
Quant
UD-Q4_K_XL (GGUF)
KV cache
q8_0
System RAM
16 GB
VRAM reported
8 GB

Use cases

codingcreative-writing

Summary

User reports Gemma 4 26B-A4B at 94.36 tok/s decode on an RTX 4060 Laptop 8GB with a patched llama.cpp expert cache. Setup is llama.cpp with a 3-file MoE cache patch, UD-Q4_K_XL weights, q8_0 KV cache, 32k context, MTP Q4_0 drafter with DRAFT_N=4, --n-cpu-moe 26 and --moe-cache-mib 2850, on an i7-13620H with 16 GB RAM. The 94.36 tok/s is the patched ROUTE_BIAS=0.02 run at tg128 after pp512; the lossless ROUTE_BIAS=0 run gives 56.23 tok/s and stock upstream 71.70 tok/s. Long generation reaches 100.05 tok/s on code and 93.52 tok/s on prose, and warm 1,907-token prefill rises from 568.43 to 955.84 tok/s.

Download this model

Gemma 4 26B-A4B on Hugging Face in the quant this report ran, UD-Q4_K_XL.

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 RTX 4060 Laptop 8GB

Bars are medians on one scale, 0 to 37.7 tokens/s. Press ▶ to watch text arrive at a row's speed.

Everything reported on the NVIDIA RTX 4060 Laptop 8GB →Every Gemma 4 report →Estimate Gemma 4 on this card →