compache: fitting context compaction and prompt caching together cuts chat cost ~79%

BarendPotijk · reddit · 2026-11-27

An open-source package, compache, argues context compaction and prompt caching are one decision, not two: compacting rewrites the prefix and kills the cache you paid for, while keeping a cache warm costs in proportion to what you keep.

Original post →

More from coding & agent

coding & agent channel →