Yes — with 6.8 GB to spare
gpt-oss 20B at MXFP4 fits your Radeon RX 7900 XT entirely on the GPU at 8K context, at an estimated 100 tokens per second. There is room for its full 128K window.
Ships natively in MXFP4, so the 4-bit weights are the reference weights, not a lossy copy. Fits 16 GB.
Hardware requirements What hardware do I need to run gpt-oss 20B? →At MXFP4 with an 8K context: a 16 GB GPU (RTX 5080) or a 24 GB Mac (M4 Pro). Minimum, recommended, high-quality and long-context tiers, with all 114 devices checked at every quantisation.
The VRAM budget
Quantisation ladder
| Quant | Weights | Total @ 8K | Max context | Tok/s | Quality | Fit |
|---|---|---|---|---|---|---|
| MXFP4 | 10.8 GB | 11.6 GB | 128K | 100 | Reference | Recommended |
Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. This model interleaves sliding-window layers (128 tokens, 1 global in 2), which is why its cache barely grows with context.
How to run it
$ ollama pull gpt-oss:20b $ OLLAMA_CONTEXT_LENGTH=8192 \ ollama run gpt-oss:20b
The default. One binary, a model registry, an OpenAI-compatible port. More on Ollama.
Related models on a Radeon RX 7900 XT
| Model | Total | Tok/s est. | |
|---|---|---|---|
| gpt-oss 120B 117B MoE · same family |
MXFP4 · 61.4 GB | — | Won't fit |
| Mistral Small 3.2 24B 23.6B · similar size |
Q4_K_M · 15.1 GB | 36 | Runs great |
| Devstral Small 2 24B 24B · similar size |
Q4_K_M · 15.3 GB | 36 | Runs great |
| Gemma 4 26B-A4B 26.5B MoE · similar size |
Q4_K_M · 16.0 GB | 87 | Tight fit |
| Gemma 3 27B 27.4B · similar size |
Q4_K_M · 17.0 GB | 31 | Tight fit |
| Qwen3.8 27B 27.8B · similar size |
Q4_K_M · 16.7 GB | 31 | Tight fit |
| Qwen3.6 27B 27.8B · similar size |
Q4_K_M · 16.7 GB | 31 | Tight fit |
gpt-oss 20B on other hardware
| Device | Total | Tok/s est. | |
|---|---|---|---|
| GeForce RTX 4060 Laptop 7.0 GB usable · 256 GB/s |
11.6 GB | ~13 | CPU offload |
| GeForce RTX 3060 12 GB 10.6 GB usable · 360 GB/s |
11.6 GB | ~31 | CPU offload |
| GeForce RTX 5080 14.4 GB usable · 960 GB/s |
11.6 GB | 120 | Runs great |
| M4 · 16 GB 10.7 GB usable · 120 GB/s |
11.6 GB | — | Won't fit |
| GeForce RTX 4090 22.4 GB usable · 1008 GB/s |
11.6 GB | 126 | Runs great |
| Radeon RX 7900 XTX 22.4 GB usable · 960 GB/s |
11.6 GB | 120 | Runs great |
| M4 Pro · 24 GB 18.0 GB usable · 273 GB/s |
11.6 GB | 38 | Runs great |
| M3 Max · 64 GB 48.0 GB usable · 400 GB/s |
11.6 GB | 56 | Runs great |