gpt-oss-20b Pricing
FastOpenAI · 131K tokens context
gpt-oss-20b from OpenAI costs $0.018 per 1 million input tokens and $0.090 per 1 million output tokens as of October 2026 (live OpenRouter data). The model supports a 131,072-token context window (approximately 98,304 words) with a 33K-token maximum output. A typical 1,000-token request costs $0.0000 in input charges; a 10,000-token request costs $0.0002.
| Input price | $0.018 / 1M tokens |
|---|---|
| Output price | $0.090 / 1M tokens |
| Output / input ratio | 5.0× |
| Context window | 131,072 tokens (~98,304 words) |
| Maximum output | 32,768 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.018
per 1 million tokens
Output Price
$0.090
per 1 million tokens
Context Window
131K tokens
max 33K output
Cost Examples
| Request Type | Tokens | Input Cost | Output Cost |
|---|---|---|---|
| 1,000 word article | 1,333 | $0.000024 | $0.000036 |
| 10-page document (2,500 words) | 3,333 | $0.00006 | $0.00009 |
| 1,000 lines of code | 5,000 | $0.00009 | $0.000135 |
| 100K token document | 100,000 | $0.0018 | $0.0027 |
Output cost estimated at 30% of input token count. Use the calculator for exact figures.
Strengths
- ✓Extremely cheap at $0.018/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