Can I Run Phi-4 Family on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM)?

Written by Jakub Rusinowski · Last updated January 6, 2025

Yes — comfortably

Yes, comfortably — Phi-4 (14B) at Q8_0 needs about 17.4 GB of the 32 GB usable on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM), leaving ~14.6 GB spare and running at ~71.7 tok/s (estimated), with room for about 16,384 tokens of context.

Confidence: high · Recommended quantization: Q8_0 · Estimated speed: ~71.7 tok/s

RTX 5090 Desktop (32 GB VRAM, 64 GB RAM) — what it gives a model

Usable memory for models32 GB
Memory bandwidth1792 GB/s
Form factorDesktop
Operating systemWindows or Linux
Memory upgradeableYes

Phi-4 Family on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM): memory by quantization

QuantMemory neededFits 32 GB?Max contextEst. speedDownload
F1630.5 GB✓ Yes8K~42.2 tok/s28 GB
Q8_017.4 GB✓ Yes16K~71.7 tok/s14.9 GB
Q6_K14 GB✓ Yes16K~87.6 tok/s11.5 GB
Q5_K_M12.4 GB✓ Yes16K~97.5 tok/s9.9 GB
Q4_K_M10.9 GB✓ Yes16K~109.2 tok/s8.5 GB
Q3_K_M8.4 GB✓ Yes16K~136.8 tok/s6 GB
Q2_K7.1 GB✓ Yes16K~158.9 tok/s4.6 GB

RTX 5090 desktop limitations

Recommended setup

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

How these numbers are calculated

FAQ

Can I run Phi-4 Family on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM)?

Yes, comfortably — Phi-4 (14B) at Q8_0 needs about 17.4 GB of the 32 GB usable on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM), leaving ~14.6 GB spare and running at ~71.7 tok/s (estimated), with room for about 16,384 tokens of context.

Which quantization of Phi-4 Family should I use on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM)?

Q8_0 — it needs about 17.4 GB of the 32 GB available, downloads as roughly 14.9 GB, and runs at an estimated 71.7 tokens/sec with up to 16K of context.

What limits Phi-4 Family on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM)?

Nothing binding — the model fits with headroom and generates at a usable speed on this hardware.

Which runtime should I use?

Ollama or llama.cpp (CUDA/ROCm) — vLLM if you need concurrent serving

Other Computers

Other Models on RTX 5090 Desktop (32 GB VRAM, 64 GB RAM)

Phi-4 Family on GPUs

What This Model Is Good At

Model & Tools

← Can I Run It? | Phi-4 Family model page | Check your hardware