Can the Radeon RX 7900 XTX run Phi-4?

Yes. Phi-4 fits the Radeon RX 7900 XTX's 24 GB at Q4_K_M (about 10.3 GB needed), running at an estimated 65 tok/s. There's room for up to Q8_0 if you want higher quality.

VRAM
24 GB
Needs at Q4
10.3 GB
Headroom
13.7 GB
Speed (Q4_K_M)
~65 tok/s

Every quantization

Phi-4 (14B) on 24 GB

QuantWeightsNeedsFitEst. speed
Q4_K_M8.5 GB10.3 GBFits easily~65 tok/s
Q5_K_M10.5 GB12.3 GBFits easily~52 tok/s
Q8_016 GB17.8 GBFits~34 tok/s
FP1628 GB29.8 GBToo big -

Estimates. Needs = weights + 1.8 GB for KV cache and runtime at modest context. Speed is single-stream decode scaled from the Radeon RX 7900 XTX's 960 GB/s bandwidth (Estimated from memory bandwidth (llama.cpp decode)). Long contexts need more memory and run slower.

Run it

Copy, paste, go

ollama run phi-4:14b
llama-server -hf microsoft/phi-4-gguf -ngl 99

Ollama pulls a Q4 build by default. Pick a larger quant only if the table above says it fits. Full Phi-4 details →

Compare

Same model, other hardware - and other models on this card

Phi-4 on other hardware

Also runs on the Radeon RX 7900 XTX

Frequently asked

Quick answers

Can the AMD Radeon RX 7900 XTX run Phi-4?

Yes. Phi-4 fits the Radeon RX 7900 XTX's 24 GB at Q4_K_M (about 10.3 GB needed), running at an estimated 65 tok/s. There's room for up to Q8_0 if you want higher quality.

How much VRAM does Phi-4 need?

About 8.5 GB of weights at Q4_K_M, 16 GB at Q8_0 and 28 GB at FP16. Add roughly 1.8 GB for the KV cache and runtime at modest context lengths.

How fast is Phi-4 on the Radeon RX 7900 XTX?

Roughly 65 tokens per second at Q4_K_M (single user, llama.cpp-style decode). This is an estimate from the Radeon RX 7900 XTX's 960 GB/s memory bandwidth.