Can an RX 7900 XTX run Qwen3 30B A3B?

Yes

At Q5_K_M it needs 21.11 GB of the 23.2 GB available and generates around 118 tokens per second at an 8k context window.

In practice

Qwen3 30B A3B sits comfortably on RX 7900 XTX. At Q5_K_M it takes 21.11 GB of the 23.2 GB available, which leaves 2.09 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 118 tokens per second, well past the speed anyone reads at, so a 500-token answer takes about 4 seconds.

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

Reading a 4,000-token prompt, roughly a long email or a few pages of text, takes under a second 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

Qwen3 30B A3B has 30.53 billion parameters across 48 layers, of which 3.34 billion are read for each token. The Radeon RX 7900 XTX has 24 GB of VRAM at 960 GB/s, of which about 23.2 GB is left for a model once the operating system has taken its share.

QuantizationTotal neededFitsSpeed
Q8_0 30.99 GB experts in RAM 39.0 t/s
Q6_K 24.17 GB experts in RAM 93.8 t/s
Q5_K_M 21.11 GB yes 118 t/s
Q4_K_M 18.08 GB yes 133 t/s
IQ4_XS 16.04 GB yes 146 t/s
Q3_K_M 14.84 GB yes 154 t/s
IQ3_XXS degraded 11.85 GB yes 180 t/s
Q2_K degraded 12.87 GB yes 170 t/s
IQ2_XXS degraded 8.34 GB yes 225 t/s

7 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 Q5_K_M, 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.38 GB 20.73 GB yes
8k 0.75 GB 21.11 GB yes
16k 1.5 GB 21.86 GB yes
32k 3 GB 23.36 GB no

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 7900 XTX 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 Q6_K 21.33 GB 28.7 t/s
Gemma 4 31B Instruct Q4_K_M 21.31 GB 28.7 t/s
Qwen3 32B Q4_K_M 20.42 GB 30.0 t/s
Gemma 4 12B Instruct Q8_0 13.55 GB 45.6 t/s

The same model on nearby hardware

Memory decides whether Qwen3 30B A3B 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 5080 16 GB 960 GB/s Q3_K_M, 182 t/s
GeForce RTX 4090 24 GB 1008 GB/s Q5_K_M, 146 t/s
GeForce RTX 5090 32 GB 1792 GB/s Q8_0, 190 t/s

See how fast it feels

Radeon RX 7900 XTX running Qwen3 30B A3B at Q5_K_M

Wait for the first word99 ms
Then writes at118.2 tok/s
Whole answer1.6 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 Qwen3 30B A3B need on RX 7900 XTX?

At Q4_K_M with an 8k context window it needs 18.08 GB in total: 16.99 GB of weights, 0.75 GB of KV cache and 0.34 GB of runtime overhead. The Radeon RX 7900 XTX makes about 23.2 GB available once the operating system has taken its share.

What context length can RX 7900 XTX handle with Qwen3 30B A3B?

At Q5_K_M 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 Qwen3 30B A3B on RX 7900 XTX?

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

Keep going

Everything the Radeon RX 7900 XTX runs, the full breakdown for Qwen3 30B A3B, how the numbers are made in the methodology, or a different pairing in the calculator.