Technical

Context Window

The maximum number of tokens an LLM can process in a single inference call. Modern models support windows from 8K to over 1M tokens.

Explained at five levels

Level 1

How much the AI can remember during one conversation — like a whiteboard that can only fit so many words.

Level 2

The amount of text an AI can "see" at once during a conversation. Bigger context windows mean the AI can handle longer documents and remember more.

Level 3

The maximum number of tokens an LLM can process in a single inference call. Modern models support windows from 8K to over 1M tokens.

Level 4

The fixed-length input buffer of an LLM, determining how much text can be jointly attended to. Longer context windows enable multi-document reasoning but increase compute cost quadratically with attention.

Level 5

The maximum sequence length over which the attention mechanism computes pairwise interactions — bounded by positional encoding scheme and memory, with recent advances in sparse attention, ring attention, and RoPE extrapolation extending effective context.

Definitions are educational summaries. Terminology can vary by source and context.

Sources