Google announced Gemini 1.5 Pro with a context window of up to a million tokens, with a research version tested at ten million. Within a day the argument was everywhere: if the model can read the whole corpus, why build retrieval?
It's a fair question and the honest answer is "sometimes you won't need to." But not for the reasons the confident takes give.
What the demos prove
The headline result is near-perfect recall on the needle-in-a-haystack test: hide one fact in a huge document, ask for it, and the model finds it. That's impressive. It's also the easiest version of the problem. One fact, one question, a clear target.
Real questions aren't like that. They need several facts scattered across documents, reconciled, with the contradictory ones noticed. Single-needle recall doesn't tell you how a model does at that.
Why retrieval doesn't go away
Four reasons, none of them about model quality.
Cost. You pay for input tokens on every call. A question answered by retrieving two pages costs two pages. The same question answered by loading the whole corpus costs the whole corpus, every time. Caching helps for a stable corpus and does nothing for one that changes.
Latency. Reading a very long prompt takes time. A retrieval step that returns a few kilobytes does not.
Access control. If different users may see different documents, retrieval is where you enforce it. "Put everything in the prompt and ask the model not to reveal it" is not an access control.
Citations. Retrieval gives you the exact source of each passage the model used. That's the difference between an answer a person can verify and one they have to trust.
When long context wins
There are cases where I'd skip retrieval.
- A bounded, stable document set that fits comfortably: one contract, one codebase module, one meeting transcript.
- Tasks that need the whole thing at once, like summarizing a long report or finding inconsistencies across a specification.
- Prototypes, where building a retrieval pipeline costs more than the answers are worth.
A decision rule
Ask three questions in order:
- Does it fit with room to spare? If not, retrieve.
- Does the corpus change or do users have different permissions? If yes, retrieve.
- Will it run thousands of times a day? Do the arithmetic. At volume the token bill decides.
If you get through all three with "no", load the context and skip the pipeline.
The part nobody can answer yet
How well these models reason across a million tokens on tasks with many interacting facts. Published benchmarks mostly measure retrieval, not reasoning. Until that changes, test on your own documents with your own questions, and don't trust a result you didn't produce.
The sensible position is boring: long context makes simple retrieval problems disappear and leaves hard ones where they were. Build the pipeline when you need it. Not before, and not never.