---
title: "What is the context window? A model’s working memory."
url: https://www.bonbay.fr/en/ia/comprendre-ia/lexique-ia/fenetre-de-contexte/
site: "Bonbay IA"
description: "The context window is the amount of text a language model processes in one go. Definition, business use and confusions to avoid."
updated: 2026-11-13
---

# What is the context window? A model’s working memory.

> The context window is the maximum amount of text, measured in tokens, that a language model can process at once. It includes the instructions, the documents provided, the conversation history and the answer. Anything beyond it is ignored. Its size varies widely from one model to another.

The context window is the amount of text a model can take into account at once.

## En bref

- **A strict limit** Beyond the window, the model can no longer see the start of the conversation or document.
- **Everything in it competes for space** Instructions, attachments and earlier exchanges share the same space.

## In practice in a business

It determines whether an assistant can read an entire contract or only extracts. When documents are too large, the relevant passages are selected before being passed on, for example with RAG.

## Not to be confused with

It is not a lasting memory: nothing is retained from one conversation to the next unless an extra mechanism is added. Nor is it what the model learnt during training.

## Questions fréquentes

### Is a larger window always better?

Not necessarily. The more text you put in, the more the call costs, and the model may overlook details buried in the middle.

### What happens when it is full?

Depending on the tool, the oldest exchanges are removed or summarised, or the request is refused.

### How is it measured?

In tokens, the unit into which language models split text.
