Models › gpt-oss

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.

Check it on your rig

Model facts

Parameters20.9B total, 3.6B active (MoE)
Max context131,072 tokens
Attention12 full-attention, 12 sliding-window (128 tokens) layers
Good forChat, Reasoning
Official weightsMXFP4 (official): 12.8 GBReleased with MXFP4 expert weights. Re-quantizing barely shrinks it, so we only list the official format.
Sourceopenai/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.

gpt-oss-20b: memory needed at 8K context, by quant
  1. MXFP4 (official)13.9 GB

Dashed lines mark common card or memory sizes in GB.

Quant4K ctx8K ctx32K ctx128K ctxQuality
MXFP4 (official)13.8 GB13.9 GB14.5 GB16.7 GBOfficial release format

GPUs that run gpt-oss-20b

At 8K context with 32 GB of DDR5 system RAM for offload. Speeds are estimates.

GPUVRAMVerdictQuantSpeed (est.)
GeForce RTX 509032 GBFits on GPUMXFP4 (official)195–240 tok/s
GeForce RTX 508016 GBFits on GPUMXFP4 (official)130–180 tok/s
GeForce RTX 5070 Ti16 GBFits on GPUMXFP4 (official)125–170 tok/s
GeForce RTX 507012 GBPartial offloadMXFP4 (official)45–70 tok/s
GeForce RTX 5060 Ti 16GB16 GBFits on GPUMXFP4 (official)75–110 tok/s
GeForce RTX 5060 Ti 8GB8 GBPartial offloadMXFP4 (official)25–40 tok/s
GeForce RTX 50608 GBPartial offloadMXFP4 (official)25–40 tok/s
GeForce RTX 409024 GBFits on GPUMXFP4 (official)135–185 tok/s
GeForce RTX 4080 Super16 GBFits on GPUMXFP4 (official)110–150 tok/s
GeForce RTX 408016 GBFits on GPUMXFP4 (official)110–150 tok/s
GeForce RTX 4070 Ti Super16 GBFits on GPUMXFP4 (official)105–145 tok/s
GeForce RTX 4070 Ti12 GBPartial offloadMXFP4 (official)40–65 tok/s
GeForce RTX 4070 Super12 GBPartial offloadMXFP4 (official)40–65 tok/s
GeForce RTX 407012 GBPartial offloadMXFP4 (official)40–65 tok/s
GeForce RTX 4060 Ti 16GB16 GBFits on GPUMXFP4 (official)50–75 tok/s
GeForce RTX 4060 Ti 8GB8 GBPartial offloadMXFP4 (official)25–35 tok/s
GeForce RTX 40608 GBPartial offloadMXFP4 (official)20–35 tok/s
GeForce RTX 3090 Ti24 GBFits on GPUMXFP4 (official)135–185 tok/s
GeForce RTX 309024 GBFits on GPUMXFP4 (official)130–175 tok/s
GeForce RTX 3080 Ti12 GBPartial offloadMXFP4 (official)50–75 tok/s
GeForce RTX 3080 10GB10 GBPartial offloadMXFP4 (official)35–55 tok/s
GeForce RTX 30708 GBPartial offloadMXFP4 (official)25–40 tok/s
GeForce RTX 3060 Ti8 GBPartial offloadMXFP4 (official)25–40 tok/s
GeForce RTX 3060 12GB12 GBPartial offloadMXFP4 (official)35–60 tok/s
GeForce RTX 2080 Ti11 GBPartial offloadMXFP4 (official)35–60 tok/s
GeForce RTX 2060 6GB6 GBPartial offloadMXFP4 (official)20–35 tok/s
Radeon RX 9070 XT16 GBFits on GPUMXFP4 (official)85–125 tok/s
Radeon RX 907016 GBFits on GPUMXFP4 (official)85–125 tok/s
Radeon RX 9060 XT 16GB16 GBFits on GPUMXFP4 (official)45–75 tok/s
Radeon RX 7900 XTX24 GBFits on GPUMXFP4 (official)115–165 tok/s
Radeon RX 7900 XT20 GBFits on GPUMXFP4 (official)100–145 tok/s
Radeon RX 7900 GRE16 GBFits on GPUMXFP4 (official)75–115 tok/s
Radeon RX 7800 XT16 GBFits on GPUMXFP4 (official)80–125 tok/s
Radeon RX 7700 XT12 GBPartial offloadMXFP4 (official)35–60 tok/s
Radeon RX 76008 GBPartial offloadMXFP4 (official)20–35 tok/s
Radeon RX 6800 XT16 GBFits on GPUMXFP4 (official)70–110 tok/s
Radeon RX 6700 XT12 GBPartial offloadMXFP4 (official)35–55 tok/s
Arc B58012 GBPartial offloadMXFP4 (official)35–55 tok/s
Arc A770 16GB16 GBFits on GPUMXFP4 (official)65–105 tok/s

Macs and unified-memory PCs

The smallest memory configuration that holds it fully at 8K context.

ChipMemory neededQuantSpeed (est.)
Apple M1Won't fit——
Apple M1 Pro32 GBMXFP4 (official)25–55 tok/s
Apple M1 Max32 GBMXFP4 (official)50–95 tok/s
Apple M1 Ultra64 GBMXFP4 (official)90–155 tok/s
Apple M224 GBMXFP4 (official)14–30 tok/s
Apple M2 Pro32 GBMXFP4 (official)25–55 tok/s
Apple M2 Max32 GBMXFP4 (official)50–95 tok/s
Apple M2 Ultra64 GBMXFP4 (official)90–155 tok/s
Apple M324 GBMXFP4 (official)14–30 tok/s
Apple M3 Pro36 GBMXFP4 (official)20–40 tok/s
Apple M3 Max (40-core GPU)48 GBMXFP4 (official)50–95 tok/s
Apple M3 Ultra96 GBMXFP4 (official)90–155 tok/s
Apple M424 GBMXFP4 (official)16–35 tok/s
Apple M4 Pro24 GBMXFP4 (official)35–70 tok/s
Apple M4 Max (16-core CPU)48 GBMXFP4 (official)65–120 tok/s
Apple M524 GBMXFP4 (official)20–40 tok/s
AMD Ryzen AI Max+ 39564 GBMXFP4 (official)40–60 tok/s
NVIDIA DGX Spark128 GBMXFP4 (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.