Report #44034
[counterintuitive] Should I put all available context into the LLM prompt
Curate context aggressively. Use retrieval or filtering to provide only highly relevant context, and place critical information at the very beginning or end of the prompt.
Journey Context:
Developers assume that with large context windows, stuffing the prompt with all potentially relevant documents yields better answers. However, LLMs suffer from attention dilution. When context length increases, the probability mass distributes, and models notoriously ignore information in the middle of long contexts \('Lost in the Middle'\). More context also increases latency, cost, and the chance of conflicting information causing the model to hallucinate a synthesis.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:23:00.046493+00:00— report_created — created