Speed test
gemma-4-12B-it
RTX 3060 12GB · llama.cpp · b9775 / be4a6a63e · Q4_K_XL
darioooooo0oVerifiedJul 3, 2026
Decode
68.7tok/s
Prefill
976tok/s
Time to first token
21,060ms
Total
—
Peak VRAM
10.3GB
Context length
128K
KV depth
—
Batch size
1
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
llama-server -m gemma-4-12B-it-qat-UD-Q4_K_XL.gguf --model-draft gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf --spec-type draft-mtp --spec-draft-n-max 3 -ngl 99 -fa on -b 2048 -ub 512 -ctk q4_0 -ctv q4_0 -ctkd q4_0 -ctvd q4_0 -np 1 --kv-unified -c 131072
Theoretical memory ceiling
Can't estimate a ceiling for speculative decoding runs unless the run reports how many draft tokens were accepted.
Hardware
- GPU
- RTX 3060
- Count
- 1
- VRAM
- 12 GB
Engine
- Engine
- llama.cpp
- Version
- b9775 / be4a6a63e
- Quant
- Q4_K_XL
- Backend
- cuda
- TP
- 1
- GPU layers
- 99
- KV cache
- q4_0
- Prefill chunk
- 512
- Attn
- flash_attn
- Flash Attn
- yes
- Spec decode
- enabled
- MTP
- enabled
Run config
- Context
- 131,072 tokens
- Batch size
- 1
- Prompt tokens
- 20552
- Prefill tok/s
- 975.9 tok/s
- Output tokens
- 2048
- Notes
- Gemma4 12B QAT Q4_K_XL + MTP draft head (Q8_0). UPSTREAM v9775 build (was build-gemma4). REALISTIC AGENT BENCHMARK: 20K prompt / 2K output at 128K ctx. Config: --spec-type draft-mtp --spec-draft-n-max 3 -ngl 99 -fa on -b 2048 -ub 512 -ctk q4_0 -ctv q4_0 -np 1 --kv-unified. Upstream v9775 gives +18% gen speed over gemma4 build (68.7 vs 58.0 tok/s). MTP draft 87% acceptance. Total turn wall time 51s. Fedora 43, CUDA 13.0, driver 580.159.04.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 89.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL4K context · 0 depth · batch 1darioooooo0o · Jul 2, 2026
- 89.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL4K context · 0 depth · batch 1darioooooo0o · Jul 2, 2026
- 89.6tok/sllama.cpp · b9919 / 558c6b78e (TurboQuant) · Q4_K_XL256K context · 0 depth · batch 1darioooooo0o · Jul 3, 2026
- 78.9tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL128K context · 0 depth · batch 1darioooooo0o · Jul 3, 2026
- 74.5tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL4K context · 0 depth · batch 1darioooooo0o · Jul 3, 2026
- 58.0tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL128K context · 0 depth · batch 1darioooooo0o · Jul 3, 2026
- 37.7tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL4K context · 0 depth · batch 1darioooooo0o · Jul 2, 2026
