KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache Reuse

Taiga Ikeda, Daisuke Miyashita, Jun Deguchi
10/9/2026
1 citation
cs.CL
benchmark-dataset

Official code: taiga333/eval-kv-repurpose (0 stars, Python, Apache-2.0, last commit 2026-09-21).

Abstract

KV-cache reuse in large language model serving is commonly limited to exact prompt prefixes, preventing reuse when the same retrieved document appears after different system prompts, conversation histories, or dynamic metadata. We present KV-Repurpose, an open-source, vLLM-based system for developing and evaluating segment-wise KV-cache reuse beyond exact prefixes.

Show full abstract

The system combines cache-aware segment scheduling, prompt construction, capacity management, workload generation, and runtime monitoring. Experiments on long-context benchmarks show that naive segment reuse largely preserves output quality for single-document question answering and summarization, while exposing clear limitations in cross-document reasoning. Under a Zipfian RAG-style workload in which 20% of requests share a fixed prefix, KV-Repurpose achieves a substantially higher token-level cache hit rate than prefix caching at the same 30 GB cache capacity, 63.9% versus 3.3%, resulting in lower TTFT. Even with 1 TB of cache capacity, prefix caching reaches only a 17.9% hit rate in this workload. Source code is available under the Apache-2.0 license at https://github.com/taiga333/eval-kv-repurpose.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Project for demonstrating KV-Repurpose, a new term for non-prefix-matching KV reuse.

00Python, ShellJul 7, 20262 months agoApache-2.0

Similar Papers

Cite this paper

@article{ikeda2026kvrepurpose,
  title  = {KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache Reuse},
  author = {Taiga Ikeda and Daisuke Miyashita and Jun Deguchi},
  year   = {2026},
  eprint = {2610.13060},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.13060v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.13060.svg)](https://codeofpaper.com/paper/2610.13060)

Discussion