Skip to content
Run LLM Locally

Qwen3 4B on the RX 7900 XTX

With 24 GB of VRAM, the RX 7900 XTX runs Qwen3 4B at Q4_K_M entirely on the GPU with an 8K context (about 4.6 GB needed). At Q8_0 it fits entirely.

Qwen3 4B

Q4_K_M · 8K context

Excellent

The model needs about 4.6 GB and fits in the 23.3 GB available, with 18.7 GB to spare.

Your hardware
RX 7900 XTX 24 GB · 64 GB RAM
Estimated memory
~4.6 GB estimate
VRAM (usable memory)
23.3 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
123–206 tok/s estimate
Largest context in fast memory
128K tokens
Confidence: low

Based on: memory bandwidth (960 GB/s) and model size

Memory breakdown

~4.6 GB (4.2 GB–5 GB) needed · estimate

Fits entirely in VRAM · 18.7 GB left

  • Model weights2.3 GB
  • KV cache1.1 GB
  • Runtime overhead0.8 GB
  • Safety margin0.3 GB
Assumptions: context 8K tokens · KV cache f16 · llama.cpp (ROCm) · flash attention on · weights = real file size

EstimateData updated 24 days agoSource: Run LLM Locally engine, Hugging Face config.json + model card

What makes this estimate less reliable

  • no benchmark for this hardware and model yet

Other quantizations on the RX 7900 XTX

Qwen3 4B on RX 7900 XTX + 64 GB RAM · 8K context
Qwen3 4B Q8_08K~6.2 GB · 93–147 tok/s estimateExcellent
Qwen3 4B Q6_K8K~5.3 GB · 107–174 tok/s estimateExcellent
Qwen3 4B Q5_K_M8K~4.9 GB · 114–189 tok/s estimateExcellent
Qwen3 4B Q4_K_M8K~4.6 GB · 123–206 tok/s estimateExcellent
Qwen3 4B IQ4_XS8K~4.4 GB · 128–217 tok/s estimateExcellent
Qwen3 4B Q3_K_M8K~4.2 GB · 133–228 tok/s estimateExcellent

Alternatives

Where to buy a RX 7900 XTX

Prices and links follow the market you choose.

Radeon RX 7900 XTX

24 GB GDDR6 · 960 GB/s · 355 W

ExcellentRuns Qwen3 4B Q4_K_M entirely in memory

Price not available

Availability unknown

View on amazon.com

Affiliate link

No current offer imported for this market: the link opens a marketplace search.

Frequently asked questions

Can the RX 7900 XTX run Qwen3 4B?
The model needs about 4.6 GB and fits in the 23.3 GB available, with 18.7 GB to spare.
Which quantization should I use on the RX 7900 XTX?
Q8_0 is the highest-precision quantization that fits entirely in VRAM at 8K context. ~6.2 GB / 23.3 GB.
What is the largest context on the RX 7900 XTX?
At Q4_K_M, about 128K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is Qwen3 4B (RX 7900 XTX)?
We estimate 123–206 tok/s (estimate, confidence low). Based on: memory bandwidth (960 GB/s) and model size.