Can an RX 9070 XT run Phi 4?

Yes

At Q6_K it needs 12.81 GB of the 15.2 GB available and generates around 32.5 tokens per second at an 8k context window.

In practice

Phi 4 sits comfortably on RX 9070 XT. At Q6_K it takes 12.81 GB of the 15.2 GB available, which leaves 2.39 GB spare, enough for the 8k window we assumed and for a window of up to about 16k tokens before memory runs out. Generation runs at about 32.5 tokens per second, well past the speed anyone reads at, so a 500-token answer takes about 15 seconds.

Of the memory in use, 84% is the weights and 12% is the attention cache. With this much room the question is quality, not fit. The next step up, Q8_0, needs 16 GB and does not fit, so Q6_K is where we would stay.

Reading a 4,000-token prompt, roughly a long email or a few pages of text, takes about 4 seconds before the first word appears. That part is limited by compute and not by bandwidth, so it follows a different spec from the writing speed.

The numbers

Phi 4 has 14.66 billion parameters across 40 layers. The Radeon RX 9070 XT has 16 GB of VRAM at 645 GB/s, of which about 15.2 GB is left for a model once the operating system has taken its share.

QuantizationTotal neededFitsSpeed
Q8_0 16 GB partial 13.4 t/s
Q6_K 12.81 GB yes 32.5 t/s
Q5_K_M 11.37 GB yes 36.8 t/s
Q4_K_M 9.96 GB yes 42.3 t/s
IQ4_XS 9 GB yes 47.0 t/s
Q3_K_M 8.44 GB yes 50.3 t/s
IQ3_XXS degraded 7.04 GB yes 61.0 t/s
Q2_K degraded 7.52 GB yes 56.9 t/s
IQ2_XXS degraded 5.39 GB yes 81.2 t/s

8 of the 9 levels fit entirely. Levels marked degraded are listed for completeness, not as advice. Rows marked partial or experts in RAM run with part of the model in system RAM, at the speed shown.

How long a conversation it holds

Memory rises with the length of the conversation because the attention cache keeps a key and a value for every token. At Q6_K, the longest window that still fits on this device is 16k tokens. Setting the window to what you need and no more is the cheapest way to buy back memory.

ContextCacheTotalFits
4k 0.78 GB 12.02 GB yes
8k 1.56 GB 12.81 GB yes
16k 3.13 GB 14.37 GB yes

The settings we would use

llama-server -m <model>.gguf -ngl all -c 8192 -fa on

In Ollama, set OLLAMA_CONTEXT_LENGTH to the window you want, run ollama ps while the model is loaded and check that the processor column reads 100% GPU. If it shows a split on a model that fits, the Ollama guide shows how to fix it. The llama.cpp flags guide explains each option above.

What else an RX 9070 XT runs well

For comparison, these are the other popular models that fit this device at a sound quantization, best pairings first.

ModelQuantizationMemorySpeed
Qwen3.5 27B IQ4_XS 14.2 GB 29.3 t/s
Gemma 4 12B Instruct Q8_0 13.55 GB 30.6 t/s
GPT OSS 20B MXFP4 11.55 GB 97.7 t/s
Qwen3 14B Q6_K 12.38 GB 33.7 t/s

The same model on nearby hardware

Memory decides whether Phi 4 loads and bandwidth decides how quickly it answers. Here is what a step down, a card with the same memory and a step up do with it.

DeviceMemoryBandwidthResult
GeForce RTX 4070 12 GB 504 GB/s Q4_K_M, 39.0 t/s
GeForce RTX 5080 16 GB 960 GB/s Q6_K, 57.1 t/s
GeForce RTX 4090 24 GB 1008 GB/s Q8_0, 47.7 t/s

See how fast it feels

Radeon RX 9070 XT running Phi 4 at Q6_K

Wait for the first word553 ms
Then writes at32.5 tok/s
Whole answer5.9 s

YouWhy does my model use more memory when the conversation gets longer?

Model

Simulated from our estimate at a 512-token question, not a recording. Assumes nothing else is competing for the GPU.

Questions people ask

How much VRAM does Phi 4 need on RX 9070 XT?

At Q4_K_M with an 8k context window it needs 9.96 GB in total: 7.95 GB of weights, 1.56 GB of KV cache and 0.44 GB of runtime overhead. The Radeon RX 9070 XT makes about 15.2 GB available once the operating system has taken its share.

What context length can RX 9070 XT handle with Phi 4?

At Q6_K the longest window that still fits is about 16k tokens. Memory grows with the window, so a shorter one leaves room for a higher quantization.

How fast is Phi 4 on RX 9070 XT?

We estimate about 32.5 tokens per second at Q6_K, which is faster than most people read. A 500-token answer takes about 15 seconds. Memory bandwidth of 645 GB/s sets that ceiling, and the estimate is good to about 10 to 30 percent.

Keep going

Everything the Radeon RX 9070 XT runs, the full breakdown for Phi 4, how the numbers are made in the methodology, or a different pairing in the calculator.