gpt-oss-20B
gpt-oss-20B is an open-weights model from OpenAI with a 131k-token context window. 6 providers list it; as of 25 Oct 2026, the cheapest listing (DeepInfra) charges $0.03 per million input tokens and $0.14 per million output tokens.
Providers serving gpt-oss-20B
Cheapest first, by the blended rate of three input tokens to one output token. Prices in US dollars per million tokens, checked 25 Oct 2026; the source link opens where the price is published. All 6 list tool calling and JSON mode.
What each provider charges
Blended price per 1M tokens (3 input : 1 output); bars start at $0. Prices checked 25 Oct 2026.
What this shows: the highest listing is 4× the lowest: $0.23 (Cloudflare) against $0.058 (DeepInfra).
- DeepInfra: $0.058 per 1M tokens, blended
- Google Vertex: $0.12 per 1M tokens, blended
- Amazon Bedrock and 1 other: $0.13 per 1M tokens, blended
- Groq: $0.13 per 1M tokens, blended
- Cloudflare: $0.23 per 1M tokens, blended
| Provider | Input | Output | Context | Capabilities | Model ID | Source |
|---|---|---|---|---|---|---|
| DeepInfra | $0.03 | $0.14 | 131k | Not OpenAI-compatible | openai/ | |
| Google Vertex | $0.07 | $0.25 | 131k | Not OpenAI-compatible | openai/ | |
| Amazon Bedrock | $0.07 | $0.30 | 131k | Not OpenAI-compatible | openai.gpt-oss-20b-1:0 | |
| Databricks1 | $0.07 | $0.30 | 131k | OpenAI-compatible | databricks-gpt-oss-20b | |
| Groq | $0.075 | $0.30 | 131k | Not OpenAI-compatible | openai/ | |
| Cloudflare | $0.20 | $0.30 | 128k of 131k | OpenAI-compatible | @cf/ |
- Billed in DBUs; converted at Databricks' $0.07 per DBU (AWS).
How each provider handles your prompts
For each provider's paid API, from its own pages, checked 26 Oct 2026. Where a promise lives matters: a signed agreement binds the provider, while a docs page can change without notice. Not legal advice.
| Provider | Trains on your prompts | Keeps prompts | Zero retention | Data processing agreement |
|---|---|---|---|---|
| DeepInfra Google and Anthropic models served via DeepInfra follow those companies' own training and logging terms, not DeepInfra's zero-retention promise. Google and Anthropic models served via DeepInfra follow those companies' own training and logging terms, not DeepInfra's zero-retention promise.MoreLess | No | Not kept past the request (held in memory only); batch jobs and image outputs kept briefly per feature docs | Yes, by default | Public |
Google VertexClaude Fable/Mythos keep all traffic 30 days and require sharing it with Anthropic; Google Search grounding keeps queries 3 days; the 24-hour cache can be switched off; the Interactions API stores prompts unless store=false.MoreLess | No | Not stored beyond the request, except a 24-hour cache (on by default) and abuse-flagged prompts (up to 90 days) | Enterprise plans only | Public |
Amazon BedrockOpenAI models (flagged traffic) and Claude Fable 5/5.1 (all traffic, with possible AWS human review) keep data up to 30 days; the Responses API stores responses unless store=false.MoreLess | No | Not stored for most models; up to 30 days for abuse detection on models AWS lists | Yes, by default | Public |
DatabricksTerms let Databricks use inputs/outputs to improve its services if solely for the customer's benefit or non-identifying; docs say paid accounts are excluded from training. No general ZDR is documented, yet a blog claims ZDR for Kimi K3 and docs mention an unexplained 'opt out of data retention'.MoreLess | No | Up to 30 days for abuse detection | Not stated not found on its pages | Public |
| Groq Zero retention is a self-serve switch in the console's Data Controls; turning it on disables batch jobs (files otherwise kept 30 days) and fine-tuning. Zero retention is a self-serve switch in the console's Data Controls; turning it on disables batch jobs (files otherwise kept 30 days) and fine-tuning.MoreLess | No | Not kept by default; prompts and outputs may be logged for up to 30 days when troubleshooting errors or investigating abuse | You can switch it on | Public |
CloudflareFeatures you switch on (AI Gateway logging or caching, batch jobs, file uploads, R2/KV storage) keep content under that feature's own retention rules. The Workers AI terms also let Cloudflare use Customer Content 'to provide and improve the Services', though they bar training generative AI on it.MoreLess | No | Not kept after the response is delivered, unless you turn on a feature that stores it | Yes, by default | Public |
gpt-oss-20B benchmark scores
Compare every model in Bench rankingsPublished scores only, each linked to its source. Ticks are every other model's best published score.
GPQA Diamond
PhD-level scientific reasoning, pass@1, no tools
high effort 68.8%, source: Artificial Analysis, high effortRanks 151st of 221 models with a score
Humanity's Last Exam (text-only)
Reasoning & knowledge, no tools
high effort 11%, source: Artificial Analysis, high effortJoint 130th of 221 models with a score
τ²-Bench Telecom
Agentic tool use (telecom), with a Qwen3 model as the simulated user
high effort 60.2%, source: Artificial Analysis, high effortRanks 77th of 160 models with a score
τ³-Banking
Agentic tool use with knowledge retrieval (banking)
high effort 7%, source: Artificial Analysis, high effortJoint 82nd of 103 models with a score
Terminal-Bench 2.1 (Terminus 2)
Agentic coding & terminal use
high effort 13.9%, source: Artificial Analysis, high effortJoint 102nd of 127 models with a score
LiveCodeBench
Competitive programming, Artificial Analysis's problem set (dates not published)
high effort 77.7%, source: Artificial Analysis, high effortJoint 15th of 82 models with a score
IFBench
Instruction following, 294 prompts, 5 runs each
high effort 65.1%, source: Artificial Analysis, high effortRanks 53rd of 158 models with a score
SciCode (with background)
Scientific coding
high effort 38.9%, source: Artificial Analysis, high effortRanks 92nd of 118 models with a score
GDPval-AA v2.1 (Elo)
Real-world work tasks; a rating against other models, not a percentage
high effort 339, source: Artificial Analysis, high effortRanks 117th of 144 models with a score
Terminal-Bench Hard
Agentic coding & terminal use, Artificial Analysis's 44-task hard subset
high effort 10.6%, source: Artificial Analysis, high effortJoint 82nd of 157 models with a score
LCR
Long-context reasoning, AA-LCR v1.1
high effort 34.7%, source: Artificial Analysis, high effortRanks 144th of 211 models with a score
Omni Accuracy
Omniscience knowledge accuracy
high effort 16%, source: Artificial Analysis, high effortRanks 150th of 216 models with a score
Non-Hallucination
1 − hallucination rate
low effort 13.3%, source: Artificial Analysis, low effortRanks 149th of 216 models with a score
Each score is the model's best published result across its settings, named beside it. A setting above the default can use more tokens per task, which a per-token price does not show.
Show as table
| Benchmark | Score | Setting |
|---|---|---|
GPQA Diamond PhD-level scientific reasoning, pass@1, no tools | 68.8%, source: Artificial Analysis, high effort | high effort |
Humanity's Last Exam (text-only) Reasoning & knowledge, no tools | 11%, source: Artificial Analysis, high effort | high effort |
τ²-Bench Telecom Agentic tool use (telecom), with a Qwen3 model as the simulated user | 60.2%, source: Artificial Analysis, high effort | high effort |
τ³-Banking Agentic tool use with knowledge retrieval (banking) | 7%, source: Artificial Analysis, high effort | high effort |
Terminal-Bench 2.1 (Terminus 2) Agentic coding & terminal use | 13.9%, source: Artificial Analysis, high effort | high effort |
LiveCodeBench Competitive programming, Artificial Analysis's problem set (dates not published) | 77.7%, source: Artificial Analysis, high effort | high effort |
IFBench Instruction following, 294 prompts, 5 runs each | 65.1%, source: Artificial Analysis, high effort | high effort |
SciCode (with background) Scientific coding | 38.9%, source: Artificial Analysis, high effort | high effort |
GDPval-AA v2.1 (Elo) Real-world work tasks; a rating against other models, not a percentage | 339, source: Artificial Analysis, high effort | high effort |
Terminal-Bench Hard Agentic coding & terminal use, Artificial Analysis's 44-task hard subset | 10.6%, source: Artificial Analysis, high effort | high effort |
LCR Long-context reasoning, AA-LCR v1.1 | 34.7%, source: Artificial Analysis, high effort | high effort |
Omni Accuracy Omniscience knowledge accuracy | 16%, source: Artificial Analysis, high effort | high effort |
Non-Hallucination 1 − hallucination rate | 13.3%, source: Artificial Analysis, low effort | low effort |
More from OpenAI
See all 17 OpenAI models- gpt-oss-120bfrom $0.037 in · 131k · GPQA 78.2% · 15 providers
- GPT-5.5from $5.00 in · 1.05M · GPQA 93.5% · 6 providers
- GPT-5.6 Lunafrom $0.20 in · 1.05M · GPQA 91.1% · 5 providers
- GPT-5.6 Solfrom $4.00 in · 1.05M · GPQA 94.1% · 5 providers
- GPT-5.6 Terrafrom $2.00 in · 1.05M · GPQA 92.5% · 5 providers
- GPT-5.4 minifrom $0.75 in · 400k · GPQA 87.5% · 3 providers
- GPT-5.4 nanofrom $0.20 in · 400k · GPQA 81.7% · 3 providers
- GPT-6 Astrafrom $10.00 in · 1.05M · GPQA 96.3% · 3 providers
- GPT-6 Lunafrom $0.10 in · 1.05M · GPQA 90.5% · 3 providers
- GPT-6 Solfrom $2.00 in · 1.05M · GPQA 94.3% · 3 providers
- GPT-6.1 Solfrom $2.00 in · 1.05M · GPQA 95.4% · 3 providers
- GPT-5.3 Codexfrom $1.75 in · 400k · GPQA 91.5% · 2 providers