DEV Community

Cover image for I got a £340 AI bill I didn't see coming. So I built a VS Code extension to fix it.
Thiyan
Thiyan

Posted on • Originally published at marketplace.visualstudio.com

I got a £340 AI bill I didn't see coming. So I built a VS Code extension to fix it.

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.

Install TokenLens

Top comments (0)