Speed test
Phi-4-mini-reasoning-GGUF
RTX 3090 24GB · llama.cpp · Q4_K_M
Decode
41.1tok/s
Prefill
1.5ktok/s
Time to first token
—
Total
1.4ktok/s
Peak VRAM
—
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.
Launch command
llama-bench -m Phi-4-mini-reasoning-Q4_K_M.gguf -p 98304 -n 128 -ngl 999 -fa on -ctk f16 -ctv f16 -fitt 1024 -r 5
Theoretical memory ceiling
60.9–375.7 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 2.49 GB model weights · 16-bit KV cache · 1–98,304 tokens of context
11–68%
of the ceiling reached
High confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/Phi-4-mini-reasoning-GGUF; size from unsloth/Phi-4-mini-reasoning-GGUF/Phi-4-mini-reasoning-Q4_K_M.gguf. Hardware source · Open calculator
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
- 98,304 tokens
- Batch size
- 1
- Prompt tokens
- 98304
- Prefill tok/s
- 1,510.4 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)
- —
More runs of this model on this hardware
- 162tok/sllama.cpp · Q4_K_M1K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 162tok/sllama.cpp · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 156tok/sllama.cpp · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 149tok/sllama.cpp · Q4_K_M4K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 133tok/sllama.cpp · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 111tok/sllama.cpp · Q4_K_M16K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 84.2tok/sllama.cpp · Q4_K_M32K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 55.7tok/sllama.cpp · Q4_K_M64K context · 0 depth · batch 1Sandberg · Jul 19, 2026
- 32.9tok/sllama.cpp · Q4_K_M128K context · 0 depth · batch 1Sandberg · Jul 19, 2026
