LearnQuestion bank

A vendor advertises a 1M-token window and your team wants to drop retrieval for a 600k-token contract corpus. Using what GPT-4.1 and DeepSeek-V4 report about single-needle versus multi-needle retrieval at 1M tokens, how would you make the call and what would you measure?

Applied LLMTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Do not drop retrieval: single-needle 1M results are not evidence for 600k multi-clause contract work.
  • Separate reported single-needle vs multi-needle results: GPT-4.1 finds every needle up to 1M, but 2-needle OpenAI-MRCR is 46.3% at 1M and DeepSeek-V4-Pro-Max (April 2026 report) drops from >0.82 at 256k to 0.59 at 1M on 8-needle MRCR.
  • Expect worse on real contracts: NoLiMa-style non-literal matching and similar-looking distractor clauses degrade beyond needle tests.
  • Build a task-specific eval: realistic questions, position sweeps, distractor clauses, multi-hop questions, compared against a retrieval baseline.
  • Measure latency and cost: GPT-4.1 time-to-first-token around a minute at 1M, per-query input cost, and how far prefix caching reduces repeated-prefix cost.
  • Account for freshness, per-user permissions, and citations; choose hybrid retrieval into a large window rather than full-context-only.

In full

I would not drop retrieval. The reported single-needle results are encouraging but not decision-grade: GPT-4.1 finds every needle up to 1M, yet OpenAI-MRCR 2-needle performance is only 46.3% at 1M, and DeepSeek’s April 2026 V4 report shows V4-Pro-Max falling from above 0.82 at 256k to 0.59 at 1M on 8-needle MRCR, so a 600k-token corpus with many clauses is closer to the multi-needle regime than to the needle demo. I would also expect real contract questions to be harder than needle tests because NoLiMa-style non-literal matching and similar-looking distractor clauses degrade performance further. My eval would use realistic contract questions, position sweeps across the 600k corpus, near-duplicate clauses as distractors, multi-hop questions, and a retrieval baseline, reporting accuracy, citation correctness, and failure modes rather than a single score. I would also measure latency and cost: GPT-4.1’s time to first token of about a minute at 1M in OpenAI’s initial tests, per-query input cost, and how much prefix caching helps for repeated prefixes, while noting caching does not solve freshness, permissions, or citations. The call is hybrid: retrieve the relevant clauses and evidence into a large-window model, keep the full corpus available for audit, and only expand context when the eval shows the large window beats retrieval on the actual task.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Separates single-needle results (GPT-4.1 finds every needle up to 1M) from multi-needle ones (46.3% on 2-needle OpenAI-MRCR at 1M; DeepSeek-V4-Pro-Max falls from above 0.82 at 256k to 0.59 at 1M on 8-needle MRCR).
  • Notes that non-literal matching (NoLiMa) and distractors degrade performance further than needle tests suggest.
  • Builds a task-specific eval: realistic questions, position sweeps, similar-looking clauses as distractors, multi-hop questions, compared against a retrieval baseline.
  • Counts latency and cost: time to first token around a minute at 1M for GPT-4.1, per-query input cost, and how far prefix caching helps.
  • Considers freshness, per-user permissions and citations, and a hybrid of retrieval into a large window as the likely answer.

Common mistakes

  • Trusting needle-in-a-haystack scores as proof the full window is usable.
  • Ignoring time to first token and per-query cost at 1M tokens.

Follow-ups

  • How would the decision change if the corpus were updated daily?