DEV Community

Monk Mode Team
Monk Mode Team

Posted on

How I Track AI Token Usage Across OpenAI, Claude, and Cursor Without Opening a Dashboard

I've been thinking a lot lately about how quietly AI tools have become essential to my development workflow. Between ChatGPT for brainstorming, Claude for deep code reviews, Copilot in VS Code, and Cursor as my daily editor, I'm basically swimming in AI-powered features. But here's the thing that kept me up at night: I had no idea what I was actually spending.

Every few weeks, I'd get that moment of panic. I'd log into OpenAI's dashboard and see charges that made me go "wait, what?" I'd open Claude's account page and squint at some vague usage stats. And honestly? I'd just close it and try not to think about it. Which is a terrible strategy, but also... relatable?

The Dashboard Fatigue is Real

Let me paint the picture. You've got:

  • OpenAI's dashboard (nice, but you have to remember to check it)
  • Claude's usage page (buried somewhere in settings)
  • Anthropic's billing (different from Claude web)
  • Cursor's usage (if they show it)
  • GitHub Copilot costs (comes out of your GitHub Enterprise bill probably)
  • Gemini API usage (somewhere in Google Cloud Console)

That's not even counting the smaller tools and experimental APIs you're dabbling with.

The result? You end up checking dashboards reactively instead of proactively. You don't see your usage trending up in real-time. You can't correlate "oh, I was working on that huge refactor last week" with your actual costs. And worst of all, you can't tell if you're being efficient with your token usage or just throwing API calls at problems.

I realized I wanted something simpler: a way to see my AI spending at a glance, without context-switching out of my editor or work.

Enter: TokenBar

A few months ago, I stumbled on TokenBar, and honestly, it felt like someone designed it specifically for the problem I've been living with.

It's a macOS menu bar app that sits quietly in your top menu and shows you live AI token usage and costs across all your AI tools. All of them. We're talking OpenAI, Claude, Gemini, Cursor, Copilot, and more — all aggregated in one place.

The setup was refreshingly straightforward:

  1. Drop the app in Applications
  2. Drop your API keys (local-first, stays on your Mac)
  3. Glance at your menu bar whenever you want

That's it. No dashboards to remember. No logging in. It's just... there.

What Actually Changed For Me

First, seeing real-time costs completely changed how I think about API calls. Before, I'd dump giant codebases into Claude's API without thinking twice. Now I see the little number tick up in my menu bar, and it makes me think: "Do I really need to paste the entire project, or can I be more surgical?"

It sounds small, but it's a behavior shift. When feedback is immediate and visible, you optimize without trying.

Second, I can finally answer "where is my money going?" Instead of it being this nebulous mystery, I can see that my Claude usage is the biggest chunk (code review and architecture help), OpenAI's a smaller slice (some automations I've got running), and Copilot is basically noise in comparison.

Third, spotting anomalies became trivial. One week my costs spiked weirdly. Glancing at TokenBar, I could see it was all Claude tokens. Turned out I'd left a script running that was hammering the API. Caught it immediately instead of finding out when my bill came.

The Details That Matter

A few things I appreciated about how it's built:

Privacy-first: All your API keys stay on your machine. TokenBar isn't sending your usage to some server to track you. It's just pulling from the APIs themselves.

One-time cost: $5-$10 lifetime. No subscription model trying to get you hooked. This is a tool someone built to solve a real problem, not a service designed to extract recurring revenue. That alone made me want to support it.

Local and fast: Since it's running locally, the menu bar updates are snappy. No network latency, no waiting. Just real-time numbers.

Actually useful formatting: It doesn't just show you raw tokens. It shows you costs in dollars, breaks it down by service, and lets you see patterns. The formatting is clean and readable in a tiny menu bar space.

Who Is This For?

Honestly? If you're using more than one AI tool regularly, and you care about understanding your costs, this is for you.

  • Indie developers juggling multiple AI services
  • Engineering teams trying to understand where their API budgets are going
  • Freelancers who need to understand their tooling costs
  • Anyone who's ever had that sinking feeling of "wait, how much did I just spend?"

It's especially valuable if you're the kind of person who cares about observability in your own systems. You probably have observability for your production apps, your databases, your infrastructure. Your AI spending should be no different.

The Real Benefit

Here's what TokenBar gave me that dashboards never did: awareness without friction.

I can see my AI spending the same way I see my battery percentage or network status. It's just there, part of my environment. I'm not logging into anything. I'm not switching contexts. I just glance at my menu bar while I'm working, and the data is instantaneous.

That frictionless feedback loop is powerful. You start making smarter choices about which tool to use for which task. You think twice before pasting your entire monorepo into an API call. You get curious about your patterns instead of anxious about your bill.

Give It a Shot

If you've been living with the same "I have no idea what I'm spending" anxiety that I was, do yourself a favor and check out TokenBar.

Spend five bucks once, drop in your API keys, and let it sit in your menu bar while you work. I think you'll be surprised how much clarity you get from just seeing the numbers tick by.

And if you end up using it, you've got a developer somewhere to thank for building something useful instead of another subscription SaaS trying to solve problems you don't have.

Top comments (0)