gpt-oss

OpenAI · 2025-08-05 · analysed 2026-08-10 · skill v0.3.5

sparse-MoE hybrid text-only open-weights frontier reasoning-specialised

Design overview

gpt-oss-120b and gpt-oss-20b are OpenAI's first open-weight MoE release: 36-layer (24-layer) decoder-only transformers with a 2880-wide residual stream, RMSNorm with Pre-LN placement, and an explicit GPT-2/GPT-3 lineage. Every MLP block is a router MoE — 128 experts (120b) or 32 (20b) with a linear router selecting the top-4 experts per token, outputs weighted by a softmax over the selected experts only, using a gated SwiGLU activation that (unusually) includes clamping and an internal residual connection. Attention follows the GPT-3 sparse-transformer pattern, alternating banded-window (128-token bandwidth) and fully dense layers; each layer has 64 query heads of dimension 64 with GQA over 8 KV heads, RoPE, and a learned per-head bias in the softmax denominator (off-by-one attention / attention-sinks style) that lets a head attend to nothing. Dense layers are extended to 131,072 tokens via YaRN. The card's distinctive engineering is deployment-focused: MoE weights are quantized post-training to MXFP4 (4.25 bits/parameter), fitting 120b on a single 80GB GPU and 20b in ~16GB, and the o200k_harmony tokenizer adds chat-format tokens. Post-training is o3-style CoT RL with three configurable reasoning levels, a harmony chat format with a System > Developer > User > Assistant > Tool hierarchy, and agentic tool use (browse, Python, developer functions). As a model card, it discloses far less architecture than technical reports of comparable MoE peers.

What the report claims is novel

Atlas assessment: A conventional decoder-only MoE in the GPT-2/GPT-3 lineage with two distinctive touches: the revived GPT-3 sparse-transformer pattern (alternating banded-window/dense attention, here with GQA, RoPE and YaRN extension) and a learned per-head softmax-denominator bias for 'attend to nothing' (off-by-one attention family). vs DeepSeek-V3, the closest atlas MoE peer: far shallower (36 vs 61 layers), far fewer active params (5.1B vs 37B), top-4 of 128 experts with no shared expert, no MLA, no disclosed load balancing, and no MTP; the report also lacks any MoE training-stability discussion. The MXFP4-native release — quantization applied during post-training at 4.25 bits/parameter and treated as a first-class artifact (checkpoint sizes given in GiB) — is distinctive among atlas entries. The reasoning post-training (o3-style CoT RL with variable low/medium/high effort) extends the deepseek-r1 RLVR line with an explicit test-time effort control that no other atlas record implements; the model card's safety apparatus (adversarial fine-tuning simulations) is unique in the atlas but not architecture.

Relation to the atlas

Lineage in

Influence out

Notable omissions

Closest relatives in the atlas

Spec sheet

Identity

Familygpt-oss[1]
OrganisationOpenAI[2]
Release date2025-08-05[3]
Report URLhttps://cdn.openai.com/pdf/419b6906-9da6-406c-a19d-1bb078ac7637/oai_gpt-oss_model_card.pdf[4]
LicenseApache 2.0 (plus the gpt-oss usage policy)[5]
Open weightsyes[6]

Variants

Scale

Total parameters116.83B[7]
Active parameters / token5.13B[7]
Layers36[8]
Hidden dimension2880[9]
FFN inner dimensionnot disclosed
FFN rationot disclosed
Query heads64[10]
KV heads8[11]
Head dimension64[12]
Vocabulary size201088[13]
Embedding tyingnot disclosed

Per-variant configs

VariantTotalLayersHiddenFFNQ headsKV headsContext
20B20.91B242880not disclosed648131,072

Core block

Block typesparse-MoE[14]
Attention varianthybrid[15]
Attention layer patternalternating banded-window (bandwidth 128) and fully dense attention layers, following GPT-3[15]
Depth mixingsequential-residual
Activationgated SwiGLU[15]
Expert count128[16]
Experts per token4[17]
Shared experts0
Routingstandard linear router projection mapping residual activations to expert scores; top-4 selected per token; each expert's output weighted by the softmax of the router projection over only the selected experts[15]
Load balancingnot disclosed
Expert granularitynot disclosed
MethodRoPE[18]
RoPE base frequencynot disclosed
Partial RoPEno
TypeRMSNorm[19]
Placementpre[20]
QK-normno
Attention sinksno
Softcappingno

Context

Trained context lengthnot disclosed
Deployed context length131,072[15]
Extension methodYaRN[15]

Tokenizer

AlgorithmByte Pair Encoding (BPE)[21]
Noteso200k_harmony tokenizer: extends the o200k tokenizer used for other OpenAI models such as GPT-4o and o4-mini with tokens explicitly used for the harmony chat format; open-sourced in the TikToken library; 201,088 total tokens (vocab size lives in scale.vocab_size)[21]

Training

Training tokensnot disclosed
Data compositiontext-only dataset with trillions of tokens, with a focus on STEM, coding, and general knowledge; data filtered for harmful content in pre-training, especially hazardous biosecurity knowledge, by reusing the CBRN pre-training filters from GPT-4o; knowledge cutoff of June 2024[22]
Curriculum / stagingnone disclosed
Optimizernot disclosed
LR schedulenot disclosed
Batch schedulenot disclosed
Precisionnot disclosed
Parallelismnot disclosed
HardwareNVIDIA H100 GPUs; PyTorch framework with expert-optimized Triton kernels; Flash Attention used to reduce memory and accelerate training[22]
Disclosed compute2.1 million H100-hours for gpt-oss-120b; gpt-oss-20b 'needing almost 10x fewer'[22]

Post-training

SFTyes
Preference optimisationother[23]
Reasoning trainingo3-style CoT RL teaching reasoning and tool use; variable-effort reasoning training with three levels (low, medium, high) configured via system-prompt keywords such as 'Reasoning: low'; agentic tool use trained via a browsing tool (search/open functions), a Python tool in a stateful Jupyter notebook, and arbitrary developer functions; deliberative alignment for refusal behavior; instruction hierarchy training (System > Developer > User > Assistant > Tool)[24]
Distillationnone disclosed

Modality

Typetext-only[25]
Attachmentn/a[26]

Inference efficiency

KV-cache designGQA with 8 KV heads: KV cache scales with 8 shared heads instead of 64 query heads; banded-window layers restrict attention (and cache use) to a 128-token band
Quantisation shippedMXFP4 for MoE weights (4.25 bits per parameter), applied via post-training quantization; enables gpt-oss-120b to fit on a single 80GB GPU and gpt-oss-20b on systems with as little as 16GB memory; checkpoint sizes 60.8GiB / 12.8GiB[27]
Speculative decodingnone disclosed
Serving optimisationsnone disclosed

Evaluation

Benchmarks (report's own numbers only)

BenchmarkValueRef
AIME 2024 (no tools)95.8Table 3 (gpt-oss-120b, high reasoning level)
AIME 2024 (with tools)96.6Table 3 (gpt-oss-120b, high reasoning level)
AIME 2025 (no tools)92.5Table 3 (gpt-oss-120b, high reasoning level)
AIME 2025 (with tools)97.9Table 3 (gpt-oss-120b, high reasoning level)
GPQA Diamond (no tools)80.1Table 3 (gpt-oss-120b, high reasoning level)
GPQA Diamond (with tools)80.9Table 3 (gpt-oss-120b, high reasoning level)
HLE (no tools)14.9Table 3 (gpt-oss-120b, high reasoning level)
HLE (with tools)19.0Table 3 (gpt-oss-120b, high reasoning level)
MMLU90.0Table 3 (gpt-oss-120b, high reasoning level)
SWE-Bench Verified62.4Table 3 (gpt-oss-120b, high reasoning level)
Tau-Bench Retail67.8Table 3 (gpt-oss-120b, high reasoning level)
Tau-Bench Airline49.2Table 3 (gpt-oss-120b, high reasoning level)
Aider Polyglot44.4Table 3 (gpt-oss-120b, high reasoning level)
MMMLU (Average)81.3Table 3 (gpt-oss-120b, high reasoning level)
HealthBench57.6Table 3 (gpt-oss-120b, high reasoning level)
HealthBench Hard30.0Table 3 (gpt-oss-120b, high reasoning level)
HealthBench Consensus89.9Table 3 (gpt-oss-120b, high reasoning level)
Codeforces (no tools, Elo)2463Table 3 (gpt-oss-120b, high reasoning level)
Codeforces (with tools, Elo)2622Table 3 (gpt-oss-120b, high reasoning level)

Provenance references

  1. stated · Title ('gpt-oss-120b & gpt-oss-20b Model Card')
  2. stated · Title page (OpenAI)
  3. stated · Title page ('August 5, 2025')
  4. stated · pipeline
  5. stated · §1 ('available under the Apache 2.0 license and our gpt-oss usage policy')
  6. stated · §1 ('two open-weight reasoning models available under the Apache 2.0 license')
  7. stated · Table 1
  8. stated · §2
  9. stated · §2.2 ('Both models have a residual stream dimension of 2880')
  10. stated · §2.2 ('Each layer has 64 query heads of dimension 64')
  11. stated · §2.2 ('Grouped Query Attention (GQA) with 8 key-value heads')
  12. stated · §2.2 ('64 query heads of dimension 64')
  13. stated · §2.3 ('a total of 201,088 tokens')
  14. stated · §2 ('The gpt-oss models are autoregressive Mixture-of-Experts (MoE) transformers')
  15. stated · §2.2
  16. stated · §2.2 ('a fixed number of experts (128 for gpt-oss-120b and 32 for gpt-oss-20b)')
  17. stated · §2.2 ('we select the top-4 experts for each token')
  18. stated · §2.2 ('We apply rotary position embeddings')
  19. stated · §2.2 ('applying root mean square normalization [6] on the activations before each attention and MoE block')
  20. stated · §2.2 ('Similar to GPT-2 we use Pre-LN placement')
  21. stated · §2.3
  22. stated · §2.4
  23. stated · §2.5
  24. stated · §2.5, §3
  25. stated · §1 ('these text-only models')
  26. n/a · §1
  27. stated · §2.1, Table 1