Tokens
AI Fundamentals
Tokens are the chunks of text (words, parts of words, punctuation) that AI language models process, and the unit used to measure their limits and usage.
A context window is the maximum amount of content, measured in tokens (small chunks of text or other data), that an AI model can work with at one time. It covers everything in play for a single request: your instructions, the conversation so far, any documents or images you attach, and the response the model writes. If something falls outside the window, the model cannot see it when it answers, even if you shared it earlier.
Also called context length
An associate at a commercial law firm uploads a long supply agreement, with several schedules, to the firm’s approved AI assistant and asks for every termination right and its notice period. If the whole contract fits in the context window, the model can link a term defined early on with an obligation near the end.
If it does not fit, the tool may read only the opening portion or search for passages that look relevant, and the answer can quietly miss a clause, such as one in the final schedule. A safer approach is to work through the agreement in parts, include the definitions clause with each, ask for every termination right and notice period in each part, then combine the lists. Either way, a lawyer checks every cited clause against the original before relying on it.
Every time you send a message, the AI tool packages up everything the model needs to see and sends it as one request. The context window is the limit on how big that package can be. It is measured in tokens, the small chunks of text that models read and write, rather than in words or pages.
Several things share that space:
Because it is one shared budget, a very large attachment leaves less room for everything else, including the answer. Many providers also set a separate, smaller cap on how long a single response can be. Window sizes vary widely by model and have grown a great deal over time, from around a thousand tokens in some early models to hundreds of thousands, or even millions, in some newer ones. The app you use may set its own limit too, so check its documentation.
Think of the context window as the model’s working memory for a single request: nothing carries over to the next request unless the app sends it back in.
When a request would exceed the context window, apps handle it in different ways. Some show an error or refuse a file that is too large. Some quietly drop the oldest messages in a conversation. Others cut off part of a document, search a large file and pass along only the passages that look relevant, or automatically summarize earlier parts of the chat to make room. You are not always told which of these happened.
In practice, this shows up in a few ways:
Even within the limit, models do not always use a long context evenly, and details in the middle of a very long input can be overlooked. When information is missing, a model may still give a confident answer, which is one way an AI hallucination can happen.
These three are often confused, but they work at different levels.
The practical takeaway: a model does not “remember” a document you shared last week unless the app stores it and brings it back into the context window. And because saved memories are placed into the window, they take up some of the same space as everything else.
A few habits can help you get more reliable results when work is long or document-heavy:
A larger context window helps when a task needs all the material at once, such as comparing two long reports for contradictions or tracing a theme across a long policy manual. But bigger is not automatically better: filling a large window can cost more and can be slower, and, as noted above, the model may not weigh every detail equally.
Go beyond the terminology. Explore practical AI training, workflows, and tools from SN3 Group.
Fill this out and we’ll reply with times within one business day.
Prefer the full page? Open the contact page