Home › Providers › openai › OpenAI: gpt-oss-20b

OpenAI: gpt-oss-20b API Pricing

OpenAI: gpt-oss-20b is an API model from openai. It costs $0.018 per 1M input tokens and $0.09 per 1M output tokens, with cached input at $0.009. Its context window is 131,072 tokens with up to 32,768 output tokens. A workload of 10M input + 2M output tokens costs about $0.36 per month.
Input
$0.018
per 1M tokens
Output
$0.09
per 1M tokens
Cached input
$0.009
per 1M tokens
Context window
131K
131,072 tokens
Blended (80/20)
$0.0324
per 1M tokens

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...

How much does OpenAI: gpt-oss-20b cost for a real workload?

At 10M input + 2M output tokens per month, OpenAI: gpt-oss-20b costs about $0.36 ($0.18 input + $0.18 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to OpenAI: gpt-oss-20b?

Where to run OpenAI: gpt-oss-20b

AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud. Prices there follow each platform's own catalog and can differ from the list prices tracked here.

Run it on AI/ML API →Run it on Novita AI →

Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.

Compare OpenAI: gpt-oss-20b with other models

OpenAI: gpt-oss-20b vs OpenAI: gpt-oss-20b (batch)OpenAI: gpt-oss-20b vs OpenAI: gpt-oss-120b (batch)OpenAI: gpt-oss-20b vs OpenAI: GPT-5 Nano (batch)OpenAI: gpt-oss-20b vs OpenAI: GPT-4.1 Nano (batch)OpenAI: gpt-oss-20b vs OpenAI: GPT-6 Luna Pro (batch)OpenAI: gpt-oss-20b vs OpenAI: GPT-6 Luna (batch)

Frequently asked questions

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

OpenAI: gpt-oss-20b costs $0.018 per 1M input tokens and $0.09 per 1M output tokens (list price, snapshot October 22, 2026). At 10M input + 2M output tokens per month that is about $0.36.

What is the context window of OpenAI: gpt-oss-20b?

OpenAI: gpt-oss-20b has a context window of 131,072 tokens and can return up to 32,768 output tokens per response.

What are cheaper alternatives to OpenAI: gpt-oss-20b?

Cheaper models include Google: Gemma 3 4B ($0.04 in / $0.05 out), Sao10K: Llama 3 8B Lunaris ($0.04 in / $0.05 out), inclusionAI: Ling 3.0 Flash ($0.021 in / $0.063 out). See the full list on this page.

Is OpenAI: gpt-oss-20b free to use?

No. OpenAI: gpt-oss-20b is a paid model at $0.018 input / $0.09 output per 1M tokens. 21 free models are listed on the free models page.

Provider: openai · Model ID: openai/gpt-oss-20b · Modality: text->text · Price snapshot October 22, 2026, refreshed daily. How we collect prices