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 Germany that runs gpt-oss 20B fully in memory at 128k context is the NVIDIA Tesla P40, 389 € at eBay, at about 23 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Germany today
NVIDIA Tesla P40, used at eBay
Runs gpt-oss 20B at MXFP4 fully in memory at 128k context, about 23 tok/sest.
389 €
In stock, checked
What to run it on in Germany
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA Tesla P4023tok/sest.MXFP4
389 €
Best value
NVIDIA Tesla P4023tok/sest.MXFP4
389 €
Fastest
NVIDIA GeForce RTX 5090118tok/sest.MXFP4
6.888 €
Mac
Mac mini M4 Pro 48GB19tok/sest.MXFP4
2.549 €
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 Tesla P40 | MXFP4 | fits | 23 tok/s | 389 € | 58.6 |
| NVIDIA GeForce RTX 4060 Ti 16GB | Q4_K_M | fits | 19 tok/s | 625 € | 30.9 |
| NVIDIA GeForce RTX 5060 Ti 16GB | Q4_K_M | fits | 30 tok/s | 799 € | 37.5 |
| NVIDIA RTX PRO 2000 Blackwell | Q4_K_M | fits | 19 tok/s | 880 € | 21.9 |
| AMD Radeon RX 7900 XT | MXFP4 | fits | 47 tok/s | 999 € | 46.7 |
| Intel Arc Pro B60 | MXFP4 | fits | 22 tok/s | 1.184 € | 18.7 |
| Mac mini M4 32GB | MXFP4 | fits | 8 tok/s | 1.330 € | 6.2 |
| NVIDIA GeForce RTX 5070 Ti | Q4_K_M | fits | 60 tok/s | 1.389 € | 43.2 |
| NVIDIA GeForce RTX 4070 Ti Super | Q4_K_M | fits | 45 tok/s | 1.500 € | 30.0 |
| AMD Radeon RX 7900 XTX | MXFP4 | fits | 56 tok/s | 1.555 € | 36.0 |
| Intel Arc Pro B70 | MXFP4 | fits | 30 tok/s | 1.749 € | 16.9 |
| NVIDIA GeForce RTX 5080 | Q4_K_M | fits | 64 tok/s | 1.889 € | 34.0 |
| AMD Radeon AI PRO R9700 | MXFP4 | fits | 37 tok/s | 2.300 € | 16.3 |
| Mac mini M4 Pro 48GB | MXFP4 | fits | 19 tok/s | 2.549 € | 7.4 |
| NVIDIA GeForce RTX 3090 | MXFP4 | fits | 62 tok/s | 2.790 € | 22.1 |
| Mac mini M4 Pro 64GB | MXFP4 | fits | 19 tok/s | 2.934 € | 6.4 |
| NVIDIA GeForce RTX 4080 Super | Q4_K_M | fits | 49 tok/s | 3.263 € | 15.1 |
| NVIDIA RTX PRO 4000 Blackwell | MXFP4 | fits | 44 tok/s | 3.339 € | 13.2 |
| GMKtec EVO-X2 Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | 3.850 € | 3.9 |
| NVIDIA GeForce RTX 3090 Ti | MXFP4 | fits | 66 tok/s | 4.284 € | 15.5 |
| Mac Studio M4 Max 64GB | MXFP4 | fits | 38 tok/s | 4.299 € | 8.8 |
| NVIDIA GeForce RTX 4090 | MXFP4 | fits | 66 tok/s | 4.790 € | 13.8 |
| NVIDIA RTX PRO 4500 Blackwell | MXFP4 | fits | 59 tok/s | 4.878 € | 12.1 |
| Mac Studio M4 Max 128GB | MXFP4 | fits | 38 tok/s | 5.499 € | 6.9 |
| Mac Studio M3 Ultra 96GB | MXFP4 | fits | 57 tok/s | 5.999 € | 9.4 |
| NVIDIA GeForce RTX 5090 | MXFP4 | fits | 118 tok/s | 6.888 € | 17.1 |
| ASUS Ascent GX10 128GB | MXFP4 | fits | 18 tok/s | 7.306 € | 2.5 |
| Dell Pro Max with GB10 128GB | MXFP4 | fits | 18 tok/s | 8.063 € | 2.2 |
| NVIDIA RTX PRO 5000 Blackwell 48GB | MXFP4 | fits | 89 tok/s | 8.866 € | 10.0 |
| NVIDIA DGX Spark 128GB | MXFP4 | fits | 18 tok/s | 9.091 € | 2.0 |
| Mac Studio M3 Ultra 256GB | MXFP4 | fits | 57 tok/s | 15.555 € | 3.6 |
| Mac Studio M3 Ultra 512GB | MXFP4 | fits | 57 tok/s | 17.995 € | 3.1 |
| NVIDIA RTX PRO 6000 Blackwell | MXFP4 | fits | 118 tok/s | 18.327 € | 6.4 |
| Framework Desktop Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | – | – |
| Framework Desktop Ryzen AI Max+ 395 64GB | MXFP4 | fits | 15 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 | – | – |
| NVIDIA RTX 6000 Ada Generation | MXFP4 | fits | 63 tok/s | – | – |
| NVIDIA RTX A6000 | MXFP4 | fits | 51 tok/s | – | – |
| Lenovo ThinkStation PGX GB10 128GB | MXFP4 | fits | 18 tok/s | – | – |
| NVIDIA RTX PRO 5000 Blackwell 72GB | MXFP4 | fits | 89 tok/s | – | – |
| AMD Radeon PRO W7900 | MXFP4 | fits | 50 tok/s | – | – |
| Beelink GTR9 Pro Ryzen AI Max+ 395 128GB | MXFP4 | fits | 15 tok/s | – | – |
| Intel Arc B570 | Q4_K_M | offload | 9 tok/s | 282 € | 31.2 |
| NVIDIA GeForce RTX 3060 12GB | Q4_K_M | offload | 13 tok/s | 415 € | 30.8 |
| NVIDIA GeForce RTX 5050 | Q4_K_M | offload | 9 tok/s | 428 € | 19.9 |
| NVIDIA GeForce RTX 5060 | Q4_K_M | offload | 9 tok/s | 469 € | 19.0 |
| Intel Arc B580 | Q4_K_M | offload | 11 tok/s | 498 € | 22.9 |
| NVIDIA GeForce RTX 3080 10GB | Q4_K_M | offload | 12 tok/s | 518 € | 22.8 |
| NVIDIA GeForce RTX 5060 Ti 8GB | Q4_K_M | offload | 9 tok/s | 520 € | 17.1 |
| NVIDIA GeForce RTX 4060 | Q4_K_M | offload | 8 tok/s | 556 € | 14.7 |
| Intel Arc Pro B50 | Q4_K_M | offload | 11 tok/s | 648 € | 16.8 |
| AMD Radeon RX 9060 XT 16GB | Q4_K_M | offload | 19 tok/s | 650 € | 28.5 |
| NVIDIA GeForce RTX 4070 Super | Q4_K_M | offload | 14 tok/s | 700 € | 20.6 |
| Intel Arc A770 16GB | Q4_K_M | offload | 26 tok/s | 787 € | 33.4 |
| AMD Radeon RX 9070 | Q4_K_M | offload | 36 tok/s | 807 € | 44.0 |
| AMD Radeon RX 7600 XT | Q4_K_M | offload | 17 tok/s | 833 € | 20.0 |
| NVIDIA GeForce RTX 4070 | Q4_K_M | offload | 14 tok/s | 843 € | 17.1 |
| NVIDIA GeForce RTX 5070 | Q4_K_M | offload | 16 tok/s | 877 € | 17.8 |
| NVIDIA GeForce RTX 4060 Ti 8GB | Q4_K_M | offload | 8 tok/s | 878 € | 9.5 |
| AMD Radeon RX 9070 XT | Q4_K_M | offload | 36 tok/s | 903 € | 39.3 |
| AMD Radeon RX 7800 XT | Q4_K_M | offload | 35 tok/s | 1.069 € | 32.4 |
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 Germany that runs gpt-oss 20B fully in memory at 128k context is the NVIDIA Tesla P40, 389 € at eBay, at about 23 tok/s (estimated). 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 Germany today?
- The NVIDIA Tesla P40, 389 € used at eBay, in stock: it runs gpt-oss 20B at MXFP4 fully in memory at 128k context, at about 23 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.