Live
Black Hat USADark ReadingBlack Hat AsiaAI BusinessArtificial intelligence hype cycle risks collapse with market implications - MSNGoogle News: AIMeta paused its work with AI training startup Mercor after a data breachBusiness Insider[R], 31 MILLIONS High frequency data, Light GBM worked perfectlyReddit r/MachineLearningConsidering NeurIPS submission [D]Reddit r/MachineLearningAutomate Your Handyman Pricing: The True Hourly Cost AI ForgetsDev.to AIScience Is Not a Reading ProblemMedium AIHow Antigravity AI Changed My React Workflow (In Ways I Didn’t Expect)Medium AIToken Usage Is the New RAM UsageDev.to AIStop Writing Rules for AI AgentsDev.to AIUsing AI as your therapist?Medium AIDigital Marketing Trends and the Role of AI in Modern Business StrategiesMedium AIThe AI Pen: Collaborating With Artificial Intelligence Without Losing Your Unique VoiceMedium AIBlack Hat USADark ReadingBlack Hat AsiaAI BusinessArtificial intelligence hype cycle risks collapse with market implications - MSNGoogle News: AIMeta paused its work with AI training startup Mercor after a data breachBusiness Insider[R], 31 MILLIONS High frequency data, Light GBM worked perfectlyReddit r/MachineLearningConsidering NeurIPS submission [D]Reddit r/MachineLearningAutomate Your Handyman Pricing: The True Hourly Cost AI ForgetsDev.to AIScience Is Not a Reading ProblemMedium AIHow Antigravity AI Changed My React Workflow (In Ways I Didn’t Expect)Medium AIToken Usage Is the New RAM UsageDev.to AIStop Writing Rules for AI AgentsDev.to AIUsing AI as your therapist?Medium AIDigital Marketing Trends and the Role of AI in Modern Business StrategiesMedium AIThe AI Pen: Collaborating With Artificial Intelligence Without Losing Your Unique VoiceMedium AI
AI NEWS HUBbyEIGENVECTOREigenvector

I built a Mac app after getting surprised by my Claude bill

DEV Communityby Henry GodnickApril 1, 20263 min read0 views
Source Quiz

<p>A few months back I got my monthly API bill and felt sick.</p> <p>I had been vibe-coding pretty hard with Claude, and I knew it wasn't going to be zero. But the number was way higher than I expected. Like, embarrassingly higher. I had been running Claude Code sessions back to back, long context windows, lots of tool calls, and I had no idea how fast it was adding up.</p> <p>The worst part? I couldn't have known. There's no live feedback. You just work, and then you find out later.</p> <p>So I did what most developers do when something annoys them enough. I built a tool to fix it.</p> <h2> What I made </h2> <p>TokenBar is a macOS menu bar app that tracks your AI token usage in real time. It sits in your menu bar the whole time you're working and shows you your spend as it happens, not af

A few months back I got my monthly API bill and felt sick.

I had been vibe-coding pretty hard with Claude, and I knew it wasn't going to be zero. But the number was way higher than I expected. Like, embarrassingly higher. I had been running Claude Code sessions back to back, long context windows, lots of tool calls, and I had no idea how fast it was adding up.

The worst part? I couldn't have known. There's no live feedback. You just work, and then you find out later.

So I did what most developers do when something annoys them enough. I built a tool to fix it.

What I made

TokenBar is a macOS menu bar app that tracks your AI token usage in real time. It sits in your menu bar the whole time you're working and shows you your spend as it happens, not after.

It works with Claude API, OpenAI, and a few others. You paste in your API key, and from that point on you can see tokens and cost right there in the menu bar while you code.

No dashboards to switch to. No end-of-month surprises. Just a number in the corner of your screen that tells you what's actually happening.

Why menu bar

I tried building a dashboard version first. I never looked at it. I'd forget it was there and then check it once a day or not at all.

The menu bar is different because it's persistent. You don't have to remember to check it. You're looking at your menu bar constantly anyway, so the information just becomes part of your workflow.

When I see the number creeping up I naturally adjust. Maybe I close a long context, maybe I switch models, maybe I just stop and think about whether the next prompt is actually necessary. Having visibility changes behavior.

The pricing thing

I charged $5 lifetime. I know it's cheap. But the whole point is that this is a tool to help you spend less money on AI. It felt wrong to charge a lot for that.

Also I wanted it to be a no-brainer purchase. If you use Claude or GPT-4 even occasionally, you'll make back $5 in avoided waste probably on the first week.

If you want to try it

It's at tokenbar.site. Mac only for now.

Would love to hear if other people have had the same experience of getting surprised by their AI bills. It seems like it's more common than people admit.

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

Knowledge Map

Knowledge Map
TopicsEntitiesSource
I built a M…claudemodelversionclaude codeDEV Communi…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 187 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!