GPT OSS 20B
- In Input modalities: Text Out Output modalities: Text
- Reasoning· low, medium, high
- Tool use
- Structured output
- Open weights
Prices
1 offering · prices as listed@cf/openai/gpt-oss-20b| Conditions/ 1M tokens | Input | Output |
|---|---|---|
| Standard | $0.20 | $0.30 |
Prices from Cloudflare Workers AI pricing (opens in a new tab) (checked Oct 31, 2026)
Standard: the price a request with no conditions pays (the headline price elsewhere on the site).
Details
- Knowledge cutoff
- Jun 2024
- Licence
- apache-2.0
- Family
- gpt-oss
- Model ID
Not stated on OpenAI’s pages: max input, reasoning can be off, max thinking budget, aliases.
Run locally
Weights: openai/gpt-oss-20b- Parameters 20.9B
- Active 3.6B · 32 experts, 4 per token
- Native precision MXFP4
- Layers 24
- KV cache per token 48 KB
- Config positions 128K (config.json max_position_embeddings)
- API context 128K (maker’s API)
- Needs
- ≈ 13.6 GB (weights 12.8 (maker’s file) + KV cache 0.2 + overhead 0.6)
- Usable
- 21.6 GB (90% of its memory)
- Generation speed
- 196–294 tok/s (reads the active 3.6B per token)
- Longest context
- 128K (the model’s limit)
- First token
- about 0.12–0.17 s for a 2K prompt
| Precision | Weights | Needs at 8K | On your hardware | Longest context |
|---|---|---|---|---|
| MXFP4 (native)maker’s file | 12.8 GB | ≈ 13.6 | ●Runs well 196–294 tok/s | 128K |
| Q3_K_Mquality drops | 9.5 GB | ≈ 10.2 | ●Runs well 257–385 tok/s | 128K |
| IQ3_XXSquality drops | 7.5 GB | ≈ 8.1 | ●Runs well 319–478 tok/s | 128K |
| Q2_Kquality drops | 7.3 GB | ≈ 8.0 | ●Runs well 324–486 tok/s | 128K |
| IQ2_XXSquality drops | 5.0 GB | ≈ 5.7 | ●Runs well 445–668 tok/s | 128K |
Click a row to choose a precision. “Maker’s file” sizes are the maker’s own files; others are parameters × bits per weight.
Compared with other hardware
Each at the highest precision it runs. Click one for details.
Smallest that runs it (MXFP4 (native), 8K): GPU GeForce RTX 5080; unified memory Apple M5 Pro (16-core GPU) · 24 GB.
Run commands
vllm serve openai/gpt-oss-20b --max-model-len 8192
Memory to fine-tune
Batch 1, 2,048-token sequences, gradient checkpointing; LoRA and QLoRA train rank-16 adapters on the attention projections.
Estimates; facts from the maker’s Hugging Face repositories, as of 2026-11-06. How it’s estimated
Cited scores
From third-party leaderboards, not measured by us- Epoch Capabilities Index 135
#107 of 118 listed models · CI 132.4–137.5
- LMArena Text 1,317
#144 of 163 listed models · CI 1,311–1,324 · 10,416 votes
- Epoch AI · GPQA Diamond 60.8%
#110 of 168 listed models · medium effort · ±2.49
Also listed: low effort 53.2% · high effort 46%
- Epoch AI · OTIS Mock AIME 2024–2025 65.3%
#98 of 159 listed models · medium effort · ±5.93
Also listed: high effort 50.8% · low effort 40.3%
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · License · as of Nov 4 – 5, 2026
- LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · License · as of Oct 28, 2026
- EQ-Bench by Samuel J. Paech (eqbench.com; EQ-bench/EQ-bench-site on GitHub), MIT License. · License · as of Oct 28, 2026
- changes we made
Changes
All changes →- Now priced on Cloudflare Workers AI Input $0.20 · Output $0.30
Sources
- gpt-oss-20b (opens in a new tab) developers.openai.com · checked Nov 1, 2026
- Introducing gpt-oss | OpenAI (opens in a new tab) openai.com · checked Oct 9, 2026
- gpt-oss-120b & gpt-oss-20b Model Card | OpenAI (opens in a new tab) openai.com · checked Oct 9, 2026
- GPT OSS 20B model (opens in a new tab) developers.openai.com · checked Oct 31, 2026
- Cloudflare Workers AI pricing (opens in a new tab) developers.cloudflare.com · checked Oct 31, 2026
- gpt-oss-120b & gpt-oss-20b Model Card | OpenAI (opens in a new tab) openai.com · checked Oct 12, 2026
- openai/gpt-oss-20b model card (opens in a new tab) huggingface.co · checked Nov 2, 2026
- openai/gpt-oss-20b config.json (opens in a new tab) huggingface.co · checked Nov 4, 2026
- openai/gpt-oss-20b files (opens in a new tab) huggingface.co · checked Oct 30, 2026
- openai/gpt-oss-20b README.md (opens in a new tab) huggingface.co · checked Nov 2, 2026
- openai/gpt-oss-20b model card (opens in a new tab) huggingface.co · checked Nov 2, 2026
OpenAI’s official policies: data use, privacy, terms →
OpenAI · United States · openai.com
Related models
Snapshots, the same family and other models from this provider