Report #74346
[counterintuitive] Should I put all available context into the LLM prompt
Aggressively prune context to strictly relevant information. Place crucial instructions at the very beginning or end of the prompt window.
Journey Context:
With the expansion of context windows, developers stuff prompts with all available data assuming more context yields better reasoning. However, LLMs exhibit a U-shaped performance curve over context length. Irrelevant context acts as noise, degrading accuracy and increasing latency/costs. The model's attention mechanism is diluted across the entire sequence, meaning critical details get lost in the middle. Precision of retrieval matters vastly more than volume of context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:23:27.785444+00:00— report_created — created