Speed test
gemma-4-31B-it
RTX 5090 32GB · llama.cpp · b741 (1fd6dfe) · UD-Q6_K_XL
Decode
46.5tok/s
Prefill
520tok/s
Time to first token
158ms
Total
53.3tok/s
Peak VRAM
27.3GB
Context length
8K
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-31B-it-UD-Q6_K_XL.gguf --alias gemma-4-31b-q6 -ngl 999 -fa on -c 8192 -ctk q8_0 -ctv q8_0 -np 1 --temp 0 --host 127.0.0.1 --port 8080
Theoretical memory ceiling
66.7–66.8 tok/s
1,792 GB/s memory bandwidth (spec sheet) · 26.81 GB model weights · 8.5-bit KV cache · 1–82 tokens of context
70–70%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-31B-it; size from UD-Q6_K_XL estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX 5090
- Count
- 1
- VRAM
- 32 GB
- OS
- Ubuntu 24.04
Engine
- Engine
- llama.cpp
- Version
- b741 (1fd6dfe)
- Quant
- UD-Q6_K_XL
- Backend
- cuda
- GPU layers
- 99
- KV cache
- q8_0
- Flash Attn
- yes
Run config
- Context
- 8,192 tokens
- Batch size
- 1
- Prompt tokens
- 82
- Prefill tok/s
- 520.1 tok/s
- Output tokens
- 512
- Notes
- Batch bench via lmx remote loop (warmup 2, median of 3, 512 out, temp 0). RTX 5090, display attached. llama-server -m gemma-4-31B-it-UD-Q6_K_XL.gguf --alias gemma-4-31b-q6 -ngl 999 -fa on -c 8192 -ctk q8_0 -ctv q8_0 -np 1 --temp 0 --host 127.0.0.1 --port 8080
Captured evidence
- Prompt hash (SHA-256)
- —
More runs of this model on this hardware
- 216tok/sninfer · Q632K context · 0 depth · batch 1Verified runjabbatheduck · Oct 19, 2026
- 170tok/sninfer · Q632K context · 0 depth · batch 1Verified runjabbatheduck · Oct 19, 2026
- 68.5tok/sllama.cpp · b741 (1fd6dfe) · UD-Q4_K_XL-QAT8K context · 0 depth · batch 1Skiipy · Jun 14, 2026
- 38.0tok/sllama.cpp · Q8_02K context · 0 depth · batch 1sergoabe · Jun 27, 2026
