arXiv:2610.10845v1 Announce Type: cross Abstract: A large language model can only use the text that fits in its context window, and it recomputes its internal key-value (KV) state for a prompt every time the prompt is sent. We test a memory layer, the public package galahad-kv, that saves the KV state of each block of about 16,000 tokens to encrypted local NVMe disk and loads it back later, byte-
Sietse Schelpe’s paper arXiv:2610.10845v1 introduces Galahad-KV, a persistent memory layer that extends LLM context windows to 50 million tokens by saving and restoring internal key-value (KV) states to encrypted local NVMe storage.
The paper studies a persistent key-value (KV) memory layer for LLM inference, motivated by the fact that standard transformers can attend only to tokens in the active context window and must recompute KV state for each prompt. It evaluates galahad-kv, a public package that checkpoints KV tensors in blocks of roughly 16,000 tokens, writes them to encrypted local NVMe storage, and reloads them when those blocks are needed again. The result is an effective 50-million-token memory window: the model does not need to fit all historical tokens in GPU context, but can restore prior internal state from disk instead of reprocessing the entire history.
The central contribution is a practical systems design that reframes long-context inference as a caching and storage problem. Rather than relying solely on larger model windows, speculative attention, or repeated prefill, the approach treats KV state as durable, reusable data. The use of block-level persistence, local NVMe, and encryption is important because it balances latency, throughput, and privacy: frequently accessed memory can be retrieved quickly, while sensitive conversation or document state remains under local control. The paper’s framing—faster and cheaper than recompute—suggests that the dominant cost in long-horizon inference is often recomputation of already-seen context, not just parameter computation.
This matters because it points toward a more economical architecture for long-lived AI systems, such as assistants, agents, and document-grounded applications that must retain large histories. If persistent KV memory can be made reliable and efficient, it could reduce inference cost, improve responsiveness, and enable practical multi-session memory without requiring every prior token to remain in the model’s live context. The work is therefore significant both as an engineering artifact and as evidence that external, disk-backed memory layers may be a viable path to genuinely long-term LLM memory.