Speed test
gemma-4-12B-it
RTX 5000 16GB · llama.cpp · v9628 (c2ba3e47a) · Q8_0
lexingtonstanleyCommunityJun 17, 2026
Decode
23.4tok/s
Prefill
499tok/s
Time to first token
—
Total
—
Peak VRAM
14.9GB
Context length
96K
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.
Theoretical memory ceiling
We don't have memory speed data for this hardware yet, so a ceiling can't be estimated.
Hardware
- GPU
- RTX 5000
- Count
- 1
- VRAM
- 16 GB
- OS
- Pop!_OS 24.04 LTS
Engine
- Engine
- llama.cpp
- Version
- 9628 (c2ba3e47a)
- Quant
- Q8_0
Run config
- Context
- 98,304 tokens
- Batch size
- 1
- Prompt tokens
- 2295
- Prefill tok/s
- 499.1 tok/s
- Output tokens
- 500
- Notes
- conair (Quadro RTX 5000 16GB, Turing sm_75, Pop!_OS 24.04 Wayland, driver 580/CUDA 13), llama.cpp -fa on, q8_0 KV, full GPU offload, --jinja. Gemma 4 12B (google/gemma-4-12B-it, unsloth Q8_0 GGUF, 12.67GB weights). Same model as the Q6_K row but near-lossless Q8 — the +2.9GB weights cost context: at q8 KV, 96K (98304) is the STABLE max (14.90 GiB, peak flat across 16-run sweep, ~1.1GiB headroom). IMPORTANT: 128K LOADS at 15.25 GiB but OOMs under sustained decode (HTTP 500 at run 9 of a 16-run sweep) — loadable != stable; 96K is the safe ceiling. (Q6_K by contrast runs the FULL 256K.) tokSOut = MEDIAN of 16 back-to-back warm 500-tok decodes (mean 23.3, range 22.9-23.4, very tight). Slightly higher than the Q6_K run (21.52) — within this card's bimodal GDDR6-clock noise, not a real Q8>Q6 speedup. Gemma 4 is a THINKING model: default chat routes to reasoning_content; pass chat_template_kwargs {enable_thinking:false} for plain content (both verified clean, finish=stop, 17^2=289). Multimodal; benchmarked text-only. Throughput via /completion ignore_eos.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
