Report #83292
[counterintuitive] Do large context windows replace the need for RAG
Continue using RAG even with 1M\+ token context models. RAG provides precision, reduces cost, and mitigates the 'needle in a haystack' attention dilution inherent in massive contexts. Use long context for conversational memory, but RAG for precise fact retrieval.
Journey Context:
With models offering 1M\+ token context windows, developers assume they can just stuff the whole codebase into the prompt and do away with RAG. This ignores the quadratic or near-quadratic attention scaling costs \(latency/compute\), the severe degradation in following instructions when buried in massive text, and the sheer cost per token. RAG remains computationally and cognitively efficient, providing precision while long context is better reserved for conversational memory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:23:36.948749+00:00— report_created — created