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 16 GB at 128k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs gpt-oss 20B fully in memory at 128k context is the NVIDIA GeForce RTX 5060 Ti 16GB, $1,130 at Amazon, at about 30 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
NVIDIA GeForce RTX 5060 Ti 16GB, new at Amazon
Runs gpt-oss 20B at Q4_K_M fully in memory at 128k context, about 30 tok/sest.
$1,130
In stock, checked
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA GeForce RTX 5060 Ti 16GB30tok/sest.Q4_K_M
$1,130
Best value
AMD Radeon RX 7900 XT47tok/sest.MXFP4
$1,437
Fastest
NVIDIA GeForce RTX 5090118tok/sest.MXFP4
$12,300
Mac
Mac Studio M3 Ultra 512GB57tok/sest.MXFP4
$28,000
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
| Hardware | Quant | Fits | Decode | Price | tok/s per 1,000 |
|---|---|---|---|---|---|
| NVIDIA GeForce RTX 5060 Ti 16GB | Q4_K_M | fits | 30 tok/s | $1,130 | 26.5 |
| NVIDIA RTX PRO 2000 Blackwell | Q4_K_M | fits | 19 tok/s | $1,149 | 16.8 |
| AMD Radeon RX 7900 XT | MXFP4 | fits | 47 tok/s | $1,437 | 32.5 |
| NVIDIA GeForce RTX 5070 Ti | Q4_K_M | fits | 60 tok/s | $1,890 | 31.7 |
| AMD Radeon RX 7900 XTX | MXFP4 | fits | 56 tok/s | $2,041 | 27.4 |
| Intel Arc Pro B60 | MXFP4 | fits | 22 tok/s | $2,079 | 10.7 |
| NVIDIA GeForce RTX 3090 Ti | MXFP4 | fits | 66 tok/s | $2,500 | 26.5 |
| NVIDIA GeForce RTX 4080 Super | Q4_K_M | fits | 49 tok/s | $2,500 | 19.7 |
| NVIDIA RTX PRO 4000 Blackwell | MXFP4 | fits | 44 tok/s | $2,810 | 15.7 |
| AMD Radeon AI PRO R9700 | MXFP4 | fits | 37 tok/s | $2,869 | 13.0 |
| NVIDIA GeForce RTX 5080 | Q4_K_M | fits | 64 tok/s | $2,999 | 21.4 |
| NVIDIA GeForce RTX 3090 | MXFP4 | fits | 62 tok/s | $3,300 | 18.7 |
| Intel Arc Pro B70 | MXFP4 | fits | 30 tok/s | $4,088 | 7.2 |
| AMD Radeon PRO W7900 | MXFP4 | fits | 50 tok/s | $4,900 | 10.3 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | $5,289 | 2.8 |
| NVIDIA RTX PRO 4500 Blackwell | MXFP4 | fits | 59 tok/s | $6,599 | 8.9 |
| ASUS Ascent GX10 128GB | MXFP4 | fits | 18 tok/s | $8,500 | 2.1 |
| NVIDIA GeForce RTX 4090 | MXFP4 | fits | 66 tok/s | $9,160 | 7.2 |
| NVIDIA DGX Spark 128GB | MXFP4 | fits | 18 tok/s | $11,150 | 1.6 |
| NVIDIA RTX A6000 | MXFP4 | fits | 51 tok/s | $11,478 | 4.4 |
| NVIDIA GeForce RTX 5090 | MXFP4 | fits | 118 tok/s | $12,300 | 9.6 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | MXFP4 | fits | 89 tok/s | $13,437 | 6.6 |
| NVIDIA RTX 6000 Ada Generation | MXFP4 | fits | 63 tok/s | $15,136 | 4.2 |
| NVIDIA RTX PRO 5000 Blackwell 72GB | MXFP4 | fits | 89 tok/s | $20,650 | 4.3 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 57 tok/s | $28,000 | 2.0 |
| Mac Studio M4 Max 128GB | MXFP4 | fits | 38 tok/s | – | – |
| Mac mini M4 Pro 64GB | MXFP4 | fits | 19 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | – | – |
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 57 tok/s | – | – |
| Mac mini M4 Pro 48GB | MXFP4 | fits | 19 tok/s | – | – |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q4_K_M | fits | 19 tok/s | – | – |
| Mac Studio M4 Max 64GB | MXFP4 | fits | 38 tok/s | – | – |
| NVIDIA GeForce RTX 4070 Ti Super | Q4_K_M | fits | 45 tok/s | – | – |
| Mac Studio M3 Ultra 96GB | MXFP4 | fits | 57 tok/s | – | – |
| NVIDIA RTX PRO 6000 Blackwell | MXFP4 | fits | 118 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | MXFP4 | fits | 15 tok/s | – | – |
| Mac mini M4 32GB | MXFP4 | fits | 8 tok/s | – | – |
| NVIDIA Tesla P40 | MXFP4 | fits | 23 tok/s | – | – |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | MXFP4 | fits | 28 tok/s | – | – |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | MXFP4 | fits | 18 tok/s | – | – |
| Dell Pro Max with GB10 128GB | MXFP4 | fits | 18 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | – | – |
| NVIDIA GeForce RTX 3060 12GB | Q4_K_M | offload | 13 tok/s | $563 | 22.7 |
| NVIDIA GeForce RTX 5050 | Q4_K_M | offload | 9 tok/s | $570 | 14.9 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q4_K_M | offload | 9 tok/s | $590 | 15.1 |
| NVIDIA GeForce RTX 5060 | Q4_K_M | offload | 9 tok/s | $608 | 14.6 |
| NVIDIA GeForce RTX 4060 | Q4_K_M | offload | 8 tok/s | $675 | 12.1 |
| Intel Arc B570 | Q4_K_M | offload | 9 tok/s | $801 | 11.0 |
| NVIDIA GeForce RTX 3080 10GB | Q4_K_M | offload | 12 tok/s | $860 | 13.7 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q4_K_M | offload | 8 tok/s | $864 | 9.6 |
| AMD Radeon RX 9060 XT 16GB | Q4_K_M | offload | 19 tok/s | $870 | 21.3 |
| AMD Radeon RX 9070 | Q4_K_M | offload | 36 tok/s | $1,200 | 29.6 |
| NVIDIA GeForce RTX 5070 | Q4_K_M | offload | 16 tok/s | $1,206 | 12.9 |
| AMD Radeon RX 9070 XT | Q4_K_M | offload | 36 tok/s | $1,285 | 27.6 |
| NVIDIA GeForce RTX 4070 | Q4_K_M | offload | 14 tok/s | $1,300 | 11.1 |
| AMD Radeon RX 7800 XT | Q4_K_M | offload | 35 tok/s | $1,422 | 24.3 |
| AMD Radeon RX 7600 XT | Q4_K_M | offload | 17 tok/s | $1,445 | 11.6 |
| NVIDIA GeForce RTX 4070 Super | Q4_K_M | offload | 14 tok/s | $2,096 | 6.9 |
| Intel Arc B580 | Q4_K_M | offload | 11 tok/s | – | – |
| Intel Arc A770 16GB | Q4_K_M | offload | 26 tok/s | – | – |
| Intel Arc Pro B50 | Q4_K_M | offload | 11 tok/s | – | – |
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 16 GB at 128k, 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 128k context is the NVIDIA GeForce RTX 5060 Ti 16GB, $1,130 at Amazon, at about 30 tok/s (estimated). The best value is the AMD Radeon RX 7900 XT (about 47 tok/s for $1,437). The fastest we price is the NVIDIA GeForce RTX 5090, at about 118 tok/s.
- What is the cheapest way to run gpt-oss 20B in Canada today?
- The NVIDIA GeForce RTX 5060 Ti 16GB, $1,130 new at Amazon, in stock: it runs gpt-oss 20B at Q4_K_M fully in memory at 128k context, at about 30 tok/s (estimated).
- Can I run gpt-oss 20B on a 16 GB GPU?
- Yes: at Q4_K_M it fits fully in 16 GB at 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 64 tok/s (estimated).
- Can I run gpt-oss 20B on a 24 GB GPU?
- Yes: at MXFP4 it fits fully in 24 GB at 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 66 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.