Long context vs RAG
Long context sends everything every time; RAG sends the right part.
Choose Long context when…
- One document that fits and the task needs all of it
- Low traffic, so per-call cost doesn’t matter
- No per-user permissions
Long context vs RAG in the atlas →Often both: Retrieve the right documents, then pass whole sections and cache stable reference material in the prefix.