Theory (@ZeroTheory0) — Local reasoning models¶
Original post: https://x.com/ZeroTheory0/status/2123499137501196486
Posted: 2026-11-19T19:30:21Z · Collected: 2026-11-20T15:29:13Z
Why it matters¶
Relevant to local/open-weight models, quants, or on-device inference.
Summary¶
@ZeroTheory0 (Theory) shares the GitHub project Hephaestus-Zero/kv-cache-optimizer; its repository tagline reads: Prevent short-TTL KV-cache collapse on Gemini 4 Neon & fast-decay LLM endpoints — automatic PreToolUse read/output guard (1.2ms C11 / zero-dep Python), atomic batch patcher &am. Figures it cites include 656M, 55%, 96%. Filed for its relevance to local open-weight models and inference. A self-reply thread adds 1 follow-up post. An attached screenshot carries additional text that may not be by the post author.
Pull quotes¶
Prefix isn’t broken — hit rate is 96% at 0-5s, then drops off a ~25s server TTL cliff.
Audited 656M tokens on Gemini 4 Neon to see why KV-cache hits collapse to ~55%.
Referenced links¶
GitHub - Hephaestus-Zero/kv-cache-optimizer: Prevent short-TTL KV-cache collapse on Gemini 4 Neon & fast-decay LLM endpoints — automatic PreToolUse read/output guard (1.2ms C11 / zero-dep Python), atomic batch patcher & forensic transcript auditor with zero reasoning downgrade. (from post
2123499137501196486)https://t.co/5SK8nLQs0p (from post
2123499137501196486)