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.
| Provider | Input / 1M | Cached / 1M | Output / 1M | Additional tiers & notes |
|---|---|---|---|---|
| DeepInfraEffective from 2026-11-13 | $0.03Lowest input | — | $0.14Lowest output | — |
| Google Cloud Vertex AIEffective from 2026-11-14 | $0.07 | $0.007 | $0.25 | Batch: $0.035/$0.125 per 1M tokens. |
| AmazonEffective from 2026-11-14 | $0.07 | — | $0.30 | Batch: $0.035/$0.15; Flex: $0.035/$0.15; Priority: $0.1225/$0.525 per 1M tokens. |
| MicrosoftEffective 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.
| Workload | Per request | Monthly tokens | Input | Output | Per month |
|---|---|---|---|---|---|
| Chatbotshort turns | 1,500 in · 500 out× 100,000 requests | 150M in · 50M out | $4.50 | $7.00 | $11.50$0.000115 / request |
| Assistant8K context · 90% cached | 8,000 in · 2,000 out× 10,000 requests | 80M in · 20M out | $2.40 | $2.80 | $5.20$0.00052 / request |
| RAGlong input, cached · 50% cached | 24,000 in · 800 out× 20,000 requests | 480M in · 16M out | $14.40 | $2.24 | $16.64$0.000832 / request |
| Coding agentlong output · 70% cached | 15,000 in · 4,000 out× 20,000 requests | 300M in · 80M out | $9.00 | $11.20 | $20.20$0.00101 / request |
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
The same workload costs $4.94 on Ling-3.0-flash, the cheapest of the comparable models below.
- Ling-3.0-flashAnt Group · $0.049 / 1M blended$4.94
- MAI Code 2 FlashMicrosoft · $0.058 / 1M blended$5.76
- Nemotron 3.5 LightningNVIDIA · $0.058 / 1M blended$5.84
- GPT OSS 120BOpenAI · $0.43 / 1M blended$43.00
- Qwen3.5-397B-A17BAlibaba · $1.20 / 1M blended$120.00
- Gemini 3.1 Pro PreviewGoogle Deep Mind · $2.70 / 1M blended$270.40
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.
| Model | Basis | Blended / 1M | Per month | vs gpt-oss-20b |
|---|---|---|---|---|
| Ling-3.0-flashAnt Group | Lower-cost option | $0.049 | $4.94 | 4.9%cheaper |
| gpt-oss-20bOpenAI · this model | This model | $0.052 | $5.20 | — |
| MAI Code 2 FlashMicrosoft | Similar price | $0.058 | $5.76 | 11%dearer |
| Nemotron 3.5 LightningNVIDIA | Similar price | $0.058 | $5.84 | 12%dearer |
| GPT OSS 120BOpenAI | Shared benchmark coverage | $0.43 | $43.00 | 727%dearer · 8.3× |
| Qwen3.5-397B-A17BAlibaba | Shared benchmark coverage | $1.20 | $120.00 | 2,208%dearer · 23.1× |
| Gemini 3.1 Pro PreviewGoogle Deep Mind | Shared benchmark coverage | $2.70 | $270.40 | 5,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.