Skip to content
Run LLM Locally

gpt-oss-20b on the RX 7900 XT

With 20 GB of VRAM, the RX 7900 XT runs gpt-oss-20b at MXFP4 entirely on the GPU with an 8K context (about 13 GB needed).

gpt-oss-20b

MXFP4 · 8K context

Excellent

The model needs about 13 GB and fits in the 19.4 GB available, with 6.4 GB to spare.

Your hardware
RX 7900 XT 20 GB · 64 GB RAM
Estimated memory
~13 GB estimate
VRAM (usable memory)
19.4 GB
GPU only
Yes
CPU/GPU offload
Not required
Generation speed
138–152 tok/s
Largest context in fast memory
128K tokens
Confidence: medium

Based on: same hardware · same model · same quantization · 2 benchmark(s)

Memory breakdown

~13 GB (12.4 GB–13.6 GB) needed · estimate

Fits entirely in VRAM · 6.4 GB left

  • Model weights11.3 GB
  • KV cache0.2 GB
  • Runtime overhead0.9 GB
  • Safety margin0.6 GB
Assumptions: context 8K tokens · KV cache f16 · llama.cpp (ROCm) · flash attention on · weights = real file size · sliding-window layers keep 128 tokens

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

What makes this estimate less reliable

  • mixture-of-experts: speed depends on expert routing

Other quantizations on the RX 7900 XT

gpt-oss-20b on RX 7900 XT + 64 GB RAM · 8K context
gpt-oss-20b MXFP48K~13 GB · 138–152 tok/s measuredExcellent

Alternatives

Where to buy a RX 7900 XT

Prices and links follow the market you choose.

Radeon RX 7900 XT

20 GB GDDR6 · 800 GB/s · 315 W

ExcellentRuns gpt-oss-20b MXFP4 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 XT run gpt-oss-20b?
The model needs about 13 GB and fits in the 19.4 GB available, with 6.4 GB to spare.
Which quantization should I use on the RX 7900 XT?
MXFP4 is the highest-precision quantization that fits entirely in VRAM at 8K context. ~13 GB / 19.4 GB.
What is the largest context on the RX 7900 XT?
At MXFP4, about 128K tokens fit entirely in VRAM with an f16 KV cache. A q8_0 KV cache roughly doubles that.
How fast is gpt-oss-20b (RX 7900 XT)?
We estimate 138–152 tok/s (measured, confidence medium). Based on: same hardware, same model, same quantization, 2 benchmark(s).