Show HN: Prefixwise 0.12 – a paper and a spec for why prompt caches miss
Category: observability
Tags: prompt-caching, llm-observability, agent-infrastructure, proxy, cost-optimization
Score: 7.8/10 (Innovation: 7, Technical: 8, Documentation: 9, Utility: 7)
Prefixwise is an HTTP proxy and middleware that diagnoses why prompt-cache misses occur in LLM agent traffic, naming 19 specific causes with evidence, cost, and fixes. It includes an optimizer that applies replay-validated fixes, a CI check to prevent cache-breaking changes, and auto-detection of vLLM/SGLang KV events. The project is backed by a detailed empirical paper with live-model experiments and has shipped as a PyPI package.
Target audience: devops, backend devs, ai engineers, platform engineers
Repository: https://github.com/tejachavali/prefixwise · Python · MIT · 27 stars
View on Hacker News