Phi 4 on RTX 5090: VRAM, speed and fit
Phi 4 at 8-bit runs on the RTX 5090 with 16K of context at about 76 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on RTX 5090 · 8-bit (Q8_0) · Ollama / LM Studio · Chat
- GPU memory
- 18.4 GB
- of 32.0 GB
- Context
- 16K
- auto
- Speed
- 76 tok/s
- 63 when full
- First reply
- 0.3 s
- 2K prompt
Where the memory goes
- Model
- 14.5 GB
- Context
- 3.1 GB
- Overhead
- 817 MB
- OS
- 0.0 GB
- Free
- 13.6 GB
- Memory
- 18.4 GB of 32.0 GB
- Context
- 16K tokens · auto
- Speed
- 76 tok/s · 63 when full
- First reply
- 0.3 s for a 2K prompt
- Running cost
- $9.30/mo at home · $30/mo on a cloud RTX A4500
Validation: Validated
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 32.0 GB usable | 18.4 GB needed | Pass |
| Headroom | 5% free | 13.6 GB free (42%) | Pass |
| Context for chat | 16K or more | 16K | Pass |
| Writing speed | 15 tok/s or more | 76 tok/s | Pass |
| First reply | under 3 s, 2K prompt | 0.3 s | Pass |
Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.
The setup
- Model
- Phi 4
- Parameters
- 14.7B
- Precision
- 8-bit (Q8_0)
- Context
- 16K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- RTX 5090
- GPU can use
- 32.0 GB of 32.0 GB
Running cost
- At home
- $9.30/mo
- 425 W at the wall
- Renting instead
- $30/mo
- RTX A4500 at $0.25/h
4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 21, 2026.
How to run it
- llama.cpp
llama-server -hf MaziyarPanahi/phi-4-GGUF- vLLM
vllm serve microsoft/phi-4- MLX (Mac)
mlx_lm.chat --model mlx-community/phi-4-4bit- Model card
- huggingface.co/microsoft/phi-4
Phi 4 on similar machines
- Radeon RX 7900 XTXRuns
- RTX 3090Runs
- RTX 4090Runs
- Radeon AI PRO R9700Runs
- 2× RTX 3090Runs
- 2× RTX 4090Runs
- RTX PRO 5000 Blackwell 48 GBRuns
- RTX 6000 AdaRuns
All machines: Phi 4 VRAM requirements. Everything that runs here: what can the RTX 5090 run?
Other models that run on RTX 5090
Questions
Can Phi 4 run on RTX 5090?
Phi 4 at 8-bit runs on the RTX 5090 with 16K of context at about 76 tokens a second.
Report VR-1JZ52QA, calculated Nov 22, 2026 from published specs, not benchmarked.