Glossary · Definition
Context window
In one sentence
The maximum amount of text, measured in tokens, that a language model can take into account at once when generating a response.
The context window is the model’s “working memory.” It includes the instructions, the earlier conversation, the documents you provide and the response itself. Whatever falls outside the window, the model simply does not see.
Today’s models have windows ranging from a few thousand to hundreds of thousands of tokens, and some exceed a million. But a large window does not guarantee the model uses all the information well: quality can drop with very long texts.
Example: you paste an 80-page contract and ask about a clause near the end. If the window is big enough, the model can answer; if not, the system has to trim the text or use RAG to send only the relevant passages.
In local AI, a larger window uses more VRAM, so you have to balance model size and context length.
At Orbian: beyond the conversation itself, Orbi uses Memory to remember useful details between sessions: notes, memories and conversations, connected, always visible and editable or deletable by you.
Explanatory definition prepared by the Orbian team. On legal topics it is for general guidance only and is not a substitute for professional advice.
At Orbian
Pages where you can see this concept in practice.
Want it with your own examples?
Ask Orbi. It explains it using your own cases, in your own words.
Meet OrbiRelated terms
- Token (AI)The smallest unit of text a language model processes: a word, part of a word or a symbol. It is used to measure context and cost.
- LLM (large language model)An AI model trained on huge amounts of text to predict the next word, able to write, summarise, translate and reason about text.
- RAG (retrieval-augmented generation)A technique that finds relevant information in your documents and hands it to the AI model before it answers, so the reply is grounded in specific, citable data.
- VRAMThe graphics card’s own memory; in local AI it determines how large a model you can load and how long a context window you can use.

