Speed test
gemma-4-12B-it
RTX 3060 12GB · llama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL
darioooooo0oVerifiedJul 3, 2026
Decode
78.9tok/s
Prefill
923tok/s
Time to first token
725ms
Total
386tok/s
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
- b9550 / f0156d140 (gemma4 build)
- 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
- 669
- Prefill tok/s
- 922.6 tok/s
- Output tokens
- 256
- Notes
- Gemma4 12B QAT Q4_K_XL + MTP draft head (Q8_0). OPTIMIZED at 128K ctx: --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. Full 42-layer GPU offload. MTP acceptance 90%. Sweep results (all at 128K): q4_0 ub512 MTP3=922 pp/79 gen (best balance), q8_0 ub512 MTP3=265 pp/82 gen (highest gen), q4_0 ub512 MTP2=265 pp/73 gen (lowest VRAM). Fedora 43, CUDA 13.0.
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
- 74.5tok/sllama.cpp · b9550 / f0156d140 (gemma4 build) · Q4_K_XL4K context · 0 depth · batch 1darioooooo0o · Jul 3, 2026
- 68.7tok/sllama.cpp · b9775 / be4a6a63e · Q4_K_XL128K 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
