Speed test
gemma-4-12B-it-qat-GGUF
RTX 3090 24GB · llama.cpp · UD-Q4_K_XL
SandbergVerifiedJul 21, 2026
Decode
105tok/s
Prefill
2.1ktok/s
Time to first token
—
Total
—
Peak VRAM
11.8GB
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 -md mtp-gemma-4-12B-it.gguf --spec-type draft-mtp --spec-draft-n-max 4 -ngl 99 -c 262144 -fa on -ctk q8_0 -ctv q8_0 -ctkd f16 -ctvd f16 -b 4096 -ub 1280
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 3090
- Count
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- llama.cpp
- Quant
- UD-Q4_K_XL
- GPU layers
- 999
- KV cache
- q8_0
- Prefill chunk
- 1280
- Flash Attn
- yes
- Spec decode
- enabled
Run config
- Context
- 4,096 tokens
- Batch size
- 1
- Prefill tok/s
- 2,114.2 tok/s
- Notes
- MTP spec decode (draft-mtp, Q4_0 draft, q8_0+f16 KV split). 40% draft acceptance.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 127tok/sllama.cpp · UD-Q4_K_XL512 context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 123tok/sllama.cpp · UD-Q4_K_XL2K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 118tok/sllama.cpp · UD-Q4_K_XL1K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 116tok/sllama.cpp · UD-Q4_K_XL8K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 104tok/sllama.cpp · UD-Q4_K_XL16K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 87.8tok/sllama.cpp · UD-Q4_K_XL64K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 85.6tok/sllama.cpp · UD-Q4_K_XL32K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 61.2tok/sllama.cpp · UD-Q4_K_XL128K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 44.5tok/sllama.cpp · UD-Q4_K_XL256K context · 0 depth · batch 1Sandberg · Jul 21, 2026
