Last month I got a $340 bill from Anthropic. I knew I'd been using Claude a lot but had no idea it had gotten that high. The usage dashboard is fine but you only check it after the damage is done.
So I built something that shows the cost per call in your VS Code status bar as it happens. It runs a local proxy, you point your SDK at it with one env var, no code changes. Nothing leaves your machine.
Would love to know if anyone else has had this problem or found a better way to deal with it.
https://marketplace.visualstudio.com/items?itemName=tokenlens.tokenpulse
I like that you're making cost visible at the moment decisions are made instead of after the invoice arrives.
A lot of developer tools report what happened. Showing the cost while someone is still writing code changes behavior, because developers can adjust before the expense becomes irreversible.