OpenAI
gpt-oss-20b pricing and cost calculator
gpt-oss-20b from OpenAI costs $0.03 per million input tokens and $0.13 per million output tokens, with a context window of 131,072 tokens. It was released on Aug 5, 2025. Cached input tokens are billed at $0.03 per million.
- Input price
- $0.03
- Output price
- $0.13
- Context window
- 131,072
- Released
- Aug 5, 2025
Token cost calculator
| Model | Per request | Per day | Per month (30 days) |
|---|---|---|---|
| gpt-oss-20b | $0.0001 | $0.095 | $2.85 |
| Gemma 3 4B | $0.00007 | $0.065 | $1.95 |
Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.
Price and specs
| Input price | $0.03 / 1M |
|---|---|
| Output price | $0.13 / 1M |
| Cached input | $0.03 / 1M |
| Context window | 131,072 |
| Max output | 117,964 |
| Accepts | text |
| Produces | text |
| Reasoning mode | Yes |
| Tool / function calling | Yes |
| Structured (JSON) output | Yes |
| Open weights | Yes |
| Released | Aug 5, 2025 |
What typical workloads cost
| 1,000 chat replies (1,000 input + 500 output tokens each) | $0.095 |
|---|---|
| Summarise a 100-page document (≈50,000 input + 1,000 output tokens) | $0.0016 |
| 1 million input + 1 million output tokens | $0.16 |
Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.
Cheaper models with at least the same context window
- Gemma 3 4B$0.04 / $0.05
- Mistral Nemo$0.029 / $0.03
Similarly priced models from other providers
- Qwen3.7 Flash$0.03 / $0.13
- Mistral Small 3$0.05 / $0.08
- Llama 3.1 8B Instruct$0.05 / $0.08
- Nova Micro 1.0$0.035 / $0.14
- Hy4 flash$0.035 / $0.141
- Command R7B (12-2024)$0.038 / $0.15
More OpenAI models
- GPT-6.2 Astra$8 / $40
- GPT-6.2 Astra Pro$8 / $40
- GPT-6.2 Sol$2 / $10
- GPT-6.2 Sol Pro$2 / $10
- GPT-6.1 Terra$1 / $5
- GPT-6.1 Terra Pro$1 / $5
- GPT-6.1 Sol$2 / $10
- GPT-6.1 Sol Pro$2 / $10
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 FAQ
- How much does gpt-oss-20b cost?
- gpt-oss-20b costs $0.03 per 1M input tokens and $0.13 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $0.095.
- What is the context window of gpt-oss-20b?
- gpt-oss-20b accepts up to 131,072 tokens of context and can return up to 117,964 tokens in one response.
- Can gpt-oss-20b read images?
- No. gpt-oss-20b accepts text as input.
- What is a cheaper alternative to gpt-oss-20b?
- Cheaper models with at least the same context window include Gemma 3 4B, Mistral Nemo.