OpenAI model
gpt-oss-20b API cost calculator
gpt-oss-20b costs $0.03 per 1M input tokens and $0.13 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 $3.75/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.05 |
| RAG query with context | 4,000 / 500 | $0.0002 | $0.18 |
| Document summarization | 20,000 / 1,000 | $0.0007 | $0.73 |
| Agent coding session | 100,000 / 5,000 | $0.0037 | $3.65 |
gpt-oss-20b vs other OpenAI models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| gpt-oss-20b | $0.03 | $0.13 | 131K |
| GPT-5.6 Luna Pro | $0.20 | $1.20 | 1.1M |
| GPT-5.6 Luna | $0.20 | $1.20 | 1.1M |
| GPT-5.6 Terra Pro | $2 | $12 | 1.1M |
| GPT-5.6 Terra | $2 | $12 | 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.03 per 1M input tokens and $0.13 per 1M output tokens. Processing 1M tokens each way costs $0.16.
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.13 daily, or about $3.75 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.03 per 1M — a 0% discount versus the standard input rate, which matters for agents and chat apps that resend the same system prompt.
What is a cheaper alternative to gpt-oss-20b?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.03 for gpt-oss-20b — roughly 3x cheaper on input.
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, see gpt-oss-20b vs Ling-2.6-flash pricing, 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.