Speed test
gemma-4-12B-it
RTX 3060 12GB · llama.cpp · b9919 / 558c6b78e (TurboQuant) · Q4_K_XL
darioooooo0oVerifiedJul 3, 2026
Decode
89.6tok/s
Prefill
876tok/s
Time to first token
448ms
Total
—
Peak VRAM
11.1GB
Context length
256K
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 turbo2 -ctv turbo2 -ctkd turbo2 -ctvd turbo2 -np 1 --kv-unified -c 262144
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
- b9919 / 558c6b78e (TurboQuant)
- Quant
- Q4_K_XL
- Backend
- cuda
- TP
- 1
- GPU layers
- 99
- KV cache
- turbo2
- Prefill chunk
- 512
- Attn
- flash_attn
- Flash Attn
- yes
- Spec decode
- enabled
- MTP
- enabled
Run config
- Context
- 262,144 tokens
- Batch size
- 1
- Prompt tokens
- 392
- Prefill tok/s
- 875.6 tok/s
- Output tokens
- 256
- Notes
- Gemma4 12B QAT Q4_K_XL + MTP draft head. TurboQuant build with optimized CUDA kernels. TurboQuant turbo2 KV cache (WHT + 2-bit PolarQuant) enables FULL 256K native context on 12GB VRAM. Config: --spec-type draft-mtp --spec-draft-n-max 3 -ngl 99 -fa on -b 2048 -ub 512 -ctk turbo2 -ctv turbo2 -np 1 --kv-unified. Generation 90 tok/s, prefill 876 tok/s at 262K ctx. 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
- 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
