KV cache
Memory a model keeps of the tokens it has already processed, so it does not recompute them for every new token.

Also called: Key-value cache.
For: Builders
Why it matters
It makes generation fast, and it is the main memory cost of long conversations.
In practice
Each new word in a reply reuses the cached work for everything written so far.
Watch for
Long contexts mean big caches; that is part of why long-context calls cost more.
Related terms
Prompt caching · Long context · Inference
Sources
Definition updated 2026-10-29.