Best AI Model for Long Documents
Choose an AI model for contracts, specifications and long documents: context windows, costs and the pitfall of sending everything.
Reading time: 9 min

The long documents — contracts, specifications, budgets, appraisals — are one of the most popular use cases and one of those where the worst is spent. The reason is almost always the same: you send everything to the model instead of selecting.
This guide explains when the large window really serves and when it is just a expense. Data on verified models on August 19, 2026 for Anthropic and OpenAI.
In summary
- On the high end the context no longer differentiates: all in the order of a million.
- The Big Window does not save: context is paid for with every call.
- The Model does not use uniformly the whole context.
- Selecting extracts almost always beats the send everything.
- The window serves when the document goes bed in full.
- Ask for the citation from the source makes answers verifiable.
The windows declared
| Model | Window | Maximum Output |
|---|---|---|
| Claude Fable 5.1 | 1M | 128K |
| Claude Opus 5 | 1M | 128K |
| Claude Sonnet 5 | 1M | 128K |
| Claude Haiku 4.5 | 200K | 64K |
| GPT-6 Astra | 1.05M | 128K |
| GPT-5.6 (Sol, Terra, Luna) | 1.05M | 128K |
Two observations. The first: on the high-end and intermediate-end the context has stopped differentiating — the values look alike and the choice shifts to cost, speed and quality.
The second, less obvious: the output limit remains much lower of input. You can feed a book, but don't receive a book in response. In practice it's the constraint you meet first, and that's what almost no one verifies at the project stage.
The trap of sending everything
The most expensive error in this area is also the most intuitive: if the model has a million-token window, you might as well use it.
There are three reasons why it is wrong.
It costs. Context is paid for with every single call. A 100,000-token document sent in full to each question costs, on a $2 input model, twenty cents per question — a thousand questions are two hundred dollars just of repeated context.
It doesn't improve the response. In practice, information at the beginning and end of the context is used more reliably than information buried in half. On a very long document, a detail on page 180 out of 400 can be overlooked even though technically the model has read it.
It hides the real problem. If a system needs to send everything, it usually means that no one has built a way of finding the relevant part — which is the piece that makes the system useful.
When the window really serves
You need to read everything
- Complete analysis of a contract
- Internal consistency check
- Comparison between two versions
- Full summary of a document
- Search for Contradictions
Just select
- Finding a Specific Clause
- Answering a Timely Question
- Extract known fields
- Check for information
- Searching an archive
The right column covers most real business requests, and in all the big window is a capacity that you pay for without using it. The left column is the one that justifies it: they are tasks in which the value lies precisely in holding the entire document together.
How to Get Verifiable Answers
An alternative to submit to the same method is Kimi for PDFs and documents. The comparison Kimi AI vs Claude links product choice to references, extractions, and work on the document.
On long documents the most concrete risk is not that the model does not find the information: it is that it produces a plausible reconstruction of it.
- Always ask for cite the point from which every statement comes
- Instruct the model to declare when not finding
- Put key instructions at the beginning or at the end, not in between
- On very long documents, Breaks in targeted requests
- Verify on a real case that the Faraway Details are collected
- Compare answer with text at least to sample
The first point is the most useful adjunct ever: it makes the answer verifiable by anyone in ten seconds, and it makes it evident when the model is reconstructing instead of reading. On documents that have contractual or legal consequences, it is not a detail but a condition.
Which band to choose
The task of "reading a long document and responding" is less difficult than it seems: it is recovery and reformulation, not multi-step reasoning. That is why the intermediate band is more often than expected.
The high end is justified when the task requires connect distant parts: understand how a clause on page 4 modifies that on page 27, identify contradictions, reconstruct a picture from scattered elements. That is true reasoning.
Volumes play in favor of the high end in this area: complex document analysis is typically a few tens per month, with a very high value per document. The unit price matters little when the cost of an error is large.
How Much Does a Long Document Cost
It is worth putting in concrete numbers, because it is an area where estimates go a long way wrong.
We take a 60,000-token contract —in the order of two hundred pages —and assume twenty questions about that document.
| Approach | Total input tokens | Mid-range cost |
|---|---|---|
| Full document to each question | 1.2M | ~2,40 $ |
| Selected Relevant Extracts | ~60K | ~0,12 $ |
Twenty times the difference on the same document and the same questions. On a single contract there are few euros; on a workflow that analyzes hundreds per month, the difference becomes the main item of the budget.
And the second line is not only cheaper: it answers even better, because the model receives relevant material instead of having to search in two hundred pages.
The output limit, the forgotten constraint
Everyone looks at the input window; hardly anyone looks at how much the model can produce. And that is the limit that is first encountered in many document projects.
A maximum output of 128K tokens is a lot for a response, but it becomes tight in three recurring scenarios.
- Translating a Long Document in full
- Rewrite or reformat a full text
- Producing a detailed summary of a very large document
- Generate a table with one line for each clause
In all four cases the solution is the same: break the work into parts and recompose it. It's not a serious limitation, but it needs to be planned — discovering it in the middle of development costs more than taking it into account from the beginning.
How Language Affects the Account
A practical detail that specifically concerns those who work in Italian: for the same content, Italian tends to consume a little more tokens than English.
It is not a difference that changes a decision, but it matters in two situations. The first is when comparing cost estimates found online, almost always calculated from English texts. The second is when you are close to a context-window or output limit: a document that would fit in English may not fit in Italian.
For a budget estimate the rule remains the general one: do not calculate at the table, but measure the tokens actually consumed on a hundred real cases, as explained in price per million tokens explained.
Practical examples
Law firm, looking for clauses. The question is timely: where do we talk about early withdrawal. There is no need to send the whole contract: you need a system that identifies the relevant sections. Mid-range or even economic, with an obligation to quote the point.
Competition office, chapter analysis. The document must be read all and the conditions are recalled. Few practices per month, very high value per practice. High band justified, large window really used for what it takes.
Company with technical archive, research in documentation. Thousands of documents, frequently asked questions. Here the window is irrelevant: the quality of the selection counts. A good search system with an economic model beats a system without selection with a top model, on both fronts.
The common thread to the three cases is that context window is almost never the criterion of choice. It only becomes so in the second, where the document is to be kept together by construction.
Mistakes to Avoid
- Sending the entire document when you could select the relevant part.
- Choosing by window, which on the high end no longer differentiates.
- Forgetting the output limit, which you meet before the input one.
- Not asking for source citations of every statement.
- Putting key instructions in the middle of the context instead of the beginning or the end.
- Not checking a sample that distant details are really collected.
How to apply it in the company
The first question is not about the model but about your flow: should the document be read all or just find the relevant part?
In most business requests it is enough to find the relevant part — a clause, a condition, a data. In that case the useful work is not to increase the context but to build a way of selecting it: a system that identifies the right three paragraphs responds better, costs a fraction and works with any model, even the cheapest.
When the document is to be read in full —complete analysis, consistency checks, comparisons between versions —the wide window really serves, and the choice criterion shifts to the ability to connect distant parts.
It then checks the limit that hardly anyone controls: the maximum output. It is much lower than input and in practice meets first, when you have to translate a document in full, rewrite it or produce a table with one line for each entry. The solution is to break the work and recompose it, but it needs to be planned.
In terms of costs, remember that the context is paid for with every call: sending a 60,000-token contract to twenty different questions costs twenty times more than selecting extracts. The complete reasoning is in context window: how much it really matters and the calculation in cost per task or price per token.
If you want to build a system that verifiably analyzes your documents, Giallo Studio can help you turn the problem into a real workflow.
Three readings to close the picture. If you are still choosing the band, the operating criterion is in when an economic model is enough. For the calculation of real expenditure —the one that includes repeated context, failed attempts and human review —the reference is Mixed model strategy: light and powerful. And when traffic is uneven, the setting that gives the best relationship between quality and cost is described in how to read AI benchmarks.
Conclusion
On the high end the context window is no longer a criterion of choice: models look alike. The true criterion is another — select instead of sending everything, because it costs less and works better.
When the document is really to be read in full, the intermediate band is enough to recover and reformulate, while the high one is justified if distant parts are to be connected. And in both cases only one rule applies: always ask for the citation of the source.
If you want to build a system that verifiably analyzes your documents, Giallo Studio designs tailored AI solutions for SMEs.
Giallo Studio guides: methodology and sources
How we apply it in the company
Related resources
FAQ
Which model is needed for long documents?
It depends on what you need to do with them. If the entire document must be read, such as contracts, specifications or financial statements, you need a large context window and a mid-tier or high-end model. If you only need to find one piece of information, selecting relevant excerpts is often enough.
How much context do top models offer?
The top models from the three main providers specify context windows of around a million tokens. At the high end, context has ceased to be a differentiating factor.
Does a large window save money?
No, if anything the opposite. Context is paid for with every call: the more text enters, the more input you pay for. A large window is a possibility, not a saving.
Does the model use the whole context well?
Not uniformly. In practice, information at the beginning and end is used more reliably than information buried in the middle. For very long documents, it is worth asking for source citations.
Is it better to send everything or select?
Select, almost always. A system that identifies the three relevant paragraphs answers better, costs a fraction as much and works with any model.
When do you really need the big window?
When the entire document must be read and material cannot be selected in advance: complete contract analyses, comparisons between versions and internal consistency checks.





