Speed test
gemma-4-31B-it-GGUF
RTX 3060 12GB ×2 · llama.cpp · 13f2b28 · Q4_K_M
SandbergVerifiedJul 12, 2026
Decode
15.1tok/s
Prefill
811tok/s
Time to first token
5,636ms
Total
312tok/s
Peak VRAM
22.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-bench -m google_gemma-4-31B-it-Q4_K_M.gguf -p 4096 -n 128 -ngl 60 -sm layer -fa on -ctk f16 -ctv f16 -r 5
Theoretical memory ceiling
19.0–20.6 tok/s
360 GB/s memory bandwidth (spec sheet) · 17.44 GB model weights · 16-bit KV cache · 1–4,096 tokens of context
73–80%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/gemma-4-31B-it-GGUF; size from Q4_K_M estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX 3060
- Count
- 2
- VRAM
- 12 GB
- OS
- Ubuntu 26.04
Engine
- Engine
- llama.cpp
- Version
- 13f2b28
- Quant
- Q4_K_M
- Backend
- cuda
- GPU layers
- 60
- Flash Attn
- yes
Run config
- Context
- 4,096 tokens
- Batch size
- 1
- Prompt tokens
- 4096
- Prefill tok/s
- 810.8 tok/s
- Output tokens
- 128
- Notes
- 7810, Dual Intel Xeon E5-2650 v4 (2x12c/24t, 2.20GHz), 32GB DDR4 ECC 2133 MT/s, Layer split (-sm layer), flash attention, f16 KV cache. Benchmarked with llama-bench. Dual GPU via llama.cpp layer split.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 17.4tok/sllama.cpp · 13f2b28 · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 16.9tok/sllama.cpp · 13f2b28 · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 16.8tok/sllama.cpp · 13f2b28 · Q4_K_M4K context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 16.5tok/sllama.cpp · 13f2b28 · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 15.9tok/sllama.cpp · 13f2b28 · Q4_K_M16K context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 15.8tok/sllama.cpp · b10443 · Q4_K_M64K context · 0 depth · batch 1titanberry · Aug 18, 2026
- 15.6tok/sllama.cpp · 13f2b28 · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 15.2tok/sllama.cpp · 13f2b28 · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 12, 2026
- 15.2tok/sllama.cpp · 2cbfdc6 · Q4_K_S96,000 context · 0 depth · batch 1franktheglock · May 28, 2026
- 15.0tok/sllama.cpp · 13f2b28 · Q4_K_M32K context · 0 depth · batch 1Sandberg · Jul 12, 2026
