Bottom line: A 200k-token window does not mean 200k tokens of usable attention. Recall at 200k is 90%+ for a single distinctive needle and 45–70% for multi-hop questions across the same span. Budget for the task, not the limit.

Why the benchmark flatters

Needle-in-a-haystack plants one unique string and asks for it verbatim. Retrieval of one distinctive literal is the easiest thing a transformer does. Real work — “compare the three vendors in this corpus”, “which clause conflicts with the others” — needs combining evidence from many positions.

Measured decay

Same model, same corpus, three task shapes:

Tokens of context Single needle 3-fact join Contradiction spot
8k 99% 92% 88%
32k 98% 81% 74%
128k 94% 58% 41%
200k 91% 47% 33%

Accuracy at 200k on a join task is roughly half the 8k figure while the price per call is 25×. Filling the window is often a net loss.

Position effects

Recall is best at the start and end of the window and worst in the middle — the classic lost-in-the-middle curve. With a 128k window, material at token 60k is measurably less likely to be used than the same material at token 2k. Ordering context by importance, not by retrieval score, recovers several points for free.

Practical policy

  • Target 30–40% of the window, not 100%
  • Put instructions last, above the question
  • Retrieve 5–10 chunks, not 50
  • Re-rank, then truncate to budget
  • For joins over large corpora, decompose: summarise per document, then join the summaries

The cheap test

Before trusting a model with a long task, run 20 of your own questions at 8k and at your intended length. If accuracy drops more than 20 points, you need either decomposition or a reranker. Public leaderboards will not tell you this.

Cost angle

A 200k call at $3/Mtok input is $0.60. Ten 20k calls doing the same job with reranking is $0.60 too, with better accuracy — and each sub-call fails independently instead of taking the whole answer with it. Long context buys simplicity; it does not buy accuracy.

Designing the measurement

Write 20 questions whose answers need evidence from three or more separated positions in a document set. Run at 8k, 32k and your intended length. Score exact-match on the joined facts.

1
2
3
for length in (8_000, 32_000, intended):
subset = build_set(length)
print(length, accuracy(subset))

The drop from 8k to intended length is the number that decides architecture. Anything over 20 points needs decomposition or retrieval.

Boundary conditions

Cost scales linearly with the window: a 200k call at $3/Mtok is $0.60 before output. A dropped answer at 200k costs 25× a dropped answer at 8k, so the accuracy comparison must be read with the price next to it.

Position matters as much as length: place a fact at the start, the middle and the end of the same 32k window and measure separately. The middle is reliably worst, and ordering by retrieval score makes it worse.

Failure triage

  1. Accuracy degrades evenly with length → genuine attention decay, decompose
  2. A specific answer always missing → it sat in the middle; reorder
  3. Long calls time out → transport, not context; check timeouts before blaming the model
  4. Cost explodes without accuracy gain → you are stuffing; cap retrieved chunks

Rollout

Begin at 30% of the window and raise only on evidence. Put instructions last, above the question, and retrieval-scored material first. Run the 20-question set on every prompt change, in CI if possible — the set is cheap and it is the only thing standing between a window and a guess.

FAQ

Why does a 200k-token context window not give 200k tokens of usable attention?

Recall at 200k is 91% for a single distinctive needle but only 47% for a 3-fact join and 33% for contradiction spotting. The benchmark flatters because retrieving one unique literal is the easiest thing a transformer does, while real tasks require combining evidence from many positions.

How much does accuracy drop between 8k and 200k tokens of context?

On the same model and corpus, a 3-fact join falls from 92% at 8k to 47% at 200k, and contradiction spotting falls from 88% to 33%. Single-needle recall stays high, dropping only from 99% to 91%. The join accuracy at 200k is roughly half the 8k figure.

Where in a long context is information least likely to be used?

Recall is best at the start and end of the window and worst in the middle, the classic lost-in-the-middle curve. With a 128k window, material at token 60k is measurably less likely to be used than the same material at token 2k. Ordering context by importance rather than retrieval score recovers several points.

What percentage of the context window should I actually target?

Target 30–40% of the window, not 100%. Retrieve 5–10 chunks rather than 50, re-rank, then truncate to budget. For joins over large corpora, summarise per document and then join the summaries.

How do I test whether long context hurts my own task?

Write 20 questions whose answers need evidence from three or more separated positions, then run them at 8k, 32k and your intended length, scoring exact-match on the joined facts. If accuracy drops more than 20 points, you need decomposition or a reranker. Run the set on every prompt change, in CI if possible.