Speed test
gemma-4-12B-it
RTX 3060 12GB · llama.cpp · b9775 / be4a6a63e · Q4_K_XL
darioooooo0oVerifiedJul 2, 2026
Decode
89.7tok/s
Prefill
115tok/s
Time to first token
—
Total
—
Peak VRAM
9.3GB
Context length
4K
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 -ctk q4_0 -ctv q4_0 -c 4096
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
- Attn
- flash_attn
- Flash Attn
- yes
- Spec decode
- enabled
- MTP
- enabled
Run config
- Context
- 4,096 tokens
- Batch size
- 1
- Prompt tokens
- 8
- Prefill tok/s
- 114.9 tok/s
- Output tokens
- 256
- Notes
- Gemma4 12B QAT Q4_K_XL + MTP draft head (Q8_0, 444 MB). MTP: --spec-type draft-mtp --spec-draft-n-max 3. Draft model: gemma-4-12B-it-qat-assistant-MTP-Q8_0.gguf. 42 dense attention layers, fully offloaded. KV cache q4_0 (max context). MTP speedup: 2.38x over non-MTP 37.69 tok/s. Acceptance rate: 94% (188/200). 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.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
- 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
