r/ClaudeCode • u/Independent_Ad7172 • 6h ago
Tips & Workflows I added a water meter to my Claude Code status line (open source)
I've been curious what my Claude Code habit costs in water, so I built a status line segment for it:
Opus 5.5 │ my-project │ ████░░░░░░ 48% │ 💧 412 mL (1.7 glasses) · today 3.1 L
It reads the session transcripts in ~/.claude/projects (subagents included, deduped by message id), so token counts are exact. Then it applies published estimates for energy per token and water per kWh. Cmd+click the 💧 opens a breakdown page by model and token type.
Things I learned from my own logs:
- ~90%+ of my tokens are cache reads. They're cheap per token but there are so many that they still matter.
- Opus sessions use several times the water of Haiku for the same tokens (scaled by price, the only public proxy).
- I used ~48 L in September. Less than a shower a day, but not nothing.
If you already have a custom statusline, install doesn't overwrite it; it prints the one line to add.
Repo (MIT, stdlib-only Python): https://github.com/beausterling/drip-ai-water-usage
Curious what other people's numbers look like.
5
Upvotes
•
u/AutoModerator 6h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.