ByteCosts
the-long-context-mirage.md

Context

The Long-Context Mirage

Long-context retrieval can degrade: NoLiMa’s GPT-4o score fell from 99.3% at its short-context baseline to 69.7% at 32,000 tokens. In a separate Sonnet 5.5 model, keeping a warm 100,000-token prefix and rewriting it to 60,000 tokens both reach $0.360 at request 36. Its figures are a modeled scenario built on the assumptions stated in the method, so swap in your own workload before you budget.

Open the interactive data story - 9 min read →

Summary

A model can accept a million tokens and still miss the line of code you need. Follow the published accuracy results, then price the decision to keep, trim, or leave a long conversation.

Use the context window as capacity, and size the working prompt from checked tasks. Preserve what must be exact, compact a healthy thread, and leave a bad premise behind in a fresh session.

Key findings

The main findings of “The Long-Context Mirage”, as the interactive story states them.

  • On NoLiMa’s retrieval task, GPT-4o scored 69.7% at 32,000 tokens, down from 99.3% at its short-context baseline.
  • NoLiMa found that at 32K tokens, 11 of 13 tested models fell below half their own short-context baseline scores.
  • RULER found that about half of 17 models stayed satisfactory at 32K across tests involving needle variants, multi-hop tracing, and aggregation.
  • At request 30 in the Sonnet 5.5 prefix model, keeping a warm 100,000-token prefix costs $0.300 versus $0.324 for clearing it to 60,000 tokens.
  • In a separate ten-request estimate, restarting with a 20,000-token prefix costs $0.068, while keeping a 150,000-token prefix costs $0.150 warm or $0.510 after expiry.

Use it with the ByteCosts calculators

Open the interactive story for the full walkthrough, then bring the pattern back to a calculator and replace the example assumptions with your own users, requests, tokens, seats, or platform usage.

The goal is to convert the article’s cost pattern into a concrete monthly run-rate, per-user margin, or break-even point your team can actually discuss.

Frequently asked questions

What is the main finding of “The Long-Context Mirage”?

Use the context window as capacity, and size the working prompt from checked tasks. Preserve what must be exact, compact a healthy thread, and leave a bad premise behind in a fresh session.

How were the figures in “The Long-Context Mirage” produced?

The story labels its figures as a modeled scenario. The benchmark figures use the published results cited in the context rot post. The lines connect reported comparisons and show no measured intermediate lengths. The sticky panel is a modeled Claude Sonnet 5.5 prefix bill at $0.10 per million cache-read tokens and $2.50 per million five-minute cache-write tokens. It compares an already warm 100,000-token prefix with a 60,000-token prefix that is written once and read thereafter. Panel stops are checkpoints at requests 1, 10, 30, 36, and 40. The chart spaces the stops evenly, so slopes between stops are illustrative. A separate restart comparison runs ten requests with a 150,000-token warm or cold prefix, or a 20,000-token fresh starting prefix. Each cold path writes on its first request. All scheduled reads hit before expiry, and both estimates isolate prefix charges from output, changing input, and the work of creating a summary or handoff.

Which sources does “The Long-Context Mirage” cite?

The story cites 11 sources, including NoLiMa paper, RULER paper, LongCodeBench paper, and Chroma context rot study, among others. The full list is in the interactive story.

Can I model this scenario with my own numbers?

Yes. Use the linked ByteCosts calculators to replace the article’s example assumptions with your own workload, usage, and pricing.

The Long-Context Mirage. ByteCosts. Updated Nov 2026. https://bytecosts.com/research/the-long-context-mirage/

Sources