AI Tools Review

OpenAI: gpt-oss-20b

By Openai

Released: 2025-08-05

API
LLM
RAG
Openai
Paid
New

OpenAI GPT Oss 20B, developed by OpenAI, features 21B parameters, MoE architecture and 131k-token context window. gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimised for lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs. Priced affordably at $0.02/1M tokens.

Visit OpenAI: gpt-oss-20b

Runs on consumer hardware

gpt-oss-20b is a 21B-parameter open-weight model that activates just ~3.6B parameters per token, tuned to run on a single consumer or 16GB-class GPU — open reasoning on a laptop or workstation.

Apache 2.0 open weights

Released under the permissive Apache 2.0 licence, the weights are free to download, fine-tune and deploy commercially — no API dependency, full data control.

Agent-ready with the Harmony format

Trained in OpenAI’s Harmony response format with configurable reasoning, function calling, tool use and structured outputs — approaching o3-mini on core reasoning.

Released on 5 August 2025 alongside its larger sibling, gpt-oss-20b is OpenAI’s lightweight open-weight model: a 21-billion-parameter Mixture-of-Experts design tuned to run on a single consumer-class GPU. Under Apache 2.0, it brings configurable reasoning, tool use and fine-tuning to local and edge deployments without an API dependency.

What gpt-oss-20b is

gpt-oss-20b is an open-weight, 21-billion-parameter language model released by OpenAI under the Apache 2.0 licence. It uses a Mixture-of-Experts (MoE) architecture that activates roughly 3.6 billion parameters per forward pass, optimised for lower-latency inference and deployability on consumer or single-GPU hardware — including machines with around 16GB of memory.

It is the smaller counterpart to gpt-oss-120b, sharing the same open-weight, agent-capable design philosophy but at a size that runs comfortably on a workstation, edge device or laptop-class GPU. It ships with a 131,000-token context window and is trained in OpenAI’s Harmony response format, which structures reasoning and tool calls.

Architecture and capabilities

Like its larger sibling, gpt-oss-20b uses a Mixture-of-Experts design so that only a fraction of its parameters are active per token — about 3.6B of 21B — keeping inference fast and memory-efficient. This is what allows it to run on hardware that could never host a dense model of comparable quality, opening up genuinely local and offline use cases.

The model supports configurable reasoning levels, fine-tuning, and agentic capabilities including function calling, tool use and structured outputs. Training in the Harmony response format gives it a consistent structure for separating reasoning from final answers and for invoking tools, which simplifies building reliable agents on top of it.

  • Open weights under Apache 2.0
  • 21B total parameters, ~3.6B active per token (MoE)
  • Runs on consumer / ~16GB single-GPU hardware
  • 131k context, Harmony format, configurable reasoning, tool use, fine-tuning

Performance

On OpenAI’s published evaluations, gpt-oss-20b approaches the proprietary o3-mini on core reasoning benchmarks — impressive for a model that runs on consumer hardware. It is competitive on mathematics, science and tool-using tasks, particularly when given higher reasoning effort, and is well suited to being fine-tuned on narrow domains where a small specialised model can match much larger generalists.

As with any open-weight model, real-world results depend on your quantization, serving stack and reasoning settings. The directional figures below illustrate the point: gpt-oss-20b delivers a large share of small-frontier-model capability at a footprint you can run locally, which is its core value proposition.

When to choose gpt-oss-20b

Reach for gpt-oss-20b when you need local, offline or edge inference: privacy-critical applications, on-device assistants, air-gapped environments, or development where you want to iterate without API costs. Its size makes it practical to run on a single workstation GPU, and the Apache 2.0 licence removes commercial friction.

It is also an excellent fine-tuning base. For a well-defined task, a fine-tuned gpt-oss-20b can rival much larger general models at a fraction of the serving cost. The trade-off is the lower capability ceiling versus gpt-oss-120b and the proprietary GPT-5 tiers — for the hardest open-ended reasoning you will want a larger model, but for focused, high-volume or privacy-bound work, 20b is often the sweet spot.

gpt-oss-20b on public benchmarks

Core reasoning vs o3-mini≈ o3-mini

Approaches the proprietary model on core benchmarks.

Active parameters per token3.6B

Of 21B total (MoE).

Consumer-GPU deployability (~16GB)Yes

Runs on a single consumer-class GPU.

Context window131k

Tokens.

OpenAI-reported, directional; open-weight results vary with serving stack, quantization and reasoning effort.

Where OpenAI: gpt-oss-20b fits

Local & offline inference

Run a capable reasoning model on a single workstation GPU with no traffic leaving the device.

On-device & edge assistants

Lightweight footprint suits privacy-critical and air-gapped deployments.

Fine-tuning base

A fine-tuned 20b can rival much larger generalists on narrow tasks at a fraction of the serving cost.

Cost-free development

Iterate locally without per-token API charges, then scale or escalate as needed.

Sources & further reading

Openai Model Timeline

OpenAI: GPT Audio

128k tokens context

OpenAI: GPT Audio Mini

128k tokens context

OpenAI: GPT-5.2-Codex

400k tokens context

OpenAI: GPT-5.2 Chat

128k tokens context

OpenAI: GPT-5.2 Pro

400k tokens context

OpenAI: GPT-5.2

400k tokens context

OpenAI: GPT-5.1-Codex-Max

400k tokens context

OpenAI: GPT-5.1

400k tokens context

OpenAI: GPT-5.1 Chat

128k tokens context

OpenAI: GPT-5.1-Codex

400k tokens context

OpenAI: GPT-5.1-Codex-Mini

400k tokens context

OpenAI: gpt-oss-safeguard-20b

131k tokens context

OpenAI: GPT-5 Image Mini

400k tokens context

OpenAI: GPT-5 Image

400k tokens context

OpenAI: o3 Deep Research

200k tokens context

OpenAI: o4 Mini Deep Research

200k tokens context

OpenAI: GPT-5 Pro

400k tokens context

OpenAI: GPT-5 Codex

400k tokens context

OpenAI: GPT-4o Audio

128k tokens context

OpenAI: GPT-5 Chat

128k tokens context

OpenAI: GPT-5

400k tokens context

OpenAI: GPT-5 Mini

400k tokens context

OpenAI: GPT-5 Nano

400k tokens context

OpenAI: gpt-oss-120b (free)

131k tokens context

OpenAI: gpt-oss-120b

131k tokens context

OpenAI: gpt-oss-120b (exacto)

131k tokens context

OpenAI: gpt-oss-20b (free)

131k tokens context

OpenAI: gpt-oss-20bCurrent

131k tokens context

OpenAI: o3 Pro

200k tokens context

OpenAI: o4 Mini High

200k tokens context

OpenAI: o3

200k tokens context

OpenAI: o4 Mini

200k tokens context

OpenAI: GPT-4.1

1,048k tokens context

OpenAI: GPT-4.1 Mini

1,048k tokens context

OpenAI: GPT-4.1 Nano

1,048k tokens context

OpenAI: o1-pro

200k tokens context

OpenAI: GPT-4o-mini Search Preview

128k tokens context

OpenAI: GPT-4o Search Preview

128k tokens context

OpenAI: o3 Mini High

200k tokens context

OpenAI: o3 Mini

200k tokens context

OpenAI: o1

200k tokens context

OpenAI: GPT-4o (2024-11-20)

128k tokens context

OpenAI: ChatGPT-4o

128k tokens context

OpenAI: GPT-4o (2024-08-06)

128k tokens context

OpenAI: GPT-4o-mini (2024-07-18)

128k tokens context

OpenAI: GPT-4o-mini

128k tokens context

OpenAI: GPT-4o (2024-05-13)

128k tokens context

OpenAI: GPT-4o

128k tokens context

OpenAI: GPT-4o (extended)

128k tokens context

OpenAI: GPT-4 Turbo

128k tokens context

OpenAI: GPT-3.5 Turbo (older v0613)

4k tokens context

OpenAI: GPT-4 Turbo Preview

128k tokens context

OpenAI: GPT-4 Turbo (older v1106)

128k tokens context

OpenAI: GPT-3.5 Turbo Instruct

4k tokens context

OpenAI: GPT-3.5 Turbo 16k

16k tokens context

OpenAI: GPT-4 (older v0314)

8k tokens context

OpenAI: GPT-4

8k tokens context

OpenAI: GPT-3.5 Turbo

16k tokens context

Frequently Asked Questions

What hardware can run gpt-oss-20b?

It is tuned to run on consumer or single-GPU hardware, including machines with around 16GB of memory, thanks to a Mixture-of-Experts design that activates only ~3.6B of its 21B parameters per token.

Is gpt-oss-20b free to use commercially?

Yes. The weights are released under the Apache 2.0 licence, which permits commercial use, fine-tuning and self-hosting. The free OpenRouter listing additionally lets you call it via API at no cost, subject to rate limits.

How does gpt-oss-20b compare to gpt-oss-120b?

gpt-oss-20b is the smaller, faster sibling — 21B parameters versus 117B — designed to run on consumer hardware rather than a data-centre GPU. It has a lower capability ceiling but is far more deployable; choose 120b when you need maximum reasoning and 20b when you need local, low-footprint inference.

What is the Harmony response format?

Harmony is the response format gpt-oss models are trained in, which structures the separation between reasoning and final answers and standardises tool invocation — making it easier to build reliable agents on top of the model.

Specifications

pricing$0.02 / $0.10 (per 1M)
context Window131k tokens

AI Evaluation

4.8
Expert Rating
Text4.9/5
Coding3.5/5

Built for deep analytical thinking and multi-step problem solving. Excels at tasks requiring careful logical reasoning and systematic analysis.

Pros

  • Budget-friendly at $0.02/1M tokens
  • 131k token context window
  • Advanced logical reasoning
  • Agent-ready with tool use

Cons

  • API integration required
  • May need prompt tuning