# Context Window

> A context window is the limit, measured in tokens, on how much text a language model can read and take into account in a single request. The system instructions, the conversation history, any attached documents and the model's own answer all have to fit inside it. When the limit is reached, older content is dropped or the request fails, so you have to choose what the model sees.

URL: https://corrplus.net/glossary/context-window/
Updated: 2026-11-10
Corrplus Team

**Definition:** A context window is the limit, measured in tokens, on how much text a language model can read and take into account in a single request.

## How does a context window work?

A [large language model](/glossary/llm/) reads text as [tokens](/glossary/ai-token/), not as words. The context window is the maximum number of tokens it can process in one request. Input and output both count: system instructions, conversation history, attached documents, tool results and the answer the model writes. The limit differs from model to model and tends to grow with new releases.

## Why does the context window matter?

It decides three things: how much material you can show the model, how long a conversation can run, and what the request costs. Filling the window is not always a good idea. Longer contexts cost more and respond more slowly. A model can also overlook details buried in the middle of a long text.

That is why enterprise assistants do not send the whole archive to the model. With [RAG](/glossary/rag/), only the passages relevant to the question are retrieved and added to the context. How documents are split into chunks directly affects what fits.

## What to watch for

Token counts vary by language. Morphologically rich languages such as Turkish usually need more tokens than English for the same content, so fewer pages fit in the same window. Test with your own documents instead of relying on a general estimate.

Everything in the context is sent to the model provider. For documents with personal data, decide early what may enter the context, under GDPR or, for data processed in Türkiye, [KVKK](/glossary/kvkk/), Türkiye's data protection law.

## Frequently asked questions

### Is a model with a larger context window always better?

No. A larger window lets you pass more text at once, but every token is billed and responses take longer. In very long contexts a model can miss details in the middle. For most tasks, selecting the relevant passages gives better results than sending everything.

### Is the context window the model's memory?

It is not permanent memory. The model only sees the text sent in that request. A chat appears continuous because the application resends the history each time. Lasting knowledge needs a document index or a separate memory layer.

### What happens when the window is full?

It depends on the application. Some drop the oldest messages, some summarise the history, and some return an error. When a model forgets an early instruction in a long chat, this is usually the reason.
