What Can I Run AI?

HomeCan I run it?Phi-4Phi-4 on an RTX 4090

Yes. Phi-4 at Q8_0 needs about 18.9 GB, and the GeForce RTX 4090 has 24.0 GB usable at a ~4k context.

Can I run Phi-4 on an RTX 4090?

Phi-4 at Q8_0 needs about 18.9 GB, and the GeForce RTX 4090 has 24.0 GB usable. That figure is 24 GB of VRAM on the spec sheet, of which 24.0 GB is usable for weights and cache, at 1008 GB/s memory bandwidth. Microsoft’s Phi-4, a dense 14B-class model often compared with other 12B–14B instruct weights. These are estimates from our formula, not measured benchmarks.

Quant that fits
Q8_0 Fits with headroom
Memory needed
18.9 GB at Q8_0, ~4k context
Usable VRAM
24.0 GB of 24 GB VRAM
Est. tokens/sec
39–55 estimate

phi-4 · GeForce RTX 4090 · Everything this machine runs · Q4 vs Q8 vs FP16

Memory at each quant

QuantNeed vs 24.0 GBVerdict
Q4_K_M11.2 GBQ4Fits
Q8_018.9 GBQ8Fits
FP1634.7 GBFP16Won’t fit

Estimated tokens per second

Estimate: 39–55 tokens/sec at Q8_0. This is a bandwidth-derived range, not a bench. Efficiency is a 60–85% GPU band from How we calculate.

Context headroom

At Q8_0, this machine has headroom out to about 16k tokens under our KV estimate. Longer chats need more memory for the cache. Figures assume an FP16 KV cache.

Context headroom for Phi-4 on an RTX 4090 at Q8_0
ContextKV cache (FP16)Total at Q8_0Verdict
4k0.8 GB18.9 GBFits
8k1.7 GB19.8 GBFits
16k3.4 GB21.4 GBFits
32k6.7 GB24.8 GBWon’t fit
64k13.4 GB31.5 GBWon’t fit
128k26.8 GB44.9 GBWon’t fit

From the model’s config. Try other sizes in the VRAM calculator or see the context length guide.

What to do instead

Other hardware for Phi-4

Other models on an RTX 4090

Quick answers

Can I run Phi-4 on an RTX 4090?
Yes. Phi-4 at Q8_0 needs about 18.9 GB, and the GeForce RTX 4090 has 24.0 GB usable.
How much VRAM does Phi-4 need?
About 11.2 GB at Q4_K_M, 18.9 GB at Q8_0 and 34.7 GB at FP16, estimated for a ~4k context.
How fast is Phi-4 on an RTX 4090?
Our estimate is 39–55 tokens per second at Q8_0. It is not a measured benchmark.
What context length can I use?
At Q8_0, our KV estimate supports up to about 16k tokens before the cache pushes the total over usable memory.

New models, and what they need to run

One short email a week: fresh open models with their VRAM numbers, plus hardware worth watching.