A small loom weaves a blue-and-green pattern using thread supplied from a nearby tray of reusable spools.
POC-reviewed visual · version 1

Concept dictionary

Cache / KV Cache

A cache stores reusable data so a system can answer faster or avoid recomputing work, such as prompt results or model attention state.

Review state
Reviewed in POC
Freshness
Current
Version
2

Also called

  • Cache
  • KV Cache
  • Key-Value Cache

Remember it this wayCache the work already done; KV cache reuses prior attention work.

In plain language

A cache stores reusable results so a system does not repeat the same work. During autoregressive generation, a key-value cache keeps attention information from earlier tokens and reuses it for later tokens.

Why it matters

Caching can reduce latency and repeated computation, but it consumes memory and can preserve stale or sensitive material if its lifetime and boundaries are poorly managed.

Example

While generating a response token by token, a language model reuses the key and value tensors from the preceding tokens instead of calculating them again at every step.

Common misconception

A KV cache is not the model’s memory of a conversation in the human sense. It is an inference optimization, and it does not change the model’s learned weights.

Related terms

Sources

Learn more

  • Compare [[inference|Inference]], [[latency|Latency]], [[context-window|Context Window]], and [[tensor|Tensor]] to place Cache / KV Cache in the surrounding system.
  • Follow the cited source material above for the method, standard, or research context behind this draft.

Reviewed in POC · last human review 2026-09-03 · content version 2 · visual version 1

Source and POC details

Source: learning-library/glossary/terms/cache-kv-cache/term.md

Source hash: sha256:8cb62f3f09a1e627b36c31524d466c18e81ac98258901d223a2fbb5a4b91192a

Media: POC-reviewed evidence; RS AI Learning Lab, Owned production asset.

Release: glossary-team-poc-0.5.5-2026-09-02 · not production approved