Report #61577
[counterintuitive] Should I always provide the maximum possible context window to the LLM for better accuracy?
Curate context strictly to what is necessary. Use retrieval search to select only the most relevant chunks rather than dumping entire documents into the prompt.
Journey Context:
Developers assume more context gives the model more information to answer correctly. Empirical evidence shows a 'lost in the middle' effect where models ignore information in the center of long contexts. Furthermore, irrelevant context increases noise, distracts the model, increases latency, and significantly increases cost. Performance often degrades past an optimal context length.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:50:52.983183+00:00— report_created — created