Card × model benchmark

Phi-4 mini 3.8B on RTX 4070 Ti Q4_K_M

Smooth

On an RTX 4070 Ti (12 GB), Phi-4 mini 3.8B in Q4_K_M generates 159 tokens/s and reads the prompt at 12 101 tokens/s, using 3,1 Go of video memory.

Median of 1 run · latest on 25/09/26

159 tok/s

Generation

12 101 tok/s

Prompt processing

3,1 Go

VRAM used (peak)

137 W

Average power

1,16 tok/s/W

Efficiency

0,06 €/M tok

Electricity / M tokens · 0,25 €/kWh

Estimate your monthly cost from your electricity price and usage: sign in

RTX 4070 Ti pageAll cards on Phi-4 mini 3.8BFeel the speed Rent in the cloud

What about a longer context?

An estimate, not a measurement: the KV cache grows with context, takes VRAM and slows generation down.

ContextKV cacheEstimated VRAMFits in 12 GB?Estimated speed
4 0960,5 Go3,5 Goyes≈ 136 tok/s
8 1921,0 Go4,0 Goyes≈ 116 tok/s
16 3842,0 Go5,0 Goyes≈ 89,6 tok/s
32 7684,0 Go7,0 Goyes≈ 61,7 tok/s
65 5368,0 Go11,0 Goyes≈ 38,0 tok/s
131 07216,0 Go19,0 Gono—

KV cache per token = 2 × 32 layers × 8 KV heads × 128 × 2 bytes (f16). Estimated VRAM = measured VRAM + added KV cache. Speed ≈ measured speed × weights ÷ (weights + added KV cache) — attention compute is not modelled, the real drop is slightly larger. Fine-tune it in the “Configurator”

Other models measured on the RTX 4070 Ti

Gemma 3 270M Q4_K_M 728 tok/sLFM2.5 1.2B Q4_K_M 473 tok/sLlama 3.2 1B Q4_K_M 442 tok/sR1 Distill 1.5B Qwen Q4_K_M 328 tok/sGemma 2 2B Q4_K_M 202 tok/sLlama 3.2 3B Instruct Q4_K_M 189 tok/sMinistral 3 3B Q4_K_M 173 tok/sGranite 4.1 3B Q4_K_M 166 tok/sGemma 3n E2B Q4_K_M 163 tok/sGemma 4 E2B Q4_K_M 198 tok/sGemma 3n E4B Q4_K_M 107 tok/sMistral 7B 7B Q4_K_M 98,1 tok/sQwen2.5 Coder 7B Q4_K_M 96,7 tok/sQwen2.5 7B Instruct Q4_K_M 98,8 tok/sR1 Distill 7B Qwen Q4_K_M 97,6 tok/sMeta Llama 3.1 8B Instruct Q4_K_M 91,9 tok/sR1 0528 (Qwen3) 8B Q4_K_M 90,1 tok/sMinistral 3 8B Q4_K_M 84,0 tok/sGemma 4 E4B Q4_K_M 114 tok/sGemma 2 9B Q4_K_M 72,1 tok/sGemma 4 12B Q4_K_M 53,8 tok/sMinistral 3 14B Q4_K_M 53,8 tok/sQwen2.5 14B Instruct Q4_K_M 50,5 tok/sDeepSeek R1 Distill Qwen 14B Q4_K_M 51,1 tok/sQwen2.5 Coder 14B Q4_K_M 50,3 tok/sPhi-4 Q4_K_M 50,8 tok/sCoder V2 Lite 16B-A2.4B Q4_K_M 189 tok/s

All measurements

DateSourceTypeGenerationPromptVRAMMax temp.Powerllama.cpp
25/09/26SephiGamecontext 32 768ASUS ROG Strix63,91 4817,4 Go67 °C183 Wllama.cpp 96278e39f
25/09/26SephiGamecontext 16 384ASUS ROG Strix91,33 1375,4 Go67 °C169 Wllama.cpp 96278e39f
25/09/26SephiGamecontext 8 192ASUS ROG Strix1157 4694,4 Go64 °C149 Wllama.cpp 96278e39f
25/09/26SephiGamestandardASUS ROG Strix15912 1013,1 Go60 °C137 Wllama.cpp 96278e39f

Protocol: llama-bench (llama.cpp), prompt 512 + generation 128 tokens, model fully loaded in VRAM. VRAM used = system peak (includes the OS, ~0.5 to 1 GB more than the model alone). Measure my card