AI & automation

What is a context window?

A context window is the maximum amount of text, measured in tokens, that a language model can take into account in one request, including the instructions, documents, conversation history and its own answer.

Why it matters

Long contracts, manuals or chat histories must fit within it, or be summarised or retrieved in parts. Modern models have large windows, but filling them costs more and can make answers less focused.

Working within it

Retrieve only the relevant passages instead of sending whole document libraries, summarise long conversations, and put the most important instructions clearly at the start or end.

Questions, answered

Not automatically. Relevant, well-organised context beats large amounts of loosely related text.

Only what is included in the context or stored and retrieved by the application.

By the Stegnor team · Updated