gpt-oss 20B
20.9B total, 4.2B active · 128k context · apache-2.0 · released 2025-08-04
chatcodingagenticreasoning
In short
gpt-oss 20B is an open model from OpenAI with 20.9B parameters (4.2B active per token). At MXFP4, gpt-oss 20B needs about 12 GB of memory at 8k context and 14 GB at 64k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs gpt-oss 20B fully in memory at 64k context is the AMD Radeon RX 9060 XT 16GB, $870 at Amazon, at about 26 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
AMD Radeon RX 9060 XT 16GB, new at Amazon
Runs gpt-oss 20B at MXFP4 fully in memory at 64k context, about 26 tok/sest.
$870
In stock, checked
What to run it on in Canada
Fully in memory at 64k context, priced at retailers today.
Cheapest
AMD Radeon RX 9060 XT 16GB26tok/sest.MXFP4
$870
Best value
AMD Radeon RX 7900 XT65tok/sest.MXFP4
$1,437
Fastest
NVIDIA GeForce RTX 5090165tok/sest.MXFP4
$12,300
Mac
Mac Studio M3 Ultra 512GB79tok/sest.MXFP4
$28,000
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
1 other card or machine we price cannot hold it at this context.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k | @64k | @128k |
|---|---|---|---|---|---|
| MXFP4gguf | 11.3 GB | 12.2 GB | 12.9 GB | 13.9 GB | 15.7 GB |
| mlx-4bitmlx | 10.8 GB | 11.8 GB | 12.5 GB | 13.4 GB | 15.3 GB |
| Q4_K_Mgguf | 10.8 GB | 11.8 GB | 12.5 GB | 13.4 GB | 15.3 GB |
Run it
Copy a command for the runtime you use.
- MXFP4
- Ollama
ollama run hf.co/ggml-org/gpt-oss-20b-GGUF:MXFP4 - LM Studio
lms get ggml-org/gpt-oss-20b-GGUF@mxfp4 - llama.cpp
llama-server -hf ggml-org/gpt-oss-20b-GGUF:MXFP4
- Ollama
- mlx-4bit
- LM Studio
lms get mlx-community/gpt-oss-20b-OptiQ-4bit - MLX
mlx_lm.server --model mlx-community/gpt-oss-20b-OptiQ-4bit
- LM Studio
- Q4_K_M
- Ollama
ollama run hf.co/unsloth/gpt-oss-20b-GGUF:Q4_K_M - LM Studio
lms get unsloth/gpt-oss-20b-GGUF@q4_k_m - llama.cpp
llama-server -hf unsloth/gpt-oss-20b-GGUF:Q4_K_M
- Ollama
Questions
- How much VRAM does gpt-oss 20B need?
- At MXFP4, gpt-oss 20B needs about 12 GB of memory at 8k context and 14 GB at 64k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running gpt-oss 20B locally?
- The cheapest hardware in Canada that runs gpt-oss 20B fully in memory at 64k context is the AMD Radeon RX 9060 XT 16GB, $870 at Amazon, at about 26 tok/s (estimated). The best value is the AMD Radeon RX 7900 XT (about 65 tok/s for $1,437). The fastest we price is the NVIDIA GeForce RTX 5090, at about 165 tok/s.
- What is the cheapest way to run gpt-oss 20B in Canada today?
- The AMD Radeon RX 9060 XT 16GB, $870 new at Amazon, in stock: it runs gpt-oss 20B at MXFP4 fully in memory at 64k context, at about 26 tok/s (estimated).
- Can I run gpt-oss 20B on a 16 GB GPU?
- Yes: at MXFP4 it fits fully in 16 GB at 64k context. On the NVIDIA GeForce RTX 5080 it runs at about 88 tok/s (estimated).
- Can I run gpt-oss 20B on a 24 GB GPU?
- Yes: at MXFP4 it fits fully in 24 GB at 64k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 93 tok/s (estimated).
- How do I run gpt-oss 20B locally?
- With Ollama: ollama run hf.co/ggml-org/gpt-oss-20b-GGUF:MXFP4 (the MXFP4 build). LM Studio and llama.cpp commands are on this page.
- What licence is gpt-oss 20B released under?
- apache-2.0, which allows commercial use.