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-20bRuns 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
Approaches the proprietary model on core benchmarks.
Of 21B total (MoE).
Runs on a single consumer-class GPU.
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
128k tokens context
128k tokens context
400k tokens context
128k tokens context
400k tokens context
400k tokens context
400k tokens context
400k tokens context
128k tokens context
400k tokens context
400k tokens context
131k tokens context
400k tokens context
400k tokens context
200k tokens context
200k tokens context
400k tokens context
400k tokens context
128k tokens context
128k tokens context
400k tokens context
400k tokens context
400k tokens context
131k tokens context
131k tokens context
131k tokens context
131k tokens context
131k tokens context
200k tokens context
200k tokens context
200k tokens context
200k tokens context
1,048k tokens context
1,048k tokens context
1,048k tokens context
200k tokens context
128k tokens context
128k tokens context
200k tokens context
200k tokens context
200k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
128k tokens context
4k tokens context
128k tokens context
128k tokens context
4k tokens context
16k tokens context
8k tokens context
8k tokens context
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
AI Evaluation
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
Related Tools
FLUX
FLUX, from Black Forest Labs, is a family of high-quality open and commercial image generation models prized for photorealism and prompt adherence. Widely integrated across third-party tools and APIs, it has become a default backbone for image generation.
Claude Opus 4.8
Claude Opus 4.8 is Anthropic's June 2026 flagship model, succeeding Opus 4.7. It posts a headline score of 81 on the hardest agentic coding and reasoning suites, holds long-horizon tool-use plans together across far more steps, and is notably more candid about its own uncertainty - refusing to fabricate rather than confidently pressing on. It is the default choice for serious agentic and software-engineering workloads.
Anthropic Mythos 1
Mythos 1 is the full release of Anthropic's specialised, security-focused system, graduating from the guarded Claude Mythos Preview. Built around Project Glasswing, it pairs frontier reasoning with defensive security tooling - vulnerability analysis, triage and incident response - deployed with heavy oversight and auditability. It runs alongside the general-purpose Claude family rather than replacing it.
