Speed test
gemma-4-coder-gguf
RTX 3060 12GB ×2 · llama.cpp · 2d97363 · Q4_K_M
SandbergVerifiedJul 5, 2026
Decode
38.6tok/s
Prefill
1.2ktok/s
Time to first token
552ms
Total
171tok/s
Peak VRAM
8.4GB
Context length
512
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 gemma4-coding-Q4_K_M.gguf -p 512 -n 128 -ngl 48 -sm layer -fa on -ctk f16 -ctv f16 -r 5
Theoretical memory ceiling
79.2–80.0 tok/s
360 GB/s memory bandwidth (spec sheet) · 4.50 GB model weights · 16-bit KV cache · 1–512 tokens of context
48–49%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from jgebbeken/gemma-4-coder-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
- 2d97363
- Quant
- Q4_K_M
- Backend
- cuda
- GPU layers
- 48
- Flash Attn
- yes
Run config
- Context
- 512 tokens
- Batch size
- 1
- Prompt tokens
- 512
- Prefill tok/s
- 1,229.9 tok/s
- Output tokens
- 128
- Notes
- , , GB RAM, Layer split (-sm layer), flash attention, f16 KV cache. Benchmarked with llama-bench -r 5. 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
- 37.5tok/sllama.cpp · 2d97363 · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 5, 2026
- 37.3tok/sllama.cpp · 2d97363 · Q4_K_M4K context · 0 depth · batch 1Sandberg · Jul 5, 2026
- 36.9tok/sllama.cpp · 2d97363 · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 5, 2026
- 33.9tok/sllama.cpp · 2d97363 · Q4_K_M16K context · 0 depth · batch 1Sandberg · Jul 5, 2026
- 31.6tok/sllama.cpp · 2d97363 · Q4_K_M32K context · 0 depth · batch 1Sandberg · Jul 5, 2026
