Card × model estimate

Phi-4 reasoning mini 3.8B on RTX 4070 Ti Q4_K_M

should fit

On an RTX 4070 Ti (12 GB), Phi-4 reasoning mini 3.8B in Q4_K_M needs about 3,8 Go of video memory: it should fit. Estimated generation speed: ≈ 159 tokens/s.

Not measured yet: the figures below are estimates, computed from the models already measured on this card. Measure my card

≈ 159 tok/s

Generation (estimated)

≥ 3,8 Go

Recommended VRAM (12 GB avail.)

≈ 137 W

Power (ref. model)

0,06 €/M tok

Electricity / M tokens · 0,25 €/kWh

Calculation: Phi-4 mini 3.8B measured at 159 tok/s on this card, 2,3 Go read per token → × 2,3 Go ÷ 2,3 Go ≈ 159 tok/s (generation is memory-bound: speed follows the amount of weights read).

What about a longer context?

ContextKV cacheEstimated VRAMFits in 12 GB?Estimated speed
4 0960,5 Go3,3 Goyes≈ 134 tok/s
8 1921,0 Go3,8 Goyes≈ 114 tok/s
16 3842,0 Go4,8 Goyes≈ 86,9 tok/s
32 7684,0 Go6,8 Goyes≈ 59,0 tok/s
65 5368,0 Go10,8 Goyes≈ 36,0 tok/s
131 07216,0 Go18,8 Gono—

Estimated VRAM = file + KV cache (full-attention layers, f16) + ~0,5 Go of buffers, excluding memory used by the system — hence the slightly higher “recommended VRAM”, which keeps that margin. Speed ≈ estimated speed × weights read ÷ (weights read + added KV cache).

Phi-4 reasoning mini 3.8B on other cards

should fit
Phi-4 reasoning mini 3.8B pageRTX 4070 Ti pageFeel the speed Download the GGUF (2,3 Go)

Estimates based on real measurements of other models on this card and on the model's public data (Microsoft Phi). As soon as a measurement exists, this page shows the real figures.