Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

openai/gpt-oss-20b pricing

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 lower-latency inference. openai/gpt-oss-20b from DeepInfra costs $0.030 per 1M input tokens and $0.140 per 1M output tokens. Context window 131,072 tokens.

API id openai/gpt-oss-20b · DeepInfra · source · updated 2026-09-25 · general-purpose

$0.030
Input / 1M tokens
$0.140
Output / 1M tokens
—
Cached input / 1M
131K
Context window

openai/gpt-oss-20b specifications

Provider
DeepInfra
API id
openai/gpt-oss-20b
Model type
general-purpose
Context window
131K tokens
Max output
not published
Currency
USD
Price source
Provider API
Last checked
2026-09-25

OpenAI: gpt-oss-20b across providers

The same model, priced by every seller we track. Ranked by the cost of 1M input + 1M output tokens, standard tier; savings measured against buying from the vendor directly.

ProviderInput /1MCached /1MOutput /1M1M in + 1M outvs vendor
OpenRouterHostCheapest
$0.018—$0.090$0.11—
DeepInfraHostviewing
$0.030—$0.140$0.17—

What openai/gpt-oss-20b costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0001
Document summary50,0002,000$0.0018
1M tokens in, 200K out1,000,000200,000$0.06

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

openai/gpt-oss-20b price history

RecordedInput /1MOutput /1M
2026-09-23$0.018$0.090
2026-08-27$0.030$0.140
2026-08-27$0.030$0.130

Common questions

How much does openai/gpt-oss-20b cost per 1M tokens?
openai/gpt-oss-20b costs $0.030 per 1M input tokens and $0.140 per 1M output tokens on the standard tier.
What is openai/gpt-oss-20b's context window?
openai/gpt-oss-20b accepts up to 131,072 tokens in a single request.
Is there a cheaper DeepInfra model than openai/gpt-oss-20b?
Yes. mistralai/Mistral-Nemo-Instruct-2407 is $0.019 per 1M input tokens versus $0.030 for openai/gpt-oss-20b, with a 131,072 token context window.
Where does this openai/gpt-oss-20b price come from?
From the OpenRouter catalogue, because DeepInfra does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from DeepInfra's own — verify before committing spend.

Head-to-head comparisons

Other DeepInfra models

See all DeepInfra pricing →