LLM token cost calculator
gpt-oss-20b Cost Calculator
Estimate what gpt-oss-20b by OpenAI will cost each month. It is priced at $0.17 per 1M input tokens and $0.36 per 1M output tokens, with a 131K-token context window. Pick a workload, then tune requests and tokens to match your app.
API calls your app makes — one chat turn, document or task each.
System prompt + user message + history + retrieved context.
Length of the generated answer (≈ 750 words per 1,000 tokens).
Estimated monthly bill
$40/mo
Per 1K requests
$0.40
Per year
$479
Input cost
$26
Output cost
$14
64% input · 36% output · 150M in + 40M out tokens
gpt-oss-20b cost as traffic grows
Token pricing is linear: doubling requests doubles the bill. The chart compares gpt-oss-20b with similarly priced models at the same prompt and answer size.
- gpt-oss-20b
- Ministral 3 14B 2512
- Nemotron 3.5 Content Safety
- Qwen3 30B A3B
At 1,000,000 requests a month, gpt-oss-20b would cost about $399/month with the same token sizes.
Same workload on other models
gpt-oss-20b ranks #72 on price among similar models for this workload. Mistral Nemo would cost $5.55/month.
- Mistral NemoMistral AI−86%$5.55/mo
- Ling 3.0 FlashinclusionAI−86%$5.67/mo
- Ministral 3 14B 2512Mistral AI−5%$38/mo
- Nemotron 3.5 Content SafetyNVIDIA−5%$38/mo
- Qwen3 30B A3BQwen−5%$38/mo
- gpt-oss-safeguard-20bOpenAI+0%$40/mo
- Nemotron 3.5 Super VLNVIDIA+4%$41/mo
- Qwen3.8 FlashQwen+4%$41/mo
How gpt-oss-20b pricing works
gpt-oss-20b bills per token, the small chunks of text the model reads and writes. Everything you send — system prompt, conversation history, retrieved documents and the user's message — is input at $0.17 per million tokens. Everything the model writes back is output at $0.36 per million.
monthly cost = requests × (input tokens × $0.17 + output tokens × $0.36) ÷ 1,000,000
For long-context apps such as RAG and agents, input tokens usually dominate because the same context is resent on each call. Chat and writing apps lean on output. Use the split bar above to see which side drives your bill, then shorten that side first.
Estimates exclude taxes, cached-input and batch discounts, image or audio tokens, and tool fees. Check the gpt-oss-20b pricing page for every meter and the official price list.
gpt-oss-20b cost calculator FAQ
How much does gpt-oss-20b cost per month?+
It depends on traffic and prompt size. gpt-oss-20b costs $0.17 per 1M input tokens and $0.36 per 1M output tokens. A support chatbot with 100,000 requests of 1,500 input and 400 output tokens costs about $40/month.
How is gpt-oss-20b API cost calculated?+
Monthly cost = (requests × input tokens ÷ 1,000,000 × input price) + (requests × output tokens ÷ 1,000,000 × output price). Taxes, cached-input discounts, batch discounts and tool-call fees are not included.
What is a token for gpt-oss-20b?+
A token is a chunk of text, roughly 4 characters or ¾ of an English word. 1,000 tokens is about 750 words. Prompts, system instructions, retrieved documents and chat history all count as input tokens.
Why are gpt-oss-20b output tokens more expensive?+
Generating text is more compute-intensive than reading it, so OpenAI charges $0.36 per 1M output tokens versus $0.17 for input. Keeping answers short is usually the fastest way to cut the bill.
How big can a gpt-oss-20b prompt be?+
gpt-oss-20b has a context window of 131K tokens, which covers the prompt plus the generated answer.
How can I lower my gpt-oss-20b bill?+
Trim system prompts and chat history, cap output length, cache repeated context where the provider supports it, use batch processing for non-urgent jobs, and route simple requests to a cheaper model. The comparison on this page shows the same workload on alternatives.
