SQUID ← All guides

Guides › Models

What is a context window?

Models · 1 min read

A context window is the maximum amount of information an AI model can consider at once, measured in tokens. It includes everything in the current conversation: your messages, the AI’s replies, instructions, and any documents or files you share. Think of it as the model’s working memory.

Early chatbots had context windows of a few pages. Modern models can often handle hundreds of pages, and some far more, so you can upload a long report, contract or codebase and ask questions about it in one go.

What happens when you exceed the context window: depending on the tool, the oldest messages may be dropped or summarised, and the model may forget early details. Even within the limit, models can pay less attention to information buried in the middle of very long inputs.

Tips for working with context windows:

  • Start a new chat when you switch topics
  • Restate key details in long conversations
  • Point the AI to the specific sections of large documents you care about

Common questions

What happens when I go past the context window?

The model can no longer see the earliest parts of the conversation or document, so it may forget details or instructions. Starting a new chat with a short summary helps.

Is a bigger context window always better?

It lets you work with longer documents, but the model may still pay less attention to details in the middle of very long texts. For important details, point the AI to the exact section.