Your agent reads 32,000 tokens and answers wrong. The reflex is to blame the length, and the experiment that taught that reflex used a control that does not survive a visible test.
A paper posted on 3 November 2026 re-ran the measurement with the length pinned in place, and the length turned out to be the cheap part.
The length story rests on a failing control
The standard way to show that a long context hurts is to replace the extra text with filler, hide the filler from attention, keep the positions, and if the score falls, blame the length. That is the protocol in Context Length Alone Hurts LLM Performance Despite Perfect Retrieval, and it works. Across five open and closed models on math, question answering and coding, performance fell by 13.9 to 85 percent as the input grew, and it fell even with the relevant evidence perfectly retrieved.
Length Is Cheap, Competition Is Not, posted on 3 November 2026, takes that protocol apart with one change. Its rule is a visible control. Hold the length and the evidence position fixed, and change only what surrounds the evidence.
The masked version still does what Du et al. reported. On MMLU, with masked filler, Llama-3.2-3B goes from 51.7 percent to 40.5 percent at 30,000 tokens, and Qwen2.5-7B from 65.8 to 48.1. That is close to the 15.5 to 21.1 points Du et al. measured on Llama-3.1-8B, so the effect is not one model family’s quirk.
Now make the filler visible and change nothing else. In retrieval, at 32K tokens, accuracy is 0.96 to 0.99 with the filler visible and 0.48 to 0.54 with the same filler masked, and the masked context loses 1.20 nats. Masked tokens at preserved positions are long positional gaps the model never meets in training. That cost is real, and it is not the cost of length.
Neutral tokens cost nothing
If the extra tokens say nothing about the question, they cost almost nothing at any length.
On Qwen2.5-1.5B the median loss with neutral filler stays at or below 0.006 nats at every length from 8K to 32K tokens, and accuracy stays between 0.96 and 1.00. Qwen2.5-0.5B, SmolLM2 and Llama-3.2-3B behave the same way up to 4K tokens.
The paper names its own exception. OLMo-2-1B loses 0.57 nats with neutral filler at 2,048 tokens, and its accuracy falls to 0.91.
Rivals are what break retrieval
What breaks retrieval is another statement that gives the same key a different value.
Put competing statements in the same positions where the neutral filler was, and Qwen2.5-1.5B drops to 0.11 to 0.21 accuracy, with a median loss of 2.82 to 4.76 nats at 8K to 32K. The length is identical in both conditions. Only the content differs.
Split the runs by whether the context contains any statement that shares the queried key. Across the five models, contexts without one lose 0.02 to 0.34 nats and score 0.97 to 1.00. Contexts with one lose 1.38 to 3.24 nats and score 0.25 to 0.52.
More rivals, more loss. At 2,048 tokens on Qwen2.5-1.5B the median loss is 0.03, 1.37, 2.24, 2.48, 2.71, 3.26 and 3.45 nats for zero rivals up to six or more.
The rivals have to be about the same key. Distractors that share only the format of the evidence explain at most 0.3 percent of the variance in loss. The shape is not the problem, sameness is.
Watch for rivals in your own pipeline. A retriever that returns two versions of the same key hands your model a rival, and that is the most likely source of one. In the tool shortlist post I argued that the retriever decides what the agent sees at all. This is the failure that arrives when it sends two versions of the same thing.
One number tracks the failure
Inside the model, one quantity tracks the loss, and it is not the length.
It is the attention mass left on the evidence. Across 126,473 trials, the log of the inverse of that mass explains 0.35 to 0.58 of the variance in loss, while log length explains 0.02 to 0.08. The confidence interval on the difference excludes zero for every model, and the ordering holds inside each cell of length and depth. Attention on the evidence collapses from 0.51 to 0.77 in a short context to 0.17 to 0.31 once the filler starts competing.
The authors are careful about what this is. Attention is measured in the same forward pass as the loss, and no intervention is run on it, so the evidence is predictive rather than causal. It is read at a single query token from eight heads, with the attention sink left in.
The models are the other limit. Everything above comes from models of at most 3B parameters, on one synthetic retrieval task. The protocol is the part I would carry over to a model I actually run.
Length still hurts where the task keeps changing
Retrieval is the easy case. In long work where the state itself moves, length is one of three separate failure axes.
Staying on Task, posted on 30 September 2026 by three researchers at NVIDIA and accepted at the NeurIPS 2026 workshop on agentic benchmarks, separates those axes with a diagnostic called Long-Transduction, where the model reads, mutates and outputs over a long context. Across seven open-weight models, including Qwen3.5 at 35B and 122B and DeepSeek V4 Flash, scaling the context from 4K to 128K costs 62.8 percent, varying the input format costs 36.5 percent, and raising the local task complexity costs 39.9 percent. Overall accuracy falls from 0.909 at 4K to 0.554 at 128K.
That paper’s advice is not about the window size. Itemize the inputs with stable ids, checkpoint the outputs with ids, and split the work into smaller and less complex units.
There is also no good reason to keep a long context. You don’t need long context, posted on 3 November 2026 by the Moonshot AI team, finds that later tokens cost up to 7 times more to generate on frontier open-weight models, and that compacting the conversation often as it goes leaves Claude Opus 4.5 within -3.7 to +5.6 points of its full-history baseline and GPT-5.6 Sol within -3.3 to +4.4, across SWE-bench Verified, TerminalBench 2.1, SWE-bench Multilingual, FRAMES, BFCLv3 and Tau2Bench. Taking at most one action per context nearly preserves the score as well.
What to measure on your own context
Run the control that fails, then run the test that predicts.
- Fill the context with visible filler of the same length and see whether the score moves. If it does not, the length is not your problem and your benchmark is measuring an artifact.
- Inject a rival. Take a statement your agent needs, add a second one that gives the same key a different value, and measure the gap. That gap is your exposure, and it is the number that predicts the failure.
- Curate rather than truncate. The paper’s conclusion is that the effective budget of a context is the number of statements competing for the query, so resolve the conflicts before they reach the model.
- Prune anyway. Compaction costs little on current models, and late tokens cost up to 7 times more to generate. The point of a short context is cost and clarity, not accuracy.
- Measure the three axes separately where you do long work. Length, format and local complexity fail independently, so one score cannot tell you which one to fix.
- Re-measure the mechanism on your own model. The competition result comes from models of at most 3B parameters.
That is the test I would run first on my own agent, before touching the window size. Measure the rival, not the token count. Keep a context that says one thing about the key you need, cut the thousand tokens that say nothing, and when the answer goes wrong, look for the second statement before you look for the bigger window.