2026-11-26 15:48 UTC

Claude Code mod tries to trade token-costly pings for fewer cold-cache rewrites

state: corroboratedheat: lowuncertainty: mediumrelevance: lowprompt-caching inference-economics coding-agentskaranb192

What is this?

Cache Tax is a free, open-source Claude Code mod by karanb192. When enabled, `/keepwarm` schedules token-consuming requests after 50 idle minutes to try to preserve a session’s prompt cache; it checks usage and stops under specified conditions. It can also warn about an estimated cold-cache rewrite and pause a send for confirmation. The author reports one run where a later message read 156,886 cached tokens, but this is not independent or broad evidence of savings. Whether warming saves money depends on cache lifetime, context size, model pricing and how long the user would otherwise wait; warming can itself cost tokens, and the post describes API prices, not extra subscription charges.

Why it matters

Cache Tax illustrates a real but niche trade-off in coding-agent economics: keeping a long Claude Code session’s prompt cache alive may avoid an expensive rewrite, but the warming requests also consume tokens. It may help users with long, costly sessions on a one-hour cache; it is not a general cost-saving guarantee, and the author’s reported receipt is a single example. Similar cache-warmer tools appearing in the supplied sources suggest developer interest, not independently verified savings or broad adoption.

Current assessment

Cache Tax is a free, open-source Claude Code mod by karanb192 that sends bounded warming requests after 50 idle minutes to try to preserve prompt cache; it can also warn about estimated cold-cache rewrite costs. The author reported one run reading 156,886 cached tokens after 62 minutes, which shows operation in that configuration but does not establish reliable net savings. A later user seeking help with a resumed session after a five-hour limit independently describes cache expiry and full-context reprocessing as a practical cost problem, but offers no evidence about Cache Tax’s effectiveness. Break-even depends on cache lifetime, model and context pricing, ping costs, and when the user returns; warming can waste tokens, and cited rates are API prices rather than additional subscription charges. Other user-built warmers and handoff workflows indicate recurring developer interest, not broad adoption, independent benchmarks, or demonstrated policy consequences.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1651h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-18 20:33 (minted)⭐ origin echo-reconstructedThe author's announcement links this free, open-source tool and describes a /keepwarm command that initiates warming after 50 idle minutes.
karanb192 on github (echo) · attributed from reddit.post.1wk12g9 · published time unknown
—
09-18 20:12first on r/ClaudeAI · published · lag ?Keep Claude Code’s cache warm. On Fable 5.1, a 1-hour cache write costs 80x a read.
karanb192
—
10-20 08:50first on hacker news · published · lag ?Get More Out of Claude by Hitting the Cache
dgrcode
—
09-18 20:12amplified on r/ClaudeAI 👑reddit.post.1wk12g9
karanb192
peak 25 · 43 comments · 40% of case engagement
10-05 22:10amplified on r/ClaudeAIreddit.post.1wyluod
TeachTall3390
peak 3 · 1 comments · 2% of case engagement
10-14 15:12amplified on r/ClaudeAIreddit.post.1x5ttwo
sohamspat
peak 28 · 13 comments · 24% of case engagement
10-15 13:54amplified on r/ClaudeAIreddit.post.1x6m9nv
Impossible-Bee1746
peak 6 · 23 comments · 17% of case engagement
10-20 08:50amplified on hacker newshn.story.50163131
dgrcode
peak 5 · 0 comments · 5% of case engagement
10-23 14:12amplified on hacker newshn.story.50209378
dgrcode
peak 1 · 0 comments · 1% of case engagement
1 more amplifiers in ainews.case_chain
09-18 20:20our radar first saw it · lag ?discovery anchor: reddit.post.1wk12g9—

Evidence (8) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditKeep Claude Code’s cache warm. On Fable 5.1, a 1-hour cache write costs 80x a read.
ClaudeAI
karanb1922043
🟧 echo.github ⭐The author's announcement links this free, open-source tool and describes a /keepwarm command that initiates warming after 50 idle minutes.karanb192——
🟠 redditFree Claude Code plugin that keeps your prompt cache warm (5m and 1h)
ClaudeAI
TeachTall339031
🟠 redditI built a Claude Code plugin that keeps your prompt cache warm, so you stop paying to rebuild it
ClaudeAI
sohamspat2813
🟠 redditA Stop hook that writes my handoff 10 minutes before the prompt cache dies
ClaudeAI
Impossible-Bee1746323
🟧 hnGet More Out of Claude by Hitting the Cachedgrcode50
🟧 hnStrategies for Better Claude Cache Usagedgrcode10
🟠 redditResuming a session after hitting the 5-hour limit re-bills the whole context because the cache expired, need some help.
ClaudeAI
Several_Junket_3505314

Interpretation history

Decision trace