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 12 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs gpt-oss 20B fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 95 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in the US today
NVIDIA RTX PRO 4000 Blackwell, new at Amazon
Runs gpt-oss 20B at MXFP4 fully in memory at 8k context, about 95 tok/sest.
$339
In stock, checked
What to run it on in the US
Fully in memory at 8k context, priced at retailers today.
Cheapest
NVIDIA RTX PRO 4000 Blackwell95tok/sest.MXFP4
$339
Best value
NVIDIA RTX PRO 4000 Blackwell95tok/sest.MXFP4
$339
Fastest
NVIDIA GeForce RTX 5090253tok/sest.MXFP4
$6,495
Mac
Mac mini M4 32GB18tok/sest.MXFP4
$1,199
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 RTX PRO 4000 Blackwell | MXFP4 | fits | 95 tok/s | $339 | 280.2 |
| NVIDIA Tesla P40 | MXFP4 | fits | 49 tok/s | $449 | 108.9 |
| Intel Arc Pro B50 | MXFP4 | fits | 23 tok/s | $600 | 39.0 |
| NVIDIA GeForce RTX 5060 Ti 16GB | MXFP4 | fits | 63 tok/s | $618 | 102.4 |
| AMD Radeon RX 9060 XT 16GB | MXFP4 | fits | 40 tok/s | $720 | 55.7 |
| Intel Arc A770 16GB | MXFP4 | fits | 59 tok/s | $745 | 78.5 |
| AMD Radeon RX 7800 XT | MXFP4 | fits | 78 tok/s | $757 | 103.3 |
| NVIDIA RTX PRO 2000 Blackwell | MXFP4 | fits | 41 tok/s | $795 | 51.2 |
| AMD Radeon RX 9070 XT | MXFP4 | fits | 80 tok/s | $810 | 99.0 |
| AMD Radeon RX 9070 | MXFP4 | fits | 80 tok/s | $860 | 93.3 |
| AMD Radeon RX 7900 XT | MXFP4 | fits | 100 tok/s | $880 | 114.0 |
| Intel Arc Pro B60 | MXFP4 | fits | 48 tok/s | $899 | 52.9 |
| NVIDIA GeForce RTX 4060 Ti 16GB | MXFP4 | fits | 41 tok/s | $918 | 44.3 |
| AMD Radeon RX 7600 XT | MXFP4 | fits | 36 tok/s | $959 | 37.6 |
| NVIDIA GeForce RTX 4070 Ti Super | MXFP4 | fits | 95 tok/s | $1,140 | 83.3 |
| Mac mini M4 32GB | MXFP4 | fits | 18 tok/s | $1,199 | 14.8 |
| NVIDIA GeForce RTX 5070 Ti | MXFP4 | fits | 127 tok/s | $1,300 | 97.4 |
| AMD Radeon RX 7900 XTX | MXFP4 | fits | 120 tok/s | $1,400 | 85.9 |
| NVIDIA GeForce RTX 4080 Super | MXFP4 | fits | 104 tok/s | $1,469 | 70.8 |
| AMD Radeon AI PRO R9700 | MXFP4 | fits | 80 tok/s | $1,700 | 47.2 |
| Intel Arc Pro B70 | MXFP4 | fits | 64 tok/s | $1,800 | 35.3 |
| NVIDIA GeForce RTX 5080 | MXFP4 | fits | 136 tok/s | $1,900 | 71.4 |
| NVIDIA GeForce RTX 3090 | MXFP4 | fits | 132 tok/s | $1,979 | 66.8 |
| Mac mini M4 Pro 48GB | MXFP4 | fits | 40 tok/s | $2,025 | 20.0 |
| NVIDIA GeForce RTX 3090 Ti | MXFP4 | fits | 142 tok/s | $2,033 | 70.0 |
| NVIDIA GeForce RTX 4090 | MXFP4 | fits | 142 tok/s | $2,073 | 68.7 |
| Mac mini M4 Pro 64GB | MXFP4 | fits | 40 tok/s | $2,399 | 16.8 |
| NVIDIA RTX PRO 4000 Blackwell SFF Edition | MXFP4 | fits | 61 tok/s | $2,980 | 20.5 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | MXFP4 | fits | 32 tok/s | $3,500 | 9.2 |
| Mac Studio M4 Max 64GB | MXFP4 | fits | 81 tok/s | $3,500 | 23.1 |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | MXFP4 | fits | 32 tok/s | $3,800 | 8.4 |
| Minisforum MS-S1 Max Ryzen AI Max+ 395 128GB | MXFP4 | fits | 32 tok/s | $3,959 | 8.1 |
| NVIDIA RTX PRO 4500 Blackwell | MXFP4 | fits | 127 tok/s | $4,000 | 31.7 |
| AMD Radeon PRO W7900 | MXFP4 | fits | 108 tok/s | $4,000 | 27.1 |
| Mac Studio M3 Ultra 96GB | MXFP4 | fits | 121 tok/s | $4,758 | 25.5 |
| Mac Studio M4 Max 128GB | MXFP4 | fits | 81 tok/s | $5,400 | 15.0 |
| NVIDIA RTX A6000 | MXFP4 | fits | 109 tok/s | $5,989 | 18.1 |
| ASUS Ascent GX10 128GB | MXFP4 | fits | 39 tok/s | $6,100 | 6.3 |
| NVIDIA GeForce RTX 5090 | MXFP4 | fits | 253 tok/s | $6,495 | 39.0 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | MXFP4 | fits | 190 tok/s | $6,999 | 27.1 |
| NVIDIA DGX Spark 128GB | MXFP4 | fits | 39 tok/s | $7,800 | 4.9 |
| NVIDIA RTX 6000 Ada Generation | MXFP4 | fits | 136 tok/s | $8,495 | 16.0 |
| NVIDIA RTX PRO 5000 Blackwell 72GB | MXFP4 | fits | 190 tok/s | $8,499 | 22.3 |
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 121 tok/s | $9,500 | 12.8 |
| NVIDIA RTX PRO 6000 Blackwell | MXFP4 | fits | 253 tok/s | $16,000 | 15.8 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 121 tok/s | $30,000 | 4.0 |
| Framework Desktop Ryzen AI Max+ 395 128GB | MXFP4 | fits | 32 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | MXFP4 | fits | 32 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | MXFP4 | fits | 39 tok/s | – | – |
| Dell Pro Max with GB10 128GB | MXFP4 | fits | 39 tok/s | – | – |
| Intel Arc B570 | Q4_K_M | offload | 26 tok/s | $304 | 84.2 |
| NVIDIA GeForce RTX 5050 | Q4_K_M | offload | 23 tok/s | $359 | 63.2 |
| NVIDIA GeForce RTX 3060 12GB | Q4_K_M | offload | 48 tok/s | $388 | 123.1 |
| NVIDIA GeForce RTX 4060 | Q4_K_M | offload | 22 tok/s | $400 | 54.0 |
| Intel Arc B580 | Q4_K_M | offload | 41 tok/s | $425 | 97.4 |
| NVIDIA GeForce RTX 5060 | Q4_K_M | offload | 25 tok/s | $435 | 57.0 |
| NVIDIA GeForce RTX 3080 10GB | Q4_K_M | offload | 42 tok/s | $500 | 83.6 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q4_K_M | offload | 25 tok/s | $511 | 48.5 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q4_K_M | offload | 22 tok/s | $536 | 41.0 |
| NVIDIA GeForce RTX 4070 | Q4_K_M | offload | 64 tok/s | $570 | 111.9 |
| NVIDIA GeForce RTX 4070 Super | Q4_K_M | offload | 64 tok/s | $800 | 79.8 |
| NVIDIA GeForce RTX 5070 | Q4_K_M | offload | 81 tok/s | $900 | 89.6 |
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 12 GB at 8k, counting the weights, the KV cache and runtime buffers.
- What is the best GPU for running gpt-oss 20B locally?
- The cheapest hardware in the US that runs gpt-oss 20B fully in memory at 8k context is the NVIDIA RTX PRO 4000 Blackwell, $339 at Amazon, at about 95 tok/s (estimated). The fastest we price is the NVIDIA GeForce RTX 5090, at about 253 tok/s.
- What is the cheapest way to run gpt-oss 20B in the US today?
- The NVIDIA RTX PRO 4000 Blackwell, $339 new at Amazon, in stock: it runs gpt-oss 20B at MXFP4 fully in memory at 8k context, at about 95 tok/s (estimated).
- Can I run gpt-oss 20B on a 16 GB GPU?
- Yes: at MXFP4 it fits fully in 16 GB at 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 136 tok/s (estimated).
- Can I run gpt-oss 20B on a 24 GB GPU?
- Yes: at MXFP4 it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 142 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.