Models/OpenAI/gpt-oss-20b

gpt-oss-20b

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, optimized for...

01

Identity

131,072Context in
131,072Context out
2025-08-05 (OpenRouter created 1754414229)Released
OpenWeights
Canonical name
gpt-oss-20b
Aliases
openai/gpt-oss-20b, openai/gpt-oss-20b
Continuum hosted id
Not listed as a Continuum hosted id
OpenRouter slug
openai/gpt-oss-20b
Hugging Face
openai/gpt-oss-20b
Modalities
text
Open weights Not on Continuum host list Open

Context window on the 2026-08-19 OpenRouter row: 131,072 tokens.

Max completion tokens on that row: 131,072.

Input / output on that row: $0.03 / $0.13 per 1M tokens.

Architecture fields: text->text · GPT.

Hugging Face id on that row: openai/gpt-oss-20b.

02

Should I use this for coding agents

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license.

When you want the 2025-08-05 catalog SKU, not a later rename.

DeepSWE

No official DeepSWE mini-swe-agent row for this identity on the public board we fetched.

omitted, not invented as of 2026-08-13 source
Artificial Analysispublished integer
15
bench
Artificial Analysis
version
Intelligence Index
harness
published integer
effort
high
metric
Intelligence Index
value
15
independent as of 2026-08-19 source
Vals Index

We did not open a vals.ai card for this identity. Chip omitted.

omitted, not invented as of 2026-08-19 source

Ranked view: Best coding models: the independent leaderboard puts this row and every other card that carries an independent coding score on one board, with the confidence intervals left visible.

Named benches, printed only

Copied from AA or vals HTML we opened. 0.0% placeholder bars are omitted. Do not average these into the hero tiles, and do not invent CI, $/task, or steps for Artificial Analysis.

BenchPrintedNoteSourceURLAs of
GDPval-AA v2 3.3% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
τ³-Banking 7% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
Terminal-Bench v2.1 13.9% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
SciCode 34.4% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
Humanity's Last Exam 11% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
GPQA Diamond 68.8% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
CritPt 1.4% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
AA-Omniscience Accuracy 16% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
AA-LCR 33.3% Printed on the AA Intelligence Evaluations grid for gpt-oss-20b (high). Not a DeepSWE chip. Tile effort: high. Artificial Analysis gpt-oss-20b (high) source 2026-08-19
03

When not to use it

Trust this before you buy

  • When you need a Continuum-hosted SKU from this lab, use the hosted card on this hub instead of this catalog row.
  • $0.03 in / $0.13 out per 1M on the 2026-08-19 OpenRouter row. Context 131,072 in / 131,072 out.
  • Need a denser published sibling on this hub? GPT-5.6 Luna is the card already on the cluster.

Plus is $25/mo with $25 weekly hosted usage. The Mac app stays free with your own keys. Get Plus is not Download for Mac.

04

Artifact and Hugging Face downloads

Artifact

SPDX / license
apache-2.0
Total params
HF safetensors.total: 21,511,953,984 stored tensors
Native precision
HF tensors BF16 + U8
Repo size
HF API usedStorage 41,382,448,021 bytes
HF created
2025-08-04T22:33:29.000Z
Official HF repo
openai/gpt-oss-20b
HF downloads
7,682,588
HF likes
4,928

Official weights id on the 2026-08-19 OpenRouter row: openai/gpt-oss-20b. Community GGUF is a quant, not a second Continuum card.

Official weights

This is the model repo, not Download for Mac. Downloads and likes from the Hugging Face API on 2026-08-19.

Hub file tree

Safetensor shards
4
Shard bytes
27,522,617,888 bytes
Other file bytes
13,778,847,628 bytes
Tree file count
18
Hub usedStorage
41,382,448,021 bytes

usedStorage and the sum of .safetensors sizes can differ (LFS pointers, non-shard files, duplicate copies). Cited separately. Source: recursive tree API, 2026-08-19.

PathBytes
model-00000-of-00002.safetensors4,792,272,488
model-00001-of-00002.safetensors4,798,702,184
model-00002-of-00002.safetensors4,170,342,232
original/model.safetensors13,761,300,984
metal/model.bin13,750,886,400
tokenizer.json27,868,174
model.safetensors.index.json36,355
chat_template.jinja16,738
original/dtypes.json13,082
LICENSE11,357
README.md7,095
tokenizer_config.json4,200
config.json1,806
.gitattributes1,570
original/config.json376
USAGE_POLICY200
generation_config.json177
special_tokens_map.json98

All 18 files the tree API returned are listed: every one of the 4 safetensor shards plus 14 other files. Files tab: https://huggingface.co/openai/gpt-oss-20b/tree/main.

05

Continuum serving

OpenRouter slug openai/gpt-oss-20b on the 2026-08-19 catalog.

First party: https://platform.openai.com/docs/models.

Not on the Continuum host list fetched 2026-08-19.

Continuum hosted id not on the host list

We list first-party and OpenRouter, plus Continuum only when the live public allowlist named the id. This is not a 15-host routing table.

06

Economics

OpenRouter 2026-08-19: $0.03 in / $0.13 out per 1M tokens. Context 131,072 in / 131,072 out.

No separate internal-reasoning price on that row.

Price this model Opens the pricing calculator preloaded with gpt-oss-20b.
07

Provenance

ClaimSourceAs of
OpenRouter id openai/gpt-oss-20b; context 131072; created 1754414229; $0.03 / $0.13 per 1MOpenRouter /api/v1/models2026-08-19
AA Intelligence Index 15 (high); 9 printed Index benchesArtificial Analysis model page2026-08-19
OpenRouter id openai/gpt-oss-20b, context 131,072OpenRouter /api/v1/models2026-08-19
HF downloads 7,682,588Hugging Face API openai/gpt-oss-20b2026-08-19
HF safetensors.total: 21,511,953,984 stored tensors; HF API usedStorage 41,382,448,021 bytes; created 2025-08-04T22:33:29.000Z; HF tensors BF16 + U8Hugging Face API openai/gpt-oss-20b2026-08-19
4 safetensor shards; shard bytes 27,522,617,888; tree files 18Hugging Face tree API openai/gpt-oss-20b2026-08-19
08

Compare, FAQ, and Get Plus

No other card in this cluster shares a published DeepSWE official row we can put next to this one. We will not compare on vendor-blog numbers.

Continue through OpenAI's model family with GPT-5.6 Luna Pro.

FAQ

Why does the lab blog disagree with DeepSWE or Scale?

Lab posts pick a harness, an effort, a split, and sometimes a private eval set. DeepSWE publishes the official mini-swe-agent row with cost, tokens, and steps. Scale SWE-bench Pro only counts when the public shared-harness board has a row we can fetch. A higher lab number is usually a different test, not a better one.

OpenAI-compatible call

No Continuum hosted id is verified for this model, so this page does not invent a curl target. Use the first-party API or the OpenRouter slug openai/gpt-oss-20b.

Plus is $25/mo with $25 weekly hosted usage. The Mac app stays free with your own keys. Get Plus is not Download for Mac.