
Long context: when it pays to feed the whole document
A context window is the ceiling on how much a model can hold in a single request. Inside go the instruction, the document and the question. It is measured in tokens.
Common models top out at roughly a million tokens — on the order of fifteen hundred pages. Long context is the practice of using that whole window: the document is handed over in one piece, with no cutting into fragments. How the window itself works is covered on the page about the context window.
Why does this matter
- To understand why parsing a single contract costs pennies while the same practice across an entire knowledge base produces a surprise bill
- To know when it pays to hand the model the whole document and when four pages will do
- To ask a vendor for the size of a single request in tokens, not just the window size advertised with the model
What is long context in plain words
Before a meeting, a lawyer is handed a deal folder. The contract, the annexes, the schedules of disagreement, the correspondence — all within reach. Questions are answered on the spot, without a trip to the archive for every reference.
Long context is the same folder for a model. A single request carries not a paragraph but the entire document, and the question is asked against it. The size of the folder is measured in tokens: common models top out at roughly a million, which is on the order of fifteen hundred pages.
The size of the folder is precisely the context window. Long context is a way of using it: the document is not cut up, it is handed over whole.
The figures below are calculated benchmarks for a company of this profile, not a report on a specific deployment. Each comes with its method, so it can be reproduced on any set of data.
How does it work
- The size of the document is measured. A public benchmark for Russian text: 32 thousand tokens is roughly 60 pages, or about 530 tokens per page. A contract of that size takes up exactly those 32 thousand.
- A decision is made about what goes into the request. The whole document, a subset of sections, or retrieved fragments. That decision is what determines the bill.
- The document is sent together with the question. The model sees text only inside the request. It does not remember the previous file: on the next question it is sent again.
- The fixed part is cached. The same policy manual goes to the model a hundred times a day. Repeat submissions are billed by the provider at a reduced rate.
- Time and accuracy are measured. Volume drags response latency and request cost along with it. Answers drawn from the middle of the document are checked with a separate sample.
The main trap is simple. The document goes into the request afresh with every question. Twelve questions about one contract means twelve times 32 thousand tokens.
A case from practice
A procurement department reviews supply contracts: 40 documents a month, 60 pages each on average. Each contract draws about 12 questions — deadlines, penalties, termination terms.
The full contract runs to roughly 32 thousand tokens by the public benchmark. Twelve questions come to 384 thousand input tokens per document, about 15 million across the monthly flow. The arithmetic here is plain: volume multiplied by the number of questions and by the flow — no measurement involved.
The volume is then split across two modes. The first pass sends the whole contract in one request to build a map of the sections. The remaining eleven questions are aimed at four or five retrieved pages, about 3 thousand tokens per question. Monthly volume falls to roughly 2.6 million tokens.
Accuracy is checked throughout on a shared sample: 50 questions with answers labelled by a lawyer by hand. The run is done before and after the switch of modes.
What does this give a business
- Documents are parsed with no preparation. A contract, a policy manual, a technical brief go to the model exactly as they are. No labelling, no knowledge base, no integration: the first result arrives on the day of launch.
- Links between sections are visible as a whole. A clause on penalties contradicts an annex on page 47. That kind of thing surfaces only when both pages sit in the same request.
- The bill becomes calculable. Volume in tokens is multiplied by the rate and by the number of questions before anything starts. The order of magnitude for a given process can be sketched with the budget calculator.
- A choice of mode appears. Where the questions are repetitive, part of the volume shifts to fragment search. The bill covers pages instead of the whole volume.
When can this be skipped
Short enquiries do not call for long context. A customer question and an order record take a couple of thousand tokens. A million-token window sits idle here. Idling costs nothing: billing follows the volume actually sent.
Nor is it needed where the answer always sits in one known section. A three-page instruction is sent whole and costs little. The choice of mode starts to move money at around tens of pages per request.
What is worth checking
First: accuracy in the middle of the volume. Answers to questions from the start and the end of a document are usually steady; the dip falls in the middle. A sample of 30–50 labelled questions shows exactly where the working boundary runs for a particular set of documents.
Second: response time. Fifty pages in a request means seconds of waiting. In customer support that shows far more than in an overnight contract review. The measurement is taken on real traffic, not on a single test file.
Third: the breakdown of a single request. Ask the vendor to show how many tokens go to the instruction, how many to the document itself, how many to the message history. That reveals what to move to cache and what to move to fragment search — and how much request preparation will change the bill.
Frequently asked questions
What is long context in plain words?
It is a model's ability to keep a large body of text in view at once: a contract with its annexes, a policy manual, an email history. The size is measured in tokens, and common models top out at roughly a million. Anything that does not fit is invisible to the model, so it fills the gap with guesswork.
What is a context window?
A context window is the ceiling on how much a model can hold in a single request: the instruction, the document and the question together. It is measured in tokens. Common models top out at roughly a million tokens, which is on the order of fifteen hundred pages of Russian text. Anything past that ceiling never reaches the answer.
What happens when the context window is full?
Text beyond the edge of the window is invisible to the model. That is why the volume is calculated in advance — with the token counter of the model in use — and a decision is made about what goes into the request: the whole document, selected sections, or retrieved fragments. The fixed part, the instruction and the policy manual, is cached: repeat submissions are billed at a reduced rate.
How does long context differ from a context window?
The context window is the quantity itself, the ceiling on volume per request. Long context is a working practice: the document is handed to the model whole instead of being cut into fragments and searched. The window sets the ceiling; the practice determines how that ceiling is used and what it costs.
How many pages fit into long context?
A public benchmark for Russian text: 32 thousand tokens is roughly 60 pages. That works out to some 500–550 tokens per page of business prose. A one-million-token window already holds on the order of fifteen hundred pages. But the full volume is billed on every single request. The exact figure for a given set of documents comes from the token counter of the model in use.
Which is cheaper — long context or search over a knowledge base?
Parsing one document in a single pass is cheaper and faster with long context: almost no preparation is needed. A permanent base of thousands of documents is cheaper to run with fragment search: a few pages go into the request instead of the whole library. Both modes are often kept on hand, with the choice made according to the size of the task.
How can answer quality on a long document be checked?
A sample of 30–50 questions is assembled. Their answers must sit in different places in the document: at the start, in the middle, in the annexes. The sample is run and compared against a human-labelled reference. The share of correct answers drawn from the middle of the volume is tracked separately — it is usually lower, and it is what sets the limit of applicability.
Let’s discuss your project?
Tell us about your process — we’ll suggest where AI pays off fastest.
Related articles

What is a context window, and why does the model "forget"?
A context window is the limit on how much text a model can see in a single request: instructions, documents, the question, and the conversation history all count together, and anything past the limit is dropped silently.

What Is a Token and Why You Pay for It
A token is a chunk of text roughly three quarters of a word long: the model reads a request in tokens, and the provider bills for how many there are.