GPT OSS 20B
by OpenAI · Aug 5, 2025
GPT OSS 20B is an open-weight reasoning llm from OpenAI, released Aug 5, 2025. It has 21B parameters and a 128K-token context window. API pricing starts at $0.075 per million input tokens and $0.3 per million output tokens. It is available from 44 API providers. It scores 134.9 on the Epoch Capabilities Index.
- Provider
- OpenAI
- Released
- Aug 5, 2025
- Type
- Reasoning LLM
- Parameters
- 21B
- Context window
- 131,072 tokens
- Max output
- 65,536 tokens
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- apache-2.0
- Knowledge cutoff
- Jun 2024
- Status
- Available via API
- Training compute
- 5.5e+23 FLOP
- HF downloads (30d)
- 5.6M
About GPT OSS 20B
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...
GPT OSS 20B benchmarks
All benchmarks →- Epoch Capabilities Index134.9
- GPQA Diamond60.8%
- Terminal-Bench3.4%
- OTIS Mock AIME65.3%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
Where to run GPT OSS 20B — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| LMStudio | Free | Free | — | 128K |
| Nvidia | Free | Free | — | 128K |
| Deep Infra | $0.03 | $0.14 | $0.015 | 128K |
| CoreWeave | $0.03 | $0.13 | $0.03 | 128K |
| Vercel AI Gateway | $0.03 | $0.14 | — | 128K |
| DevPass (LLM Gateway) | $0.04 | $0.19 | $0.01 | 128K |
| SiliconFlow | $0.04 | $0.18 | — | 131K |
| Cortecs | $0.045 | $0.167 | — | 131K |
| DigitalOcean | $0.05 | $0.45 | $0.01 | 125K |
| OVHcloud AI Endpoints | $0.05 | $0.18 | — | 128K |
| Helicone | $0.05 | $0.2 | — | 128K |
| Ollama Cloud | $0.07 | $0.3 | $0.035 | 128K |
| Databricks | $0.07 | $0.3 | — | 128K |
| Amazon Bedrock | $0.07 | $0.3 | — | 128K |
| OCI Generative AI | $0.07 | $0.3 | — | 125K |
| OpenRouter | $0.075 | $0.3 | $0.037 | 128K |
| Groq | $0.075 | $0.3 | $0.037 | 128K |
| Hugging Face | $0.1 | $0.5 | — | 128K |
| STACKIT | $0.18 | $0.29 | — | 128K |
| Cloudflare Workers AI | $0.2 | $0.3 | — | 125K |
| InferAll | Free | Free | — | 128K |
| QVAC | Free | Free | — | 128K |
| Eden AI | $0.009 | $0.045 | $0.0045 | 128K |
| SOKKAN Router | $0.015 | $0.075 | $0.008 | 64K |
| Kilo Gateway | $0.017 | $0.085 | $0.0085 | 128K |
+ 19 more providers.
Open weights: you can also run GPT OSS 20B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.
GPT OSS 20B vs alternatives
- GPT OSS 20B vs Qwen3 30B A3B
- GPT OSS 20B vs Qwen3 8B
- GPT OSS 20B vs Gemma 3 27B IT
- GPT OSS 20B vs GPT-5 Nano
- GPT OSS 20B vs GPT OSS 120B
- GPT OSS 20B vs Gemma 4 26B A4B IT
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen3 30B A3Bopen | Alibaba (Qwen) | Apr 2025 | 31B (3B act.) | 40K | $0.12 | $0.5 | 134.2 |
| Qwen3 8Bopen | Alibaba (Qwen) | Apr 2025 | 8.2B | 128K | $0.18 | $0.7 | 132.1 |
| Gemma 3 27B ITopen | Google DeepMind | Mar 2025 | 27B | 128K | $0.08 | $0.45 | 127.6 |
| GPT-5 Nano | OpenAI | Aug 2025 | — | 400K | $0.05 | $0.4 | 139.1 |
| GPT OSS 120Bopen | OpenAI | Aug 2025 | 117B | 128K | $0.09 | $0.36 | 140.2 |
| Gemma 4 26B A4B ITopen | Google DeepMind | Apr 2026 | 26B (4B act.) | 256K | Free | Free | 141.6 |
| Claude Haiku 4.5 (latest) | Anthropic | Oct 2025 | — | 200K | $1 | $5 | 142.7 |
| Mistral Small 3.2 24Bopen | Mistral AI | Jun 2025 | 24B | 250K | $0.075 | $0.2 | — |
More models from OpenAI
All OpenAI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GPT OSS 120Bopen | Aug 2025 | 117B | 128K | $0.09 | $0.36 |
| GPT-6 Astra | Sep 2026 | — | 1.1M | $10 | $50 |
| GPT-6.1 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT-5.6 Sol | Jul 2026 | — | 1.1M | $4 | $20 |
| GPT-6.2 Astra | Nov 2026 | — | 1.1M | $8 | $40 |
| GPT-6 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT-5.6 Terra | Jul 2026 | — | 1.1M | $2 | $12 |
| GPT-6.1 Terra | Oct 2026 | — | 1.1M | $1 | $5 |
Frequently asked questions
Who made GPT OSS 20B?
GPT OSS 20B was developed by OpenAI (United States of America). It was released on Aug 5, 2025.
What is the context window of GPT OSS 20B?
GPT OSS 20B supports a context window of 131,072 tokens (128K) and can generate up to 65,536 output tokens per response.
How much does GPT OSS 20B cost?
GPT OSS 20B costs $0.075 per 1M input tokens and $0.3 per 1M output tokens, with cached input at $0.037 per 1M. Prices vary across the 44 providers that serve it.
Is GPT OSS 20B open source?
Yes. GPT OSS 20B's weights are publicly available under the apache-2.0 license on Hugging Face (openai/gpt-oss-20b), so you can download and run it yourself.
How many parameters does GPT OSS 20B have?
GPT OSS 20B has 21B parameters.
How does GPT OSS 20B perform on benchmarks?
GPT OSS 20B scores 60.8% on GPQA Diamond, 65.3% on OTIS Mock AIME and 3.4% on Terminal-Bench.
Where can I use GPT OSS 20B?
GPT OSS 20B is available via 44 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.
Sources: epoch, huggingface, models.dev, openrouter · paper · huggingface · openrouter. Last updated 2026-11-22.