API pricing and cost

gpt-oss-20b pricing

gpt oss 20b official API pricing is $0.03 per million input tokens and $0.14 per million output tokens. Third-party provider prices are compared below.

Covers the 2025-08-06 gpt-oss-20b release.

$0.03

Official input / 1M

Standard tier

$0.14

Official output / 1M

Standard tier

$0.052

Blended / 1M

4:1 input/output

$5.20

Example monthly cost

10K requests, 8K input + 2K output/request

Token charges only; tool calls, taxes, and other non-token fees are excluded.

Official API pricing

USD / 1M text tokens · Standard · Effective from 2026-11-13 · Last verified 2026-11-14

InputStandard text tier, per million tokens
$0.03
OutputStandard text tier, per million tokens
$0.14

API providers (4)

Published USD text API rates across hosting providers for gpt-oss-20b. Compare listed rates, effective dates, and service-tier notes for the same model.

On the example assistant workload above (10K requests, 8K input + 2K output/request; missing cache rates billed at full input), DeepInfra lists the lowest flat-rate total at $5.20/month.

Published USD API provider rates for gpt-oss-20b
ProviderInput / 1MCached / 1MOutput / 1MAdditional tiers & notes
DeepInfra⁠Effective from 2026-11-13$0.03Lowest input—$0.14Lowest output—
Google Cloud Vertex AI⁠Effective from 2026-11-14$0.07$0.007$0.25Batch: $0.035/$0.125 per 1M tokens.
Amazon⁠Effective from 2026-11-14$0.07—$0.30Batch: $0.035/$0.15; Flex: $0.035/$0.15; Priority: $0.1225/$0.525 per 1M tokens.
Microsoft⁠Effective from 2026-11-14$0.07—$0.30—

What gpt-oss-20b costs to run

Four workloads costed at official standard rates. Cached-input share is an estimation assumption, not a provider guarantee; when no cached rate is published, all input is billed at the uncached rate. Non-token fees are excluded.

Estimated monthly cost of four workloads on gpt-oss-20b
WorkloadPer requestMonthly tokensInputOutputPer month
Chatbotshort turns1,500 in · 500 out× 100,000 requests150M in · 50M out$4.50$7.00$11.50$0.000115 / request
Assistant8K context · 90% cached8,000 in · 2,000 out× 10,000 requests80M in · 20M out$2.40$2.80$5.20$0.00052 / request
RAGlong input, cached · 50% cached24,000 in · 800 out× 20,000 requests480M in · 16M out$14.40$2.24$16.64$0.000832 / request
Coding agentlong output · 70% cached15,000 in · 4,000 out× 20,000 requests300M in · 80M out$9.00$11.20$20.20$0.00101 / request
Start from

Monthly cost

$5.20

on gpt-oss-20b

Per request

$0.00052

80M in · 20M out a month

Split

$2.40 + $2.80

input + output

gpt-oss-20b against comparable models

Benchmark-overlap peers and price-comparable same-type models, costed on the assistant workload above. All figures use the same workload and caching rule; lower price does not imply equivalent capability or service terms.

Blended price and monthly cost of gpt-oss-20b and comparable models
ModelBasisBlended / 1MPer monthvs gpt-oss-20b
Ling-3.0-flashAnt GroupLower-cost option$0.049$4.944.9%cheaper
gpt-oss-20bOpenAI · this modelThis model$0.052$5.20—
MAI Code 2 FlashMicrosoftSimilar price$0.058$5.7611%dearer
Nemotron 3.5 LightningNVIDIASimilar price$0.058$5.8412%dearer
GPT OSS 120BOpenAIShared benchmark coverage$0.43$43.00727%dearer · 8.3×
Qwen3.5-397B-A17BAlibabaShared benchmark coverage$1.20$120.002,208%dearer · 23.1×
Gemini 3.1 Pro PreviewGoogle Deep MindShared benchmark coverage$2.70$270.405,100%dearer · 52×

Catalog price position: #13 cheapest of 252 active priced models in the LLMLearner catalog (cheaper than 95% at the 4:1 mix; official headline rates).

gpt-oss-20b pricing questions

How much does gpt-oss-20b cost per million tokens?
gpt oss 20b official API pricing is $0.03 per million input tokens and $0.14 per million output tokens. At the default 4:1 input-to-output mix, that is $0.052 per million blended tokens.
What does gpt-oss-20b cost per month, and what is included?
On the example Assistant workload (10,000 requests/month, 8,000 input and 2,000 output tokens/request), gpt-oss-20b costs about $5.20/month ($0.00052/request). This includes token charges at the official rate only; tool calls, off-peak or batch tiers, and taxes are excluded.
Is there a cheaper alternative to gpt-oss-20b?
Among the comparable models shown on this page, Ling-3.0-flash is cheaper at $0.049 per million blended tokens vs $0.052 for gpt-oss-20b. Compare benchmarks before switching, as a lower rate does not guarantee equivalent quality or service terms. Across all 252 active priced models in the LLMLearner catalog, gpt-oss-20b ranks 13th cheapest (cheaper than 95% at the default 4:1 mix).
Does gpt-oss-20b charge for cached input?
OpenAI publishes no cached-input rate for gpt-oss-20b here, so every input token is estimated at the full $0.03 per million.