OpenAI, released Aug 5, 2025

gpt-oss-20b

gpt-oss-20b is OpenAI's open-weight reasoning model from August 2025, built on a Mixture-of-Experts setup under an Apache 2.0 license with only a small fraction of its 21B parameters active per pass. In OpenAI's lineup, it sits at the dirt-cheap end next to much pricier proprietary models like GPT-6.1 Terra, GPT-6.2 Sol, and GPT-6.2 Astra. It's meant for high-volume text work where you still want reasoning, tool calling, or structured JSON output.

Already paying for ChatGPT?

gpt-oss-20b costs $0.36 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

gpt-oss-20b pricing and specs

Input
$0.17per 1M tokens
Output
$0.36per 1M tokens
Cached input
$0.09per 1M tokens
Context window
131K131,072 tokens
Max output
66K65,536 tokens
Released
Aug 5, 2025
Knowledge cutoff
Jun 2024
Accepts
Text
Features
Tool callingReasoningStructured outputsOpen weights

What gpt-oss-20b is good at

  • Structured data extraction - it supports JSON output and costs almost nothing to run across big batches of text.
  • Tool-heavy workflows and agent loops. Because it handles tool calling and keeps reasoning on by default, you can run multi-step pipelines that would get expensive fast on GPT-6.2 Sol or Astra.
  • Long outputs and big text dumps, since it comes with a roomy context window and lets you generate massive replies in a single call.
  • API work you might want to self-host later. You can start calling it through an API now, and if you ever decide to move it in-house, the Apache 2.0 weights are out there as openai/gpt-oss-20b.

Good to know

  • It's text-only. No images or other multimodal inputs.
  • The knowledge cutoff is June 2024, which is a long way back compared to OpenAI's late-2026 models (if your app needs anything recent, you'll want to wire it up to search or a tool).
  • It's an older release from August 2025. If you want OpenAI's newer proprietary lineup, look at GPT-6.1 Terra or the GPT-6.2 models instead.

gpt-oss-20b vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
gpt-oss-20b$0.17$0.36Not available131K
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Solar Pro 4 Contributor$0.09$0.36Not available524K
DeepSeek V3.2$0.26$0.38Not available164K

gpt-oss-20b cost per month

Tokens a month at $0.17 input and $0.36 output per 1M
WorkloadAPI price
Side project2M in, 500K out$0.52
Production app25M in, 5M out$6.05
Agents at scale250M in, 50M out$60.50

FAQ

How much does the gpt-oss-20b API cost?

gpt-oss-20b costs $0.17 per 1M input tokens and $0.36 per 1M output tokens, and cached input costs $0.09 per 1M.

What is the gpt-oss-20b context window?

gpt-oss-20b takes 131,072 tokens of context, with up to 65,536 output tokens per request.

When was gpt-oss-20b released?

OpenAI released gpt-oss-20b on Aug 5, 2025.

Can I use gpt-oss-20b with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Can I turn off reasoning for simpler prompts?

No. Reasoning is always on in gpt-oss-20b, with no toggle to shut it off. If you need a model that skips the reasoning step on straightforward tasks, pick something else.

Can I run gpt-oss-20b on my own hardware?

Yes. It's an open-weight model released under the Apache 2.0 license as openai/gpt-oss-20b. And with 21B total parameters and 3.6B active per pass, moving off the API to host it yourself down the road is completely on the table.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80