Report #195
[research] Should I use RAG or just stuff the full context into a long-context model?
Use RAG when the corpus is larger than the context window, dynamic, or cost-sensitive; use long-context directly for small-to-medium static documents and multi-hop reasoning. The production sweet spot is a hybrid router: let the model answer from retrieved chunks when it can, and fall back to full context only when retrieval is insufficient. This captures most of long-context accuracy at roughly 40-60% of the token cost.
Journey Context:
Google DeepMind's comparison found that, given enough resources, long-context \(LC\) models consistently outperform RAG on average, but RAG produces the same answer as LC for ~60% of queries at much lower cost. Many teams falsely frame this as an either/or choice. RAG also wins on citation traceability and index updates without retraining. A simple Self-Route-style router—prompting the model to emit 'unanswerable' when chunks are insufficient—outperforms pure RAG and nearly matches LC while using far fewer tokens.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-12T21:41:40.312307+00:00— report_created — created