Speed test
gemma-3-12b-it
RTX 3090 24GB · llama.cpp · Q4_K_M
SandbergVerifiedJul 19, 2026
Decode
66.0tok/s
Prefill
3.1ktok/s
Time to first token
—
Total
506tok/s
Peak VRAM
—
Context length
1K
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-bench -m gemma-3-12b-it-Q4_K_M.gguf -p 1024 -n 128 -ngl 999 -fa on -ctk f16 -ctv f16 -fitt 1024 -r 5
Theoretical memory ceiling
This model's architecture details couldn't be found on Hugging Face, so a ceiling can't be estimated.
Hardware
- GPU
- RTX 3090
- Count
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- llama.cpp
- Quant
- Q4_K_M
- Backend
- cuda
- GPU layers
- 999
- Flash Attn
- yes
Run config
- Context
- 1,024 tokens
- Batch size
- 1
- Prompt tokens
- 1024
- Prefill tok/s
- 3,055.8 tok/s
- Output tokens
- 128
- Notes
- 7900 (homelab), AMD Ryzen 9 7900X (12c/24t, 3.7GHz), 64GB DDR5, RTX 3090 power-limited to 250W, Linux 6.8.0. Single GPU, flash attention ON, fp16 KV cache (auto-detected per model). Benchmarked with llama-bench (-r 5 reps).
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 66.0tok/sllama.cpp · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 66.0tok/sllama.cpp · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 64.9tok/sllama.cpp · Q4_K_M1K context · 0 depth · batch 1Sandberg · Jul 20, 2026
- 63.8tok/sllama.cpp · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 63.8tok/sllama.cpp · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 62.5tok/sllama.cpp · Q4_K_M4K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 62.5tok/sllama.cpp · Q4_K_M4K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 60.8tok/sllama.cpp · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 60.8tok/sllama.cpp · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 58.4tok/sllama.cpp · Q4_K_M16K context · 0 depth · batch 1Sandberg · Jul 19, 2026
