Mnemonic Proxy logs 55.9M tokens across 297 local coding sessions with 96.7% prompt reuse

Any_Flounder8768 · reddit · 2026-11-30

Mnemonic Proxy, an open-source proxy that keeps long local coding sessions usable, published real-world stats: user johnkarlhill ran 297 conversations / 21,825 requests / 55.9M tokens archived, with a median live prompt of 77,044 tokens, 96.7% median prompt reuse, 809 masks stripping 30.3M tokens, and 278 recall calls restoring 718,816 tokens. The proxy archives conversations verbatim in SQLite, replaces old tool output with compact receipts, and restores originals via recall; handoff notes carry work across window fills. Third-party tests show 6.5 GB GPU memory at a 32K window vs 9.7 GB at 128K, and 2.9s restored restart vs 29.3s cold re-read at 100K tokens. Runs on Python stdlib; supports OpenAI/Anthropic/Responses APIs.

Original post →

More from coding & agent

coding & agent channel →