What is a Context Window?

A context window is the maximum amount of text an AI model can consider at once — both your prompt and its reply. It is measured in tokens (roughly, word fragments). Everything outside the window is invisible to the model.

Updated July 22, 2026·5 min read·~8 min to learn·The Tool Money Lab editorial team
On this page

Definition

The context window is the token budget an LLM can read and write within a single request, covering the prompt, retrieved data, previous turns and the response itself.

Simple explanation

Think of the model's context window as its short-term memory. Bigger windows mean the model can 'see' more at once — a longer document, more chat history or more retrieved data.

When a conversation gets long, older messages may be pushed out. When you paste a huge document, only what fits will be processed.

Why it matters

The context window determines what an AI system can actually do in one shot. Long-context models power document analysis, code understanding and long conversations without losing thread.

It also determines cost — longer inputs cost more and take longer.

How it works

  1. 1
    Tokenise
    Your input is split into tokens (roughly 3-4 characters each on average).
  2. 2
    Budget
    All tokens — prompt, history, retrieved docs, reply — must fit within the model's limit.
  3. 3
    Truncate or summarise
    Systems drop or compress older content to stay within budget.

Real examples

Products named for illustration only. Inclusion is not an endorsement.

  • Gemini 2.5
    Up to 2M-token windows suited to very long documents.
  • Claude Sonnet 4.5
    Long-context reasoning across code repositories.
  • GPT-5
    Large windows tuned for reasoning tasks.

Advantages

  • Bigger windows unlock document-scale tasks.
  • Long conversations feel coherent.
  • More retrieved context can be shown at once.

Limitations

  • Cost and latency rise with input length.
  • Models can still miss detail in the middle of very long inputs.
  • Bigger is not always better — precision often beats volume.

Common misunderstandings

  • Claim
    A larger context window means the AI remembers between chats.
    Reality
    It does not — memory across sessions is a separate feature.
  • Claim
    More context always means better answers.
    Reality
    Beyond a point, irrelevant context reduces answer quality.

Frequently asked questions

How many words is one million tokens?

Roughly 700,000 English words.

Does context reset when I start a new chat?

Yes, unless the product has an explicit memory feature.

Is a bigger context always better value?

No — for narrow tasks a smaller, cheaper model often wins.

The Tool Money Lab perspective

Long-context is one of the most under-marketed capability jumps of the last two years. Analyst-grade document work that took hours can now be first-drafted in minutes.

Conclusion

Context windows define what a model can see. Bigger windows enable bigger tasks — but only if the input is signal, not noise.

Design prompts and RAG pipelines to feed the model what it needs, not everything you have.

Keep learning
Relevant reviews
Relevant comparisons
Buying guides
From our editorial team
Intelligence Brief

Stay Ahead of AI

Receive our weekly Intelligence Brief. Independent AI reviews, comparisons, new tools and practical recommendations delivered every Friday.

  • New AI tools
  • Honest reviews
  • Best AI deals
  • New comparisons
  • Industry trends
  • No spam.