OpenAI model
gpt-oss-20b API cost calculator
gpt-oss-20b costs $0.02 per 1M input tokens and $0.09 per 1M output tokens on the OpenAI API, with a 131K-token context window. A typical request (2K input, 500 output tokens) costs <$0.0001 — about $2.43/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on gpt-oss-20b
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | <$0.0001 | $0.04 |
| RAG query with context | 4,000 / 500 | $0.0001 | $0.12 |
| Document summarization | 20,000 / 1,000 | $0.0004 | $0.45 |
| Agent coding session | 100,000 / 5,000 | $0.0022 | $2.25 |
gpt-oss-20b vs other OpenAI models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| gpt-oss-20b | $0.02 | $0.09 | 131K |
| GPT-6.1 Terra Pro | $1 | $5 | 1.1M |
| GPT-6.1 Terra | $1 | $5 | 1.1M |
| GPT-6.1 Sol Pro | $2 | $10 | 1.1M |
| GPT-6.1 Sol | $2 | $10 | 1.1M |
Frequently asked questions
How much does gpt-oss-20b cost per 1M tokens?
According to current pricing data, gpt-oss-20b costs $0.02 per 1M input tokens and $0.09 per 1M output tokens. Processing 1M tokens each way costs $0.11.
What does a typical API request to gpt-oss-20b cost?
A typical request with 2,000 input tokens and 500 output tokens costs <$0.0001. At 1,000 requests per day that is $0.08 daily, or about $2.43 per month.
What is gpt-oss-20b's context window?
gpt-oss-20b supports a 131K-token context window (131,072 tokens).
Does gpt-oss-20b support prompt caching?
Yes. Cached input tokens cost $0.01 per 1M — a 50% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
Prices may differ from OpenAI's official pricing page for batch, tiered, or fine-tuned usage. Compare all current prices on the live model pricing dashboard, or run gpt-oss-20b head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.