Skip to content
StackDecode
LLM Library
Dense decoderClosed (API only)Architecture animation

GPT-5

OpenAI's closed flagship, presented as a system that routes between fast and reasoning models.

At a glance

Made by
OpenAI
Released
2025
Type
Dense decoder
Access
Closed (API only)
Parameters
Not published
Active per token
Not published
Context window
Not published here
Attention
Not published

How it works

OpenAI describes GPT-5 as a unified system with a router that chooses between a quick model and a deeper reasoning model. Size and internals are not disclosed.

Architecture, step by step

This lab has not published the architecture, so this is a generic stack shown for illustration only.

× N layersText inTokenizerEmbedding + positionNormCausal self-attentionAdd (residual)NormFeed-forward (MLP)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/12
part:
Text in
1/12

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

What stands out

  • Routing between fast and thinking models
  • Closed weights
  • Architecture not disclosed

Keep in mind

The diagram is generic for illustration only.

Related models