Models for long-context work
Test retrieval and synthesis across the document instead of choosing by window size alone.
How to use it
- Decide whether the task needs a specific fact, cross-document synthesis or exhaustive review. Supply stable document identifiers and a source-grounded rubric.
- Place test facts near the start, middle and end, including conflicting or updated statements. Check whether the model retrieves the correct passage and preserves its qualification.
- Compare one large request against retrieval or staged extraction using the same acceptance criteria. Include upload behavior, output limits, latency and citation reliability.
Compare the options
| Option | Best fit | What to check |
|---|---|---|
| Single large context | Bounded document sets that fit and require broad synthesis. | Coverage, attention to distant passages and response allowance. |
| Retrieval | Finding relevant passages in a large or changing collection. | Recall, source freshness and missed exceptions. |
| Staged extraction | Repeated structured questions across many documents. | Extraction consistency and loss during synthesis. |
Prompt template
Answer {{question}} using {{documents}}. Cite stable page or section identifiers. Check for contrary passages and later updates. Report unavailable sections and distinguish a missing fact from a searched-but-absent fact. Preserve the scope and units of each cited claim.Check the result
- Verify citations and test questions whose supporting passages appear in different document positions.
- Compare completeness and correction effort, not just whether the upload was accepted.
Common mistakes
- Advertised context capacity does not establish reliable recall or exhaustive coverage on your documents.