Cache-Augmented Generation (CAG)
Definition
Approach in which a limited body of knowledge is loaded into the long model context in advance and reused via a CV cache instead of retrieving documents for each request.
Cache-Augmented Generation was proposed as an alternative for knowledge tasks with manageable, relatively stable document stock. Relevant content is loaded into the context before the request and its key value states are cached. This eliminates the need for a separate retrieval stage at runtime. CAG is not more suitable for every knowledge base than RAG.
Simply explained
Instead of searching for suitable documents for each question, the system loads a manageable knowledge base beforehand and keeps it ready for several questions in the model context.
Why it matters in practice
Interesting for small to medium, stable collections of knowledge, if retrieval latency and errors are to be avoided and the context window is large enough.
Example from business
Example scenario: An assistant for a compact product manual preloads the entire approved manual once and then answers several questions from the cached context.
Limits and pitfalls
- Present CAG as a blanket replacement for RAG; fully subpoena too large or frequently changing knowledge bases; ignore context boundaries and cache costs; forget to update the cache.
Origin & history
The term cache-augmented generation was proposed in late 2024 in a paper by Chan and co-authors as a simplified alternative to RAG for limited knowledge tasks.
Use in mid-sized companies
- Only check if knowledge, frequency of change and context windows fit; test against RAG in terms of quality, latency, cost and updating.
Frequently asked questions
Is CAG the same as RAG?
No.
Does CAG need a large context window?
For more extensive knowledge, yes.
Is CAG always faster or better?
No, it depends on the use case.
Sources
- Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks · Chan et al., Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks
Sources checked: 10/09/2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: