GPT OSS 20B
Summary
GPT OSS 20B is an open-weight language model from OpenAI, released on 5 Aug 2025. It accepts text and generates text, with a 131K-token context window and up to 16K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.02 per million input tokens and $0.09 per million output tokens (OpenRouter), across 10 providers we track.
Open-weight GPT model for self-hosted reasoning and instruction-following workloads
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | OpenAI |
|---|---|
| Release date | 5 Aug 2025 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [Hugging Face] |
| License | apache-2.0 [Hugging Face] |
| Parameters | 20.9B [Hugging Face] |
| Context window | 131K (131,072 tokens) [models.dev] |
| Max output | 16K tokens [models.dev] |
| Knowledge cutoff | Jun 2024 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | Yes [models.dev] |
| Tool calling | Yes [models.dev] |
| Structured output | Yes [models.dev] |
| Hugging Face | openai/gpt-oss-20b [Hugging Face] |
GPT OSS 20B API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| NVIDIA NIM openai/gpt-oss-20b | Free | Free | – | 131K | models.dev, 4 Oct 2026 |
| OpenRouter openai/gpt-oss-20b | $0.02 | $0.09 | $0.009 | 131K | OpenRouter, 4 Oct 2026 |
| DeepInfra openai/gpt-oss-20b | $0.03 | $0.14 | – | 131K | models.dev, 4 Oct 2026 |
| Vercel AI Gateway openai/gpt-oss-20b | $0.03 | $0.14 | – | 131K | models.dev, 4 Oct 2026 |
| Novita AI openai/gpt-oss-20b | $0.04 | $0.15 | – | 131K | models.dev, 4 Oct 2026 |
| SiliconFlow openai/gpt-oss-20b | $0.04 | $0.18 | – | 131K | models.dev, 4 Oct 2026 |
| Amazon Bedrock openai.gpt-oss-20b-1:0 | $0.07 | $0.30 | – | 131K | models.dev, 4 Oct 2026 |
| Amazon Bedrock openai.gpt-oss-20b | $0.07 | $0.30 | – | 131K | models.dev, 4 Oct 2026 |
| Groq openai/gpt-oss-20b | $0.07 | $0.30 | $0.04 | 131K | models.dev, 4 Oct 2026 |
| Amazon Bedrock us-gov.openai.gpt-oss-20b-1:0 | $0.08 | $0.36 | – | 128K | models.dev, 4 Oct 2026 |
| Hugging Face Inference Providers openai/gpt-oss-20b | $0.10 | $0.50 | – | 131K | models.dev, 4 Oct 2026 |
| Cloudflare Workers AI @cf/openai/gpt-oss-20b | $0.20 | $0.30 | – | 128K | models.dev, 4 Oct 2026 |
Frequently asked questions
What is the context window of GPT OSS 20B?
GPT OSS 20B has a context window of 131,072 tokens (131K) and can generate up to 16,384 tokens in a single response, according to models.dev.
How much does the GPT OSS 20B API cost?
GPT OSS 20B is listed from $0.02 per million input tokens and $0.09 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.
Is GPT OSS 20B open source?
GPT OSS 20B is an open-weight model: its weights are published on Hugging Face as openai/gpt-oss-20b under the apache-2.0 license. Check the license terms before commercial use.
When was GPT OSS 20B released?
OpenAI released GPT OSS 20B on 5 Aug 2025, according to models.dev.
Which providers offer GPT OSS 20B?
We track GPT OSS 20B on 10 providers: NVIDIA NIM, OpenRouter, DeepInfra, Vercel AI Gateway, Novita AI, SiliconFlow, Amazon Bedrock, Groq, Hugging Face Inference Providers, Cloudflare Workers AI.
Change history
No changes detected since we started tracking this model. We re-check every source daily.
Sources
- https://openrouter.ai/openai/gpt-oss-20b
- https://github.com/sst/models.dev/blob/dev/providers/deepinfra/models/openai/gpt-oss-20b.toml
- https://huggingface.co/openai/gpt-oss-20b
- https://github.com/sst/models.dev/blob/dev/providers/nvidia/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/siliconflow/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/amazon-bedrock/models/openai.gpt-oss-20b-1:0.toml
- https://github.com/sst/models.dev/blob/dev/providers/amazon-bedrock/models/openai.gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/groq/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/amazon-bedrock/models/us-gov.openai.gpt-oss-20b-1:0.toml
- https://github.com/sst/models.dev/blob/dev/providers/huggingface/models/openai/gpt-oss-20b.toml
- https://github.com/sst/models.dev/blob/dev/providers/cloudflare-workers-ai/models/@cf/openai/gpt-oss-20b.toml