gpt-oss-20b
openai/gpt-oss-20bPar OpenAI · famille: gpt-oss · sorti 2025-08-05 · fin de connaissance: 2024-10
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Capacités
Model fit scores
0–100 · higher is betterThese scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.
Coding82
- Tool calling40/40
- Structured output20/20
- Reasoning10/10
- Context window (100K → 1M)2/20
- Provider availability10/10
Agents95
- Tool calling35/35
- Structured output25/25
- Reasoning15/15
- Output token limit10/15
- Provider availability10/10
JSON / structured output100
- Structured output / JSON mode50/50
- Tool calling20/20
- Temperature control10/10
- Price-friendly for high-volume20/20
Cost efficiency81
- Headline price (log-scaled)81/95
- Has prompt-cache pricing0/5
Long context45
- Context window (100K → 2M)35/90
- Has published price for full window10/10
Production-readiness94
- Number of independent providers40/40
- Has published per-token price20/20
- Context window ≥ 8K15/15
- No data inconsistencies across providers4/10
- Official model (not derivative)15/15
Cost Efficiency Index
Open full calculator →Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.
| Scenario | Cost | Assumption |
|---|---|---|
RAG answer per 1,000 RAG answers | $0.21 < $0.01 per request | 5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot. |
Support ticket triage per 10,000 tickets | $0.43 < $0.01 per request | 1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support. |
Data extraction per 1,000 documents | $0.13 < $0.01 per request | 2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines. |
Code review per 1,000 PRs | $0.37 < $0.01 per request | 8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads. |
Agent step per 1,000 steps | $0.43 < $0.01 per request | 12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step. |
Détail des tarifs
Tarif recommandé de openrouter · openai/gpt-oss-20b
Fournisseur le moins cher : lmstudio · Unknown entrée + Unknown sortie
Disponible chez 24 fournisseurs
| Fournisseur | ID modèle fournisseur | Entrée / 1M | Sortie / 1M | Contexte | Publié le |
|---|---|---|---|---|---|
| Amazon Bedrock amazon-bedrock | openai.gpt-oss-20b | $0.070 | $0.300 | 128K | 2025-08-05 |
| OpenRouter openrouter | openai/gpt-oss-20b | $0.029 | $0.140 | 131K | 2025-08-05 |
| Vercel AI Gateway vercel | openai/gpt-oss-20b | $0.050 | $0.200 | 131K | 2025-08-05 |
| Groq groq | openai/gpt-oss-20b | $0.075 | $0.300 | 131K | 2025-08-05 |
| Together AI togetherai | openai/gpt-oss-20b | $0.050 | $0.200 | 131K | 2025-08-05 |
| Deep Infra deepinfra | openai/gpt-oss-20b | $0.030 | $0.140 | 131K | 2025-08-05 |
| Qiniu qiniu-ai | gpt-oss-20b | Unknown | Unknown | 128K | 2025-08-06 |
| Regolo AI regolo-ai | gpt-oss-20b | $0.400 | $1.80 | 128K | 2026-03-01 |
| NovitaAI novita-ai | openai/gpt-oss-20b | $0.040 | $0.150 | 131K | 2025-08-06 |
| Cloudflare Workers AI cloudflare-workers-ai | @cf/openai/gpt-oss-20b | $0.200 | $0.300 | 128K | 2025-08-05 |
| DigitalOcean digitalocean | openai-gpt-oss-20b | $0.050 | $0.450 | 131K | 2025-08-05 |
| LMStudio lmstudio | openai/gpt-oss-20b | Unknown | Unknown | 131K | 2025-08-05 |
| Helicone helicone | gpt-oss-20b | $0.050 | $0.200 | 131K | 2024-06-01 |
| Ollama Cloud ollama-cloud | gpt-oss:20b | Unknown | Unknown | 131K | 2025-08-05 |
| Cloudflare AI Gateway cloudflare-ai-gateway | workers-ai/@cf/openai/gpt-oss-20b | $0.200 | $0.300 | 128K | 2025-08-05 |
| Nvidia nvidia | openai/gpt-oss-20b | Unknown | Unknown | 131K | 2025-08-05 |
| SiliconFlow siliconflow | openai/gpt-oss-20b | $0.040 | $0.180 | 131K | 2025-08-13 |
| IO.NET io-net | openai/gpt-oss-20b | $0.030 | $0.140 | 64K | 2024-12-01 |
| OVHcloud AI Endpoints ovhcloud | gpt-oss-20b | $0.050 | $0.180 | 131K | 2025-08-28 |
| Weights & Biases wandb | openai/gpt-oss-20b | $0.050 | $0.200 | 131K | 2025-08-05 |
| Kilo Gateway kilo | openai/gpt-oss-20b | $0.030 | $0.140 | 131K | 2025-08-05 |
| FastRouter fastrouter | openai/gpt-oss-20b | $0.050 | $0.200 | 131K | 2025-08-05 |
| NanoGPT nano-gpt | openai/gpt-oss-20b | $0.040 | $0.150 | 128K | 2025-08-05 |
| NanoGPT nano-gpt | TEE/gpt-oss-20b | $0.200 | $0.800 | 131K | 2025-08-05 |
Incohérences de données entre fournisseurs
- context_window varies: 128000, 131000, 131072, 64000
- release_date varies (span 638d): 2024-06-01, 2024-12-01, 2025-08-05, 2025-08-06, 2025-08-13, 2025-08-28, 2026-03-01
- modalities varies across offerings
Les fournisseurs rapportent des valeurs différentes pour ce modèle. Les infos clés ci-dessus utilisent un fournisseur représentatif ; voir le tableau pour le détail par fournisseur.
Frequently asked questions
How much does gpt-oss-20b cost?
gpt-oss-20b costs $0.029 per 1M input tokens and $0.140 per 1M output tokens, sourced from openrouter. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.
What is the context window of gpt-oss-20b?
gpt-oss-20b has a context window of 128K tokens, with a max output of 16K tokens per reply. This is the total combined size of prompt + completion.
Does gpt-oss-20b support tool calling?
Yes. gpt-oss-20b supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Does gpt-oss-20b support structured output / JSON mode?
Yes. gpt-oss-20b supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Can gpt-oss-20b accept image input?
No. gpt-oss-20b only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.
Is gpt-oss-20b open-weight?
No. gpt-oss-20b is a proprietary model — only OpenAI (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.
What are the best alternatives to gpt-oss-20b?
If gpt-oss-20b doesn't fit, consider gpt-oss-120b, GPT-5.4, GPT-5.2. Each one targets the same use case — see the Related links below for direct head-to-head pages.
Where does this data come from?
All numbers are normalised into a single canonical model record and reconciled with each provider's official documentation. We re-pull daily and write any changes (price, context, capability) to the /changelog page.
Explore more
More OpenAI models
- gpt-oss-120b$0.03 in / $0.15 out
- GPT-5.4$2.50 in / $15.00 out
- GPT-5.2$1.75 in / $14.00 out
- GPT-5 Mini$0.25 in / $2.00 out
- GPT-5.5$5.00 in / $30.00 out
Capability lists this model is in
Dernière mise à jour :
Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.