Skip to content
StackDecode
LLM Library
Mixture of expertsOpen weightsArchitecture animation

gpt-oss

OpenAI's open-weight reasoning models, built to run on one GPU.

At a glance

Made by
OpenAI
Released
2025
Type
Mixture of experts
Access
Open weights
Parameters
120B and 20B
Active per token
about 5B and about 4B
Context window
128k tokens
Attention
Alternating sliding-window and full attention, GQA

How it works

gpt-oss comes in 120B and 20B mixture-of-experts sizes. The weights are stored in a 4-bit format so the larger model fits on a single large GPU, and they support adjustable reasoning effort.

Architecture, step by step

A token travels from text in to prediction out. The boxed layers repeat many times.

× N layersText inTokenizerEmbedding + positionNormSelf-attentionAdd (residual)NormRouter picks top-k expertsSelected experts (MLPs)Add (residual)Final normLM head (vocabulary scores)Softmax, then sample next token

Raw text enters the system, for example "The cat sat on the".

stage:
1/13
part:
Text in
1/13

The green dot is one token travelling through the model. The boxed section repeats for every layer.

What stands out

  • MoE with few active parameters
  • 4-bit weights for the experts
  • Apache 2.0 licence

Keep in mind

Text only. Check the model card for exact parameter counts.

Related models