A long chat plus an attached document can use most of the available context before the answer begins.
Think of context as the model's working space for the current request. It can contain your instructions, earlier messages and attached text. Leave room for the answer as well as the input.
The app may trim or summarise older messages when that space fills up. A long conversation visible on screen can therefore differ from what the model receives for its next reply.
Your runtime can also use a smaller context than the model's advertised maximum. Ollama's context settings explain how to change the allocation and why larger windows need more memory.
For a question about one page, supply that page and ask a precise question. For a task spanning several sections, allow enough context for those sections. A bigger window helps fit more material; clear, relevant input helps the model use it.
Sources
Primary references checked 11 October 2026.