gpt-oss-20b Pricing
FastOpenAI · 131K tokens context
gpt-oss-20b from OpenAI costs $0.029 per 1 million input tokens and $0.140 per 1 million output tokens as of June 2026 (live OpenRouter data). The model supports a 131,072-token context window (approximately 98,304 words) with a 8K-token maximum output. A typical 1,000-token request costs $0.0000 in input charges; a 10,000-token request costs $0.0003.
| Input price | $0.029 / 1M tokens |
|---|---|
| Output price | $0.140 / 1M tokens |
| Output / input ratio | 4.8× |
| Context window | 131,072 tokens (~98,304 words) |
| Maximum output | 8,192 tokens |
| Cost per 1K tokens (input) | $0.0000 |
| Tier | Fast |
| Last verified |
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2. 0 license.
Input Price
$0.029
per 1 million tokens
Output Price
$0.140
per 1 million tokens
Context Window
131K tokens
max 8K output
Cost Examples
| Request Type | Tokens | Input Cost | Output Cost |
|---|---|---|---|
| 1,000 word article | 1,333 | $0.0000387 | $0.000056 |
| 10-page document (2,500 words) | 3,333 | $0.0000967 | $0.00014 |
| 1,000 lines of code | 5,000 | $0.000145 | $0.00021 |
| 100K token document | 100,000 | $0.0029 | $0.0042 |
Output cost estimated at 30% of input token count. Use the calculator for exact figures.
Strengths
- ✓Extremely cheap at $0.029/1M input tokens
- ✓Low latency for high-throughput workloads
- ✓Cost-effective at scale
Limitations
- –Less capable than flagship models on complex reasoning
- –Quality and availability can vary by hosting provider
Best Use Cases
Calculate gpt-oss-20b Costs
Use the TokenRate calculator to convert any budget, token count, or text into exact gpt-oss-20b costs — and compare across all models.
Open Calculator →gpt-oss-20b — FAQ
Related Models
Related Guides