OpenAI: GPT OSS 20B
GPT OSS 20B is a reasoning model from OpenAI released on Aug 5, 2025. It reads text and writes text, with a 131K token context window and up to 131K tokens per reply.
Show moreShow less
It costs $0.07 per million input tokens and $0.30 per million output tokens.
It supports tool calling and structured JSON output, and its weights are open, so you can host it yourself.
40 providers serve it, including Hugging Face, Deep Infra and Vercel AI Gateway. The lowest input price is $0.009 per million tokens at Eden AI.
On the Artificial Analysis Intelligence Index it scores 10, which places it at number 39 among the 43 models I track with independent scores.
- Modalities
- In / out price
- $0.07 / $0.30 per 1M
- Context
- 131K
- Max output
- 131K
- Released
- Aug 5, 2025
- Knowledge cutoff
- Jun 2024
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
GPT OSS 20B pricing
USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.07 / 1M tokens | |
|---|---|---|
| Output | $0.30 / 1M tokens |
GPT OSS 20B providers
40 providers serve it, including Hugging Face, Deep Infra and Vercel AI Gateway. The lowest input price is $0.009 per million tokens at Eden AI. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Hugging Face | $0.018 | $0.09 | n/a | 131K | 131K |
| Deep Infra | $0.03 | $0.14 | $0.015 | 131K | 16K |
| Vercel AI Gateway | $0.03 | $0.14 | n/a | 131K | 8K |
| SiliconFlow | $0.04 | $0.18 | n/a | 131K | 8K |
| OVHcloud AI Endpoints | $0.05 | $0.18 | n/a | 131K | 66K |
| Amazon Bedrock | $0.07 | $0.30 | n/a | 131K | 128K |
| Databricks | $0.07 | $0.30 | n/a | 131K | 25K |
| OCI Generative AI | $0.07 | $0.30 | n/a | 128K | 16K |
| Groq | $0.075 | $0.30 | $0.0375 | 131K | 66K |
| Cloudflare Workers AI | $0.20 | $0.30 | n/a | 128K | 16K |
| Eden AI | $0.009 | $0.045 | $0.0045 | 131K | 131K |
| SOKKAN Router | $0.015 | $0.075 | $0.008 | 66K | 66K |
Showing 12 of 40 providers: the lab first, then the major clouds, then the cheapest resellers.
What GPT OSS 20B costs per month
Pick a workload close to yours or type your own volumes.
Independent benchmarks
Measured by third parties, not reported by OpenAI. Each links to its source and shows the date I checked it.
A composite of 10 independent evaluations (agents 30%, coding 20%, scientific reasoning 20%, general 30%), run by Artificial Analysis on each model, version 4.3.2.
Artificial Analysis, checked Oct 10, 2026
Human preference: people compare two anonymous answers and pick the better one. Ratings from the Text Arena overall board, style control on.
Arena (formerly LMArena), checked Oct 10, 2026
Median output tokens per second measured by Artificial Analysis on the provider API, for the same model setting as its index score.
Artificial Analysis, checked Oct 10, 2026
Benchmarks OpenAI reports (8)
- gpqa-diamond (GPQA Diamond (without tools), high reasoning setting)71.5%
- hle-no-tools (Humanity's Last Exam (without tools), high reasoning setting)10.9%
- hle-with-tools (Humanity's Last Exam (with tools), high reasoning setting)17.3%
- aime-2025 (AIME 2025 (tools), high reasoning setting)98.7%
- mmlu (MMLU, high reasoning setting)85.3%
- codeforces (Codeforces Elo (with tools), high reasoning setting)2516
- tau-bench-retail (Tau-Bench Retail (function calling), high reasoning setting)54.8%
- healthbench (HealthBench, high reasoning setting)42.5%
Labs pick their own settings and harnesses, so compare these only within one lab.
Supported request parameters
What you can set when you call GPT OSS 20B through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Reasoning
reasoning - Temperature
temperature
Alternatives to GPT OSS 20B
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- 256K context
Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.
by bytedanceJul 26, 2025$0.07/M input tokens$0.30/M output tokens2 providers
- Index 12.9
Reads text. Tool calling, structured output, reasoning. Served by 16 providers.
by nvidiaAug 11, 2026262K context$0.06/M input tokens$0.16/M output tokens16 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 8 providers.
by metaSep 2, 2026$0.10/M input tokens$0.20/M output tokens8 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 9 providers.
by metaAug 5, 2026$0.10/M input tokens$0.20/M output tokens9 providers
- 1.05M context
Reads text and images. Tool calling, structured output, reasoning. Served by 14 providers.
by tencentNov 16, 2026$0.07/M input tokens$0.281/M output tokens14 providers
- 262K context
Reads text and images. Tool calling, structured output, reasoning. Served by 2 providers.
by nex-agiSep 8, 2026$0.075/M input tokens$0.25/M output tokens2 providers
More from OpenAI
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$10/M input tokens$50/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$8/M input tokens$40/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 2 providers.
by openaiNov 24, 2026$2/M input tokens$10/M output tokens2 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by openaiNov 17, 2026$8/M input tokens$40/M output tokens26 providers
- 1.05M context
Reads text, images and files. Tool calling, structured output, reasoning. Served by 26 providers.
by openaiNov 17, 2026$2/M input tokens$10/M output tokens26 providers
GPT OSS 20B questions
How much does the GPT OSS 20B API cost?
$0.07 per million input tokens and $0.30 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of GPT OSS 20B?
131,000 tokens of input, and it can write up to 131,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve GPT OSS 20B?
40 providers serve it, including Hugging Face, Deep Infra and Vercel AI Gateway. The lowest input price is $0.009 per million tokens at Eden AI. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does GPT OSS 20B support tool calling?
Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.
Is GPT OSS 20B open source?
Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.
When was GPT OSS 20B released?
Aug 5, 2025, with training data up to Jun 2024.
How good is GPT OSS 20B compared with other models?
It scores 10 on the Artificial Analysis Intelligence Index and 1317 on the Arena text leaderboard. Benchmarks are a shortlist, not a verdict: test the top two or three candidates on your own tasks before you commit.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. Independent scores from my hand checked rankings, sources linked above. The summary is written from these facts.