---
title: "Context window"
spanish: "ventana de contexto"
aliases: ["context windows"]
category: "How models work"
description: "The maximum amount of text, measured in tokens, that a model can take into account at once: the conversation, attached documents, its instructions and its own answer. It is its working memory."
updated: 2026-11-11T15:57:33.364Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/context-window"
---

# Context window

- Also called: context windows
- Category: How models work

The maximum amount of text, measured in tokens, that a model can take into account at once: the conversation, attached documents, its instructions and its own answer. It is its working memory.

## What it is

The context window is everything the model “sees” at a given moment: the [system prompt](https://www.jmcliment.com/en/glosario/system-prompt), previous messages, the files you give it and what it is writing. It’s not the same as what it learned in training. It’s measured in [tokens](https://www.jmcliment.com/en/glosario/token), and each model has its own.

## In practice

That’s why, in very long conversations, the assistant can seem to forget what you told it at the start: it no longer fits in the window, or the tool has had to summarize it to make room. If you’re going to ask it to compare two 200-page reports, a large window saves you from splitting up the documents.

## Watch out for…

Just because something fits doesn’t mean it gets used well. With a lot of text, models can miss details. For important tasks, open a new conversation for each topic and make clear in your message which part of the document you care about.

Learn more: <https://www.ibm.com/es-es/think/topics/context-window>

## Appears in

- [Google unveils Gemini 4 Argon and its family](https://www.jmcliment.com/en/blog/gemini-4-argon)
- [Claude Fable 5.2: what's new, what people say](https://www.jmcliment.com/en/blog/claude-fable-mythos-5-2)
