cache-meter is a Claude Code usage mod by T-AI-Labs.
Draws one row above the prompt with how much of the last turn the prompt cache served, how long it stays warm, and a Keep warm switch that refreshes it.
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
Version
0.4.3
License
MIT
Repo stars
4
Last change
2026-10-24
What it can reach
Draws in the session
Reads usage or context figures
Built and tested against Claude Code 2.1.295, the engine in the Claude desktop app 2.31226.1; the function-hook API is in early access. The commands also work inside Claude Code with /plugin in place of claude plugin. New sessions load the changes. Keep warm is off by default, and keepWarmMinutes (15, 30, 60, or 120; 60 by default) sets how long it goes on after the last turn. Each refresh is a model request, and on a subscription it counts against the usage limits.
The marketplace name is T-AI-Labs, and it lists five mods, each installed on its own. Cache figures are why this page files it under usage. cache-maxxer, by vayaan-labs, draws the cache time left and hit rate and can send a short request to keep it warm. keepalive-alexandernicholson, by alexandernicholson, draws a cache bar for each conversation and can keep an idle cache warm or compact it. This one shows the share of the last turn's input served from the cache, yellow below 40%, and whether it is warm or cold: five minutes after the last request starts, or an hour on the hour-long cache. Keep warm refreshes shortly before the cache lapses and stops when a refresh finds it gone. The README puts a refresh at about $0.04 for 200k tokens on Claude Opus 5.5, against about $1.00 to write the context again. Before 0.4.0 it also had the context controls, which moved to the author's context-meter.
Demo
From the author's repo.
What it hooks into
session.startWhen a session starts
session.endWhen a session ends
turn.stepAt each step of a turn
turn.completeWhen a turn ends
ui.renderDraws into the sessionAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.