Open-source probe shows prefix caching cuts TTFT 6x, evicted past 1.1x KV capacity

efeefty · reddit · 2026-12-06

A developer released prefix-cache-observability, an MIT-licensed Streamlit tool that measures cross-session prefix caching in LLM serving engines via TTFT side-channel signals.

Design: paired warm/cold trials with equal-length sham preheating, randomized measurement order, works with any OpenAI-compatible endpoint (vLLM, SGLang, llama.cpp, Ollama, LM Studio), optional vLLM Prometheus metric verification, plus a blind-test tab computing exact binomial p-values.

Results (Colab T4, vLLM, Qwen3-0.6B):

Includes a 420-trial open dataset and preprint on Zenodo.

Original post →

More from Infra

Infra channel →