Zenaique
Glossary · Architecture

Decoder-Only

Also known as: Decoder only, Causal LM

Single autoregressive transformer stack: the shape of every modern frontier LLM.

A transformer architecture using a single autoregressive stack that consumes input and generates output as one sequence. The dominant LLM shape: GPT, LLaMA, Claude, Gemini, Mistral, Qwen all use it.

In practice

Default architecture for all chat-class models. Knowing why it beats encoder-decoder at scale is a senior architecture interview must.

How it compares

Decoder-only is one stack with causal masking; encoder-decoder has two stacks with cross-attention between them.

Comparisons that include Decoder-Only

Related topics

Related terms