Skip to content
Figure 2: GPT-2 XL 1.5B · diagram by Sebastian Raschka · click to zoom
DenseOpenAI 🇺🇸 · November 5, 2019

GPT-2 XL (1.5B)

Late-2019 dense baseline included here as a reference point for how much decoder stacks have changed since GPT-2.

Key detail

Classic GPT-2 recipe with dropout, GELU, LayerNorm, and full multi-head attention.

Parameters

1.5B

Context

1K

KV / token

300 KiB

Fact sheet

Scale
1.5B parameters
Context window
1,024 tokens
Decoder type
Dense
Attention
MHA with learned absolute positional embeddings
Layer mix
48 MHA
KV cache / token (bf16)
300 KiB · High
License
OpenAI "Modified MIT" license
Released

Efficiency

Parameters active per token

100%

Dense: every weight runs for every token.

KV cache per token (bf16)

300 KiB

Smaller than 11% of models in the atlas. How it’s calculated

Architecture concepts

Use the ← and → keys to step through releases.

Similar architectures

  • Architecture diagram of Ouro-Thinking (2.6B)

    ByteDance, released 2025-10-29. Dense decoder, 2.6B parameters, 64K context. Attention: MHA with RoPE.

  • Architecture diagram of OLMo 2 (7B)

    Ai2, released 2024-11-25. Dense decoder, 7B parameters, 4K context. Attention: MHA with QK-Norm.

  • Architecture diagram of OLMo 3 (7B)

    Ai2, released 2025-11-20. Dense decoder, 7B parameters, 64K context. Attention: MHA with QK-Norm and 3:1 sliding-window/global attention.

  • Architecture diagram of Llama 3.2 (1B)

    Meta, released 2024-09-25. Dense decoder, 1B parameters, 128K context. Attention: GQA.

Search the atlas

Jump to a model, concept or page