Speed test
Phi-4-mini-reasoning
RTX 3090 24GB · llama.cpp · Q4_K_M
SandbergVerifiedJul 21, 2026
Decode
149tok/s
Prefill
7.5ktok/s
Time to first token
843ms
Total
3.0ktok/s
Peak VRAM
0GB
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.
Theoretical memory ceiling
335.9–416.1 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 2.25 GB model weights · 16-bit KV cache · 1–4,096 tokens of context
36–44%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from microsoft/Phi-4-mini-reasoning; size from Q4_K_M estimate. 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
Run config
- Context
- 4,096 tokens
- Batch size
- 1
- Prompt tokens
- 4096
- Prefill tok/s
- 7,490.3 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)
- —
Prompt sample—
Output sample—
More runs of this model on this hardware
- 162tok/sllama.cpp · Q4_K_M512 context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 156tok/sllama.cpp · Q4_K_M2K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 133tok/sllama.cpp · Q4_K_M8K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 111tok/sllama.cpp · Q4_K_M16K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 84.2tok/sllama.cpp · Q4_K_M32K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 55.7tok/sllama.cpp · Q4_K_M64K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 41.1tok/sllama.cpp · Q4_K_M96K context · 0 depth · batch 1Sandberg · Jul 21, 2026
- 32.9tok/sllama.cpp · Q4_K_M128K context · 0 depth · batch 1Sandberg · Jul 21, 2026
