During autoregressive generation, the runtime can retain attention keys and values for prior tokens. This cache helps avoid recomputation and consumes memory alongside model weights.