Report #39952
[counterintuitive] Should I put all relevant documents in the LLM context window
Aggressively curate and filter context; place the most critical instructions and data at the very beginning or end of the prompt.
Journey Context:
With the advent of 100k\+ token context windows, developers often stuff the prompt with all potentially relevant text. However, models suffer from the Lost in the Middle phenomenon: they attend heavily to the beginning and end of the context window but significantly degrade in recall and reasoning for information located in the middle. More context also increases latency and cost, while diluting the model's attention on the crucial facts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:31:53.257275+00:00— report_created — created