CustomLabs
Foundations

Context Window

The context window is the maximum text, measured in tokens, a model can consider at once.

It spans the prompt, retrieved documents, conversation history, and the model's own output.

A larger window does not mean it should be filled, since cost scales with tokens processed.

Good retrieval still beats brute-force stuffing in every relevant document.

Sizing the window is a cost and latency decision as much as a capability one.

← Back to the full glossary

Source: https://customlabs.io/glossary/context-window/

navigate select esc close