Gemma 4 26B (4B active)
on NVIDIA RTX 4060 Laptop 8GB · llama.cpp · 32,768 ctx
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
- NVIDIA RTX 509032 GB255.7 t/s · 2 runs
- NVIDIA RTX 409024 GB149.6 t/s · one run
- AMD RX 7900 XTX24 GB142.8 t/s · one run
- NVIDIA RTX 5070 Ti16 GB137.7 t/s · one run
- 116.9 t/s · one run
- 95.2 t/s · one run
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
- Qwen3.5 9B4-bit37.7 t/s · one run
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 →