速度测试
Phi-4-reasoning
RTX 3090 24GB · llama.cpp · Q4_K_M
Sandberg已验证2026年7月21日
解码
46.7tok/s
预填充
2.5ktok/s
首个 token 延迟
—
总计
366tok/s
峰值 VRAM
—
上下文长度
1K
KV 深度
—
批大小
1
功耗
—
验证
未验证 — 实验性结果
已验证的运行使用标准测试提示词,并记录足够的数据以核对结果。
启动命令
llama-bench -m microsoft_Phi-4-reasoning-plus-Q4_K_M.gguf -p 1024 -n 128 -ngl 999 -fa on -ctk f16 -ctv f16 -fitt 1024 -r 5
Theoretical memory ceiling
108.3–111.0 tok/s
936.2 GB/s memory bandwidth (spec sheet) · 8.44 GB model weights · 16-bit KV cache · 1–1,024 tokens of context
42–43%
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-reasoning; size from Q4_K_M estimate. Hardware source · Open calculator
模型
- GPU
- RTX 3090
- 数量
- 1
- VRAM
- 24 GB
- OS
- Ubuntu 24.04
引擎
- 引擎
- llama.cpp
- 量化
- Q4_K_M
- 后端
- cuda
- GPU 层
- 999
- Flash Attn
- 是
运行配置
- 上下文
- 1,024 个 token
- 批量大小
- 1
- 提示词 token
- 1024
- 预填 tok/s
- 2,509.5 tok/s
- 输出 token
- 128
- 备注
- 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).
已记录的证据
- 提示词哈希(SHA-256)
- —
提示词样本—
输出样本—
该模型在此硬件上的更多运行
- 47.1tok/sllama.cpp · Q4_K_M上下文 512 · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 46.3tok/sllama.cpp · Q4_K_M上下文 2K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 45.1tok/sllama.cpp · Q4_K_M上下文 4K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 42.8tok/sllama.cpp · Q4_K_M上下文 8K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 39.5tok/sllama.cpp · Q4_K_M上下文 16K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 33.4tok/sllama.cpp · Q4_K_M上下文 32K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 16.7tok/sllama.cpp · Q4_K_M上下文 64K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 12.5tok/sllama.cpp · Q4_K_M上下文 96K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
- 10.1tok/sllama.cpp · Q4_K_M上下文 128K · 深度 0 · 批大小 1Sandberg · 2026年7月20日
