Long Context Is Not Free: What Million-Token Windows Really Buy You
Context windows have ballooned from a few thousand tokens to over a million. Here's what that actually enables, where the marketing outruns the reality, and how to use it well.
- 01A bigger context window lets a model consider more text at once, but cost and latency scale with how much you actually put in it.
- 02Models exhibit a 'lost in the middle' effect — information buried in the centre of a long context is recalled less reliably than material at the start or end.
- 03For most retrieval tasks, well-built RAG beats stuffing everything into a giant context — long context complements retrieval, it doesn't replace it.

The context window — the amount of text a model can consider in a single request — has grown by orders of magnitude. Windows that once held a few thousand tokens now stretch past a million, enough to fit entire books or large codebases. It's a genuine capability leap. It's also widely misunderstood. Here's a clear-eyed look at what long context buys you and what it doesn't.
What a context window is
Everything the model "sees" for a given request — your instructions, the conversation history, any documents you paste in, and the response so far — has to fit inside the context window, measured in tokens (roughly ¾ of a word in English). When you exceed it, something has to be dropped or truncated. A bigger window means you can hand the model more material at once without that loss.
What it genuinely unlocks
Whole-document reasoning. You can drop a full contract, research paper, or financial filing into the prompt and ask questions across the entire thing, rather than chunking it and losing cross-references.
Large codebase work. An agent can hold many files in context at once, which helps it reason about how a change in one place affects another.
Long conversations and sessions. More history stays in context, so the model keeps track of what was discussed earlier without an external memory layer doing the heavy lifting.
What it doesn't fix — and the costs hiding inside
Here's where the marketing gets ahead of the engineering.
It is not free. Cost and latency scale with the number of tokens processed. A model that can take a million tokens still charges you for every token you put in, and takes longer to respond. Filling a giant window on every request is often the single most expensive mistake teams make. The window is a ceiling, not a target.
Recall is not uniform. Models show a well-documented "lost in the middle" effect: facts placed at the very start or very end of a long context are recalled reliably, while facts buried in the middle are recalled less well. So 'it fits in the window' does not guarantee 'the model will reliably use it.' Where you place critical information inside a long prompt matters.
Attention dilutes. With a vast amount of text in context, the relevant signal can get drowned in irrelevant material. More context is not automatically better context; sometimes a focused, smaller prompt outperforms a sprawling one because the model isn't distracted.
Long context vs. retrieval
The most common confusion is treating long context as a replacement for retrieval-augmented generation (RAG). They solve overlapping but different problems.
- RAG fetches only the relevant chunks from a large corpus and puts those in the prompt. It scales to unlimited underlying data, keeps prompts small and cheap, and gives you a citation trail.
- Long context lets the model reason across a whole document at once, with no chunking and no risk that retrieval missed the relevant passage.
For querying a large, ever-growing knowledge base, RAG is still the right tool — you can't and shouldn't stuff a million documents into one prompt. For deep reasoning over a single bounded document, long context shines. The sophisticated pattern uses both: retrieval narrows millions of documents down to the handful that matter, and a long context window then reasons over those in full.
Practical rules
- Put the most important instructions and data at the start or end of the prompt, not buried in the middle.
- Don't fill the window just because you can. Pay for the tokens that earn their place.
- Use retrieval to select, long context to reason. They're partners.
- Test recall on your real prompts — measure whether the model actually uses information from deep in a long context for your specific task.
Long context is a powerful tool that removes real friction. But treat it as a capability with a cost curve and a recall profile, not as a magic 'just give it everything' button.
Ask Relay — he reads every question himself and replies personally by email.
