LLMCost
openai

OpenAI: gpt-oss-20b API Pricing

OpenAI: gpt-oss-20b costs $0.018 per 1M input tokens and $0.090 per 1M output tokens (cache reads: $0.0090). Context window: 131K. Prices verified 2026-10-21 · source

🔔 Price alerts coming soon
Price history
2026-08-23 → 2026-10-21 · 59 daily snapshots
inputoutputinput -40% over windowoutput -30.8%

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Community adoption
5.9M
HF downloads
5K
Likes

High adoption means battle-tested weights, more fine-tunes/quants, and faster bug fixes. View on HuggingFace →

Pricing behavior
2 price changes in the last 59 daily snapshots
Last move (2026-09-23): input -40%
Net input drift: -40% since 2026-08-23

From our own daily snapshot archive — independent of provider announcements.

Intelligence & capability
via Artificial Analysis
10
Intelligence index · top 77% of 288 scored
$0.036
Blended $/1M (3:1 in:out)

Intelligence measures reasoning/knowledge/coding benchmarks. A high score with a low blended price = value pick; check the value chart to see where this model lands.

Input / 1M tokens
$0.018
Output / 1M tokens
$0.090
Context window
131K
Max output
33K

Token economics

Token typePricevs base input
Standard input$0.018—
Cache read$0.0090−50%
Output$0.090—

Prompt caching stores repeated context server-side: reads cost far less, but writes carry a one-time premium.

Reasoning behavior
Mode: Always on (mandatory)
Effort levels:highmediumlow

Higher effort = deeper thinking = more reasoning tokens billed as output.

Knowledge cutoff
2024-06-30

Training data ends here — newer events require retrieval or web search.

What would OpenAI: gpt-oss-20b cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$0.50
Coding agent5,0008,000 / 2,000$1.62
RAG pipeline30,0004,000 / 500$3.51
Doc summarizer2,00020,000 / 1,000$0.90

Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.

About OpenAI: 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...

Compare OpenAI: gpt-oss-20b with

Popular head-to-heads — see all on the comparisons index.

Frequently asked questions

How much does OpenAI: gpt-oss-20b cost?

OpenAI: gpt-oss-20b costs $0.018 per 1M input tokens and $0.090 per 1M output tokens; cached input tokens cost $0.0090 per 1M. Verified 2026-10-21 — provider source.

What is the context window?

131K tokens, with up to 33K output tokens per response. That's roughly 164 pages of text in a single request.

Does it support prompt caching?

Yes — cached input is $0.0090/1M, about 50% cheaper than standard input. Agents and RAG workloads with repeated context benefit most.

What's a cheaper alternative?

Check the value chart for models with similar intelligence at lower cost.

Official resources