Hi - TokenTab is a free plugin for Claude Code that transparently shows all the tools, models, bash calls and tokens used during a session. You can try it by running this in claude code terminal `/plugin install tokentab --marketplace getsupertab/claude-marketplace`. Requires python. No data leaves your machine.
First off, a couple of us built this during a remote All Hands (company is called Supertab) during a break, and it's now part of our labs plugin marketplace. It's open source.
The idea is that we never really knew what Claude Code was doing under the hood (what tools it was calling, what bash commands were being called, etc). We set out to make a live view. This was cool and it was neat to see the costs per tool/call etc live. The most surprising thing to most was the real cost of cache expiration. Leave the session for an hour, come back to it and the cost to resend the context was in the dollars rather than pennies (at API costs).
We then tried to add a budget. That was pretty interesting. When giving a budget, it seemed like we were getting simpler solutions (i.e less bloat). I say seemed, because it's hard to quantify, but subjectively it felt like Claude and I were working together more than me telling Claude what to do and then reading it.
My ask would be (if you decide to try it) to validate or invalidate my subjective takes.
Features:
- Set a budget (based on your plan, either per day/session in $ or % of usage window)
- Handoff note (toggle to enable an auto handoff note when a session cache is about to expire)
- Export to csv (a skill to export your current month spend, broken down by session)