Technical

Context Window

Also known as: context length, token window

A context window is the maximum amount of text, measured in tokens, that a model can consider at once, including the prompt, any retrieved sources, and its own answer. It is finite, so it limits how many sources can ground a single answer and how much of each one the model actually reads.

A context window is the maximum amount of text a model can hold in mind for a single request, measured in tokens. It covers everything at once: the user’s question, the system instructions, any retrieved sources, and the answer the model writes. Because it is finite, it acts as a hard ceiling on how much material can inform any given answer.

Why the limit shapes your visibility

When an engine answers with sources, it does not stuff the whole web into the window. It retrieves a set of passages and includes only as many as fit alongside the question and the reply. That means an answer is typically grounded in a small number of sources, and the engine leans on relevance ranking to decide which ones make the cut. If your passage is long-winded or only loosely relevant, it is more likely to be trimmed or excluded. This is one reason chunking content into tight, clearly relevant sections helps.

What it means for you

Make your most useful content easy to include.

  • Keep key passages concise so they fit without crowding out relevance.
  • State the point early so a partial read still captures it.
  • Be unambiguously on-topic for the questions you target.

The context window is where grounding actually happens inside the large language model. For how selection plays out, see how LLMs choose which brands to recommend.

Frequently asked questions

What is a context window?

It is the model's working memory for a single request, measured in tokens. Everything the model sees, the question, retrieved passages, instructions, and its own reply, has to fit inside it. Once full, older or lower-priority content gets left out.

How does the context window affect which sources get used?

Because space is limited, an engine can only fit a handful of retrieved passages into the window. It tends to include the most relevant ones and drop the rest, so being clearly relevant and concise improves your odds of being one of the sources that grounds the answer.

Do bigger context windows change AI visibility?

They help, but they do not remove the need to be selected. Even large windows are finite and filled by relevance ranking. Clear, well-scoped passages still compete to be included, so the fundamentals do not change.

See where you stand in AI answers

Rankry tracks how ChatGPT, Gemini, Perplexity, Claude and Grok mention and recommend your brand, then tells you what to fix.

Try Rankry
← Back to the glossary · Updated July 2, 2026