gpt-oss-20B

Open weights131k context

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.

$0.03
Lowest input, per 1M
$0.14
Lowest output, per 1M
6
Providers listed
151st
GPQA Diamond rank
of 221 models with a score

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
Providers serving gpt-oss-20B, cheapest first by blended rate
ProviderInputOutputContextCapabilitiesModel IDSource
DeepInfra$0.03$0.14131kNot OpenAI-compatibleopenai/gpt-oss-20b
Google Vertex$0.07$0.25131kNot OpenAI-compatibleopenai/gpt-oss-20b-maas
Amazon Bedrock$0.07$0.30131kNot OpenAI-compatibleopenai.gpt-oss-20b-1:0
Databricks1$0.07$0.30131kOpenAI-compatibledatabricks-gpt-oss-20b
Groq$0.075$0.30131kNot OpenAI-compatibleopenai/gpt-oss-20b
Cloudflare$0.20$0.30128k of 131kOpenAI-compatible@cf/openai/gpt-oss-20b
  1. 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.

How each provider serving gpt-oss-20B handles your prompts
ProviderTrains on your promptsKeeps promptsZero retentionData 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 Vertex
Claude 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 Bedrock
OpenAI 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
Databricks
Terms 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
Cloudflare
Features 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 rankings

Published scores only, each linked to its source. Ticks are every other model's best published 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 scores for gpt-oss-20B, with the setting each was measured at
BenchmarkScoreSetting
GPQA Diamond
PhD-level scientific reasoning, pass@1, no tools
68.8%, source: Artificial Analysis, high efforthigh effort
Humanity's Last Exam (text-only)
Reasoning & knowledge, no tools
11%, source: Artificial Analysis, high efforthigh effort
τ²-Bench Telecom
Agentic tool use (telecom), with a Qwen3 model as the simulated user
60.2%, source: Artificial Analysis, high efforthigh effort
τ³-Banking
Agentic tool use with knowledge retrieval (banking)
7%, source: Artificial Analysis, high efforthigh effort
Terminal-Bench 2.1 (Terminus 2)
Agentic coding & terminal use
13.9%, source: Artificial Analysis, high efforthigh effort
LiveCodeBench
Competitive programming, Artificial Analysis's problem set (dates not published)
77.7%, source: Artificial Analysis, high efforthigh effort
IFBench
Instruction following, 294 prompts, 5 runs each
65.1%, source: Artificial Analysis, high efforthigh effort
SciCode (with background)
Scientific coding
38.9%, source: Artificial Analysis, high efforthigh effort
GDPval-AA v2.1 (Elo)
Real-world work tasks; a rating against other models, not a percentage
339, source: Artificial Analysis, high efforthigh effort
Terminal-Bench Hard
Agentic coding & terminal use, Artificial Analysis's 44-task hard subset
10.6%, source: Artificial Analysis, high efforthigh effort
LCR
Long-context reasoning, AA-LCR v1.1
34.7%, source: Artificial Analysis, high efforthigh effort
Omni Accuracy
Omniscience knowledge accuracy
16%, source: Artificial Analysis, high efforthigh effort
Non-Hallucination
1 − hallucination rate
13.3%, source: Artificial Analysis, low effortlow effort

More from OpenAI

See all 17 OpenAI models

QAI lists these prices; it does not serve or resell these models. Prices are each provider's standard on-demand list price in US dollars per million tokens (default region, standard tier, peak hours, base context tier), checked on the date shown against the provider's own published prices or, where it has no public price page, its listing on OpenRouter. Most benchmark scores come from Artificial Analysis; Epoch AI (GPQA Diamond), MathArena (AIME 2026) and the APEX-Agents and CritPt leaderboards add the rest, and where none of them has a model, or none ran it at full capability, a figure its maker published may stand in (marked v); in some benchmarks it was run the maker's own way, which its note names. Each benchmark follows one test setup, the one used by the source that covers the most models, and leaves results from other setups out. Each score is the best its source published across the model's settings, names any non-default setting, and links to its source.

An AIME 2026 score noted “released after the exam” comes from a model released after the exam, so the problems may have been in its training data. GDPval-AA is a rating against other models (Elo), not a percentage. Data as of 26 Oct 2026.

Sources and licences