Skip to content
Glossary

Context window

The maximum amount of text, measured in tokens, that a language model can consider at once, covering its instructions, the conversation, sources and reply.

By Syed Ali · Updated

What a context window is

A context window is the working memory of a large language model. It is the maximum amount of text the model can look at in one go, measured in tokens. Anything outside the window does not exist for the model during that request.

The window is shared. The system prompt, the ticket conversation, the help center passages retrieved for the question and the reply the model writes all count toward the same limit.

Why it matters in support

Support conversations can get long. A ticket with 30 back-and-forth messages, pasted logs, a forwarded email chain and an attached document can be a lot of text. Add a detailed system prompt and several help center articles, and the window fills up.

When it does, something gets cut. If the cut removes the customer's account details from message three, the AI asks for them again. If it removes the step the customer already tried, the AI suggests it again. Both make customers feel unheard.

What uses up the context window

Part Typical content How to keep it lean
Instructions Rules, tone, format Remove rules that never apply
Conversation Every message on the ticket Summarize older messages
Retrieved sources Articles, past tickets Retrieve fewer, better passages
Attachments Logs, documents, screenshots Extract the relevant parts
Output The reply itself Ask for concise answers

How AI systems handle long tickets

  1. Summarize as they go. Older parts of the thread are condensed into a short summary that keeps the key facts.
  2. Retrieve selectively. Retrieval-augmented generation picks the few most relevant passages instead of loading the whole help center.
  3. Keep identifiers. Order numbers, account details and steps already tried are preserved, even when other text is dropped.
  4. Trim noise. Signatures, quoted replies and disclaimers are removed before the model sees them.

Bigger is not automatically better

Context windows have grown a lot, and some models can take in whole manuals. But a larger window costs more per request, can respond more slowly, and the model may pay less attention to a key detail buried in the middle. Selecting the right content is usually worth more than adding more.

Context windows in practice

For a support team, the practical signs of context trouble are AI replies that repeat questions or ignore earlier messages on long tickets. Test your tools on your longest threads, not your shortest.

Pluno's AI Copilot keeps a Ticket Summary of the conversation so far in the sidebar, updated as new messages arrive, and drafts each reply with its references. The AI Copilot docs describe what it reads on each ticket.

Frequently asked questions

It is the limit on how much text a language model can take in and produce in a single request. Everything the model uses, from instructions to the ticket history to retrieved articles, must fit inside it.

Something has to be left out. Systems usually drop older messages, summarize the thread or keep only the most relevant parts. If they cut the wrong parts, the model loses details the customer gave earlier.

Not always. Larger windows hold more, but cost more, take longer and can make it harder for the model to focus on the passage that matters. Choosing the right content often beats adding more.

The window is measured in tokens, the small pieces of words a model reads. A token is often around three quarters of an English word, but it varies by language and content, such as code or long IDs.