- Anthropic’s Claude 3.5 Sonnet, launched in June 2024, offers a 200,000-token context window and runs about 2x faster than Claude 3 Opus at $3 per million input tokens, but raw speed and capacity don’t predict accuracy on real enterprise documents.
- The MMLongBench-Doc benchmark, testing 14 large vision-language models on 135 multi-page PDF documents, found that GPT-4o achieved only a 44.9% F1 score on complex, multimodal documents requiring cross-page reasoning, exposing a gap that near-perfect “needle-in-a-haystack” scores conceal.
- Enterprises relying solely on context-window size to select AI document tools risk failed deployments: MMLongBench-Doc shows that domain-specific testing on documents with structural complexity and embedded visuals routinely exposes performance roughly half what synthetic benchmarks imply.
Anthropic‘s Claude 3.5 Sonnet can hold 200,000 tokens in memory at once. Google‘s Gemini 1.5 Pro has been tested at 10 million. Yet when researchers ran 14 of the best large vision-language models through MMLongBench-Doc, a benchmark built around real, multi-page PDFs, the top scorer, GPT-4o, managed just a 44.9% F1 score. Context windows are getting bigger; document understanding isn’t keeping pace.
The New Era of Long-Context Models
Claude 3.5 Sonnet, released in June 2024, is Anthropic’s clearest statement yet about where enterprise AI is heading. The 200,000-token context window means it can ingest a lengthy legal brief, a multi-hundred-page regulatory filing, or a dense research corpus in a single prompt pass. According to Anthropic, the model runs approximately 2x faster than its predecessor Claude 3 Opus while pricing input tokens at $3 per million. The company says that combination makes it practical for context-sensitive customer support, document summarisation and multi-step workflow orchestration.
Google’s Gemini 1.5 Pro, introduced in February 2024, pushes further. The production context window reaches 2 million tokens; research testing has gone to 10 million. In practical terms, according to Google, that means a single prompt can span roughly 700,000 words, 11 hours of audio or an entire large codebase. On the standard “Needle In A Haystack” evaluation, Gemini 1.5 Pro reportedly achieves close to 99% recall up to 1 million tokens, finding a planted piece of information inside a vast text corpus with near-perfect consistency. The design intent is to let a model reason across a whole contract, an entire clinical trial, or a full financial filing rather than processing it in chunks.
Beyond Token Counts: Real-World Document Complexity
A context window is not a comprehension guarantee. Enterprise documents are structurally messy in ways that synthetic benchmarks rarely replicate: multi-column layouts, embedded charts, domain-specific abbreviations, cross-referenced footnotes, tables split across pages. A merger agreement running 300 pages isn’t just long, it requires a model to track defined terms, identify contradictions between clauses and resolve references that span dozens of pages. A financial report dense with revenue charts asks the model to interpret visual data and reconcile it with surrounding text. Neither task maps cleanly onto the ability to find a planted sentence inside a wall of random prose.
The MMLongBench-Doc paper puts numbers on this gap. The benchmark covers 135 PDF-formatted documents averaging 47.5 pages and more than 21,000 tokens each. Questions require evidence drawn from text, tables, charts and images, often across multiple non-adjacent pages. Across 14 large vision-language models, performance was poor. GPT-4o led the field at a 44.9% F1 score. That means the best available model, tested on documents resembling actual enterprise material, got the answer meaningfully wrong more than half the time. The benchmark’s construction is specifically designed to resist pattern-matching on isolated passages, which is what distinguishes it from simpler retrieval tests.
The Benchmark Reality Check: Why “Needle in a Haystack” Falls Short
The NIAH test has become the default proof point for long-context capability, and on its own terms it is a reasonable one: can the model find a specific sentence buried inside a million tokens? The problem is the gap between that task and what document-heavy enterprise workflows actually require. A planted “needle” in randomised text bears almost no resemblance to identifying a contradictory representation across two depositions or reconciling a revenue figure that appears differently in a table, a chart and a footnote. Near-perfect NIAH scores say something real about retrieval capacity; they say relatively little about whether a model will hold up on a complex compliance review.
Research has also documented a “lost in the middle” effect, where information positioned toward the centre of a long context is more likely to be missed than material near the start or end. The evidence on this is mixed, different models show different sensitivity, but the underlying concern is real: filling a context window does not mean the model attends equally to everything in it. Some information gets effectively deprioritised. For documents where a critical clause appears on page 74 of 150, that matters. NIAH tests typically plant the needle at controlled positions, which means they don’t probe this failure mode directly.
Implications for Enterprise Document Processing
The practical consequences vary by sector, but they’re serious across the board. Legal teams processing deposition transcripts or merger agreements need accuracy on clause identification and contradiction detection, missed details translate directly to liability exposure. Financial services teams working through regulatory filings and earnings reports depend on correctly interpreting embedded charts alongside the text that surrounds them. Healthcare and research operations extracting data from clinical trials or patient records require precise synthesis, not approximate retrieval. Against that backdrop, a roughly 45% F1 score on multi-modal long documents, the figure MMLongBench-Doc records for the best available model, is a meaningful operational risk, not an abstract benchmark concern.
Generic benchmark scores cannot predict performance on specialised content. Organisations deploying long-context models for document-heavy workflows need evaluation protocols built around their own material: their terminology, their document structures, their cross-referencing patterns. Without that, the gap between what a model scores on a vendor benchmark and what it delivers on real documents remains invisible until a deployment fails. That failure tends to be expensive, whether measured in bad contract outcomes, misfiled compliance documentation or clinical data errors.
Strategies for Reliable Enterprise AI
The most direct mitigation is custom evaluation. Before deploying a long-context model on high-stakes documents, organisations should build test sets from their own archives, documents representative of actual workflow complexity, including proprietary terminology, structural variation and embedded visuals. These evaluations should test cross-page reasoning and multimodal interpretation, not just passage retrieval. A model that scores well on internal test sets calibrated to real operational conditions is meaningfully more predictable than one whose only credential is a strong NIAH score.
Combining long-context models with Retrieval-Augmented Generation is worth considering even as context windows expand. RAG provides a controlled retrieval layer that can compensate for positional bias on highly specific or sensitive content. The two approaches address different failure modes and aren’t mutually exclusive. Prompt structure also makes a measurable difference: Anthropic’s guidance recommends placing the main document and supporting material at the top of the prompt, with the specific query at the end, saying this can improve answer quality for very large inputs, though independent validation of that figure is limited. Clear structural separators and concise framing help models anchor on the relevant sections of a long document rather than processing it as an undifferentiated block.
None of this eliminates the underlying performance gap that MMLongBench-Doc exposes. What it does is make that gap visible and manageable before it causes real operational damage. The longer-term question, whether the next generation of models closes the distance between synthetic benchmark performance and real document understanding, remains open. For more coverage of AI research and breakthroughs, visit our AI Research section.



