Report #40807
[counterintuitive] Should I put all available context into the LLM prompt
Curate context ruthlessly. Only include strictly relevant information, placing critical details at the very beginning or end of the prompt context window.
Journey Context:
With the rise of massive context windows, developers stuff prompts with entire codebases or documents assuming more context equals better answers. This degrades performance due to 'needle in a haystack' attention dilution. Models disproportionately attend to the start and end of contexts, forgetting or ignoring middle information. More tokens also increase latency, cost, and the probability of conflicting information confusing the instruction-following layer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T22:57:57.811516+00:00— report_created — created