Skip to content

Context window in AI: how to work with long texts in Kotia

Learn what fills the model's context window, why a long chat may refuse a new file, and the steps to take when the context counter is full.

Updated

A context window is the amount of information the model can work with in a single request. It includes the task, the materials you provide, the part of the conversation that is available, and the working instructions. The more data there is, the less room is left for new sources.

In Kotia, a counter next to the input field shows how full the context is. It helps you split a large material into parts in time or start a new conversation with the necessary details. The context percentage does not show your remaining token balance.

Example: two reports don't fit together

You attached a large report and discussed several of its sections, then added a second report for comparison. Even if the new question is short, the model still needs the materials themselves and part of the conversation. Together, they may exceed the available amount.

If the comparison needs only the terms of service, share the relevant sections of both documents. If you need a full overview, first analyze each report separately, then compare the verified summaries in a new conversation.

What takes up context

Data Why it matters
Your current request Contains the task and constraints
Materials from files and accessible pages Provide the factual basis for the answer
Part of the conversation in use Keeps the clarifications needed for the current work
Assistant instructions and settings Define the rules for completing the task

So the counter may show a non-zero value even before you send a long message. Neither the file size on disk nor the number of printed pages lets you determine exactly how much space a document will take up in the model's context.

What to do if a message won't send

  1. Check the context counter. If the available amount is exceeded, sending is blocked.
  2. Remove attachments from the new message that are not needed for the current question.
  3. Keep only the relevant fragments of sources instead of full documents, if the task allows it.
  4. For a large material, prepare parts and work through them in separate conversations. Save the conclusions and indicate which section each one relates to.
  5. For the final comparison, create a new conversation and share the summaries, criteria, and the necessary source fragments.
  6. If a suitable model with a larger context is available, consider it for the task. This does not replace checking which information really needs to be shared.

Exact steps for the counter are described in the chat guide.

How to continue in a new conversation without losing the task

Save a short working brief: what you are preparing, for whom, which decisions have already been made, which facts have been confirmed, and what is still left to do. Pass it to the new conversation along with the sources you need.

For example:

We're continuing the comparison of two reports. We need a table of service terms. The attachments are verified excerpts with section numbers. Keep the distinction between mandatory terms and additional services. If the excerpts don't allow a conclusion, note this.

A new conversation should not have to guess which decisions have already been made. You can store general preferences through assistant memory, but it does not replace a full archive of sources.

How context differs from cost

The size of the context window limits the amount of information available to the model when it responds. Payment also depends on the model, the result, and the services used. Free context space does not mean the work is free. Topping up your balance does not increase the size of the context window.

To see actual charges, check your balance history.