Just put it all in the context
As context windows grew, a natural question arose: if the model can read a million tokens, why retrieve at all? Put the whole corpus in the prompt.
For a small corpus this is genuinely correct and underused. Under roughly a hundred thousand tokens of stable material, stuffing everything into context beats building a retrieval pipeline. No index, no chunking decisions, no embedding model to version, no staleness, and the model sees everything so nothing is missed by a retriever.
For a large corpus it fails on four counts.
Cost scales with every token on every request. Sending a million tokens per query is expensive in a way that does not amortise, and it recurs for every user.
Latency scales too, since the model processes what you send.
Attention degrades over long contexts. Material in the middle of a very long prompt is used less reliably than material at the ends, which is the lost-in-the-middle effect covered in the context windows lesson. So capacity is not the same as effective use.
And it does not scale past the window regardless. A corpus of ten million tokens does not fit, whatever the model.
The honest position: long context has raised the threshold below which retrieval is unnecessary. It has not removed the need for it, and teams should check which side of the threshold they are on rather than assuming.

