OpenAI · 20.9B (3.6B active)
Can I run gpt-oss-20b locally?
gpt-oss-20b needs about 13.9 GB at MXFP4 (official) with 8K context, so it fits fully on a 16 GB GPU.
Model facts
| Parameters | 20.9B total, 3.6B active (MoE) |
|---|---|
| Max context | 131,072 tokens |
| Attention | 12 full-attention, 12 sliding-window (128 tokens) layers |
| Good for | Chat, Reasoning |
| Official weights | MXFP4 (official): 12.8 GBReleased with MXFP4 expert weights. Re-quantizing barely shrinks it, so we only list the official format. |
| Source | openai/gpt-oss-20b |
Quick answer
Smallest GPU that holds it fully: 16 GB (MXFP4 (official), 8K context)
Consumer GPUs that fit it fully: 20 of 39
With partial offload (32 GB RAM): 19 more
Fitting fully is what you want: offloading works, but generation speed drops to what your system RAM can deliver.
Memory needed by quant and context
Total estimate: weights + KV cache (FP16) + runtime buffer. Pick a row whose number is below your VRAM (or about 2/3 of a Mac's memory). To try another quant, context length or KV cache precision, open gpt-oss-20b in the VRAM calculator.
- MXFP4 (official)13.9 GB
Dashed lines mark common card or memory sizes in GB.
| Quant | 4K ctx | 8K ctx | 32K ctx | 128K ctx |
|---|---|---|---|---|
| MXFP4 (official) | 13.8 GB | 13.9 GB | 14.5 GB | 16.7 GB |
GPUs that run gpt-oss-20b
At 8K context with 32 GB of DDR5 system RAM for offload. Speeds are estimates.
| GPU | VRAM | Verdict | Quant | Speed (est.) |
|---|---|---|---|---|
| GeForce RTX 5090 | 32 GB | Fits on GPU | MXFP4 (official) | 195–240 tok/s |
| GeForce RTX 5080 | 16 GB | Fits on GPU | MXFP4 (official) | 130–180 tok/s |
| GeForce RTX 5070 Ti | 16 GB | Fits on GPU | MXFP4 (official) | 125–170 tok/s |
| GeForce RTX 5070 | 12 GB | Partial offload | MXFP4 (official) | 45–70 tok/s |
| GeForce RTX 5060 Ti 16GB | 16 GB | Fits on GPU | MXFP4 (official) | 75–110 tok/s |
| GeForce RTX 5060 Ti 8GB | 8 GB | Partial offload | MXFP4 (official) | 25–40 tok/s |
| GeForce RTX 5060 | 8 GB | Partial offload | MXFP4 (official) | 25–40 tok/s |
| GeForce RTX 4090 | 24 GB | Fits on GPU | MXFP4 (official) | 135–185 tok/s |
| GeForce RTX 4080 Super | 16 GB | Fits on GPU | MXFP4 (official) | 110–150 tok/s |
| GeForce RTX 4080 | 16 GB | Fits on GPU | MXFP4 (official) | 110–150 tok/s |
| GeForce RTX 4070 Ti Super | 16 GB | Fits on GPU | MXFP4 (official) | 105–145 tok/s |
| GeForce RTX 4070 Ti | 12 GB | Partial offload | MXFP4 (official) | 40–65 tok/s |
| GeForce RTX 4070 Super | 12 GB | Partial offload | MXFP4 (official) | 40–65 tok/s |
| GeForce RTX 4070 | 12 GB | Partial offload | MXFP4 (official) | 40–65 tok/s |
| GeForce RTX 4060 Ti 16GB | 16 GB | Fits on GPU | MXFP4 (official) | 50–75 tok/s |
| GeForce RTX 4060 Ti 8GB | 8 GB | Partial offload | MXFP4 (official) | 25–35 tok/s |
| GeForce RTX 4060 | 8 GB | Partial offload | MXFP4 (official) | 20–35 tok/s |
| GeForce RTX 3090 Ti | 24 GB | Fits on GPU | MXFP4 (official) | 135–185 tok/s |
| GeForce RTX 3090 | 24 GB | Fits on GPU | MXFP4 (official) | 130–175 tok/s |
| GeForce RTX 3080 Ti | 12 GB | Partial offload | MXFP4 (official) | 50–75 tok/s |
| GeForce RTX 3080 10GB | 10 GB | Partial offload | MXFP4 (official) | 35–55 tok/s |
| GeForce RTX 3070 | 8 GB | Partial offload | MXFP4 (official) | 25–40 tok/s |
| GeForce RTX 3060 Ti | 8 GB | Partial offload | MXFP4 (official) | 25–40 tok/s |
| GeForce RTX 3060 12GB | 12 GB | Partial offload | MXFP4 (official) | 35–60 tok/s |
| GeForce RTX 2080 Ti | 11 GB | Partial offload | MXFP4 (official) | 35–60 tok/s |
| GeForce RTX 2060 6GB | 6 GB | Partial offload | MXFP4 (official) | 20–35 tok/s |
| Radeon RX 9070 XT | 16 GB | Fits on GPU | MXFP4 (official) | 85–125 tok/s |
| Radeon RX 9070 | 16 GB | Fits on GPU | MXFP4 (official) | 85–125 tok/s |
| Radeon RX 9060 XT 16GB | 16 GB | Fits on GPU | MXFP4 (official) | 45–75 tok/s |
| Radeon RX 7900 XTX | 24 GB | Fits on GPU | MXFP4 (official) | 115–165 tok/s |
| Radeon RX 7900 XT | 20 GB | Fits on GPU | MXFP4 (official) | 100–145 tok/s |
| Radeon RX 7900 GRE | 16 GB | Fits on GPU | MXFP4 (official) | 75–115 tok/s |
| Radeon RX 7800 XT | 16 GB | Fits on GPU | MXFP4 (official) | 80–125 tok/s |
| Radeon RX 7700 XT | 12 GB | Partial offload | MXFP4 (official) | 35–60 tok/s |
| Radeon RX 7600 | 8 GB | Partial offload | MXFP4 (official) | 20–35 tok/s |
| Radeon RX 6800 XT | 16 GB | Fits on GPU | MXFP4 (official) | 70–110 tok/s |
| Radeon RX 6700 XT | 12 GB | Partial offload | MXFP4 (official) | 35–55 tok/s |
| Arc B580 | 12 GB | Partial offload | MXFP4 (official) | 35–55 tok/s |
| Arc A770 16GB | 16 GB | Fits on GPU | MXFP4 (official) | 65–105 tok/s |
Macs and unified-memory PCs
The smallest memory configuration that holds it fully at 8K context.
| Chip | Memory needed | Quant | Speed (est.) |
|---|---|---|---|
| Apple M1 | Won't fit | — | — |
| Apple M1 Pro | 32 GB | MXFP4 (official) | 25–55 tok/s |
| Apple M1 Max | 32 GB | MXFP4 (official) | 50–95 tok/s |
| Apple M1 Ultra | 64 GB | MXFP4 (official) | 90–155 tok/s |
| Apple M2 | 24 GB | MXFP4 (official) | 14–30 tok/s |
| Apple M2 Pro | 32 GB | MXFP4 (official) | 25–55 tok/s |
| Apple M2 Max | 32 GB | MXFP4 (official) | 50–95 tok/s |
| Apple M2 Ultra | 64 GB | MXFP4 (official) | 90–155 tok/s |
| Apple M3 | 24 GB | MXFP4 (official) | 14–30 tok/s |
| Apple M3 Pro | 36 GB | MXFP4 (official) | 20–40 tok/s |
| Apple M3 Max (40-core GPU) | 48 GB | MXFP4 (official) | 50–95 tok/s |
| Apple M3 Ultra | 96 GB | MXFP4 (official) | 90–155 tok/s |
| Apple M4 | 24 GB | MXFP4 (official) | 16–35 tok/s |
| Apple M4 Pro | 24 GB | MXFP4 (official) | 35–70 tok/s |
| Apple M4 Max (16-core CPU) | 48 GB | MXFP4 (official) | 65–120 tok/s |
| Apple M5 | 24 GB | MXFP4 (official) | 20–40 tok/s |
| AMD Ryzen AI Max+ 395 | 64 GB | MXFP4 (official) | 40–60 tok/s |
| NVIDIA DGX Spark | 128 GB | MXFP4 (official) | 50–75 tok/s |
Parameter count and architecture come from the model's Hugging Face page and config.json. Memory and speed are calculated; see methodology.