AI Usage Bar
Get Pro - $9.99
Home/Blog/How to Track OpenAI Token Costs on Mac

May 10, 2026 · 4 min read

How to Track OpenAI Token Costs on Mac

OpenAI's usage dashboard updates with up to an hour of delay. By the time you notice a cost spike, you've already spent the money. For developers using ChatGPT, the API, Cursor (which runs GPT-4o under the hood), or automated pipelines, costs compound fast and in ways that don't surface until billing time. Here's how to stay on top of them in real time on a Mac.

Understanding How OpenAI Billing Works

OpenAI has two distinct billing models depending on which product you're using.

ChatGPT Plus ($20/month) is a flat subscription that gives you access to GPT-4o with a message-based rate limit — roughly 40 messages per 3-hour rolling window. After that, ChatGPT suggests switching to GPT-4o mini, which is uncapped. The $20/month doesn't change based on usage; you pay the same whether you send 10 messages or 400.

OpenAI API is usage-metered and billed monthly. Every token you send (input) and receive (output) has a cost that varies by model. There's no monthly ceiling unless you manually set one in the API dashboard.

OpenAI API Token Costs in 2026

Understanding per-token costs is essential for managing API spend:

  • GPT-4o: $2.50/1M input tokens, $10/1M output tokens
  • GPT-4o mini: $0.15/1M input, $0.60/1M output — 16× cheaper than GPT-4o
  • o3: $10/1M input, $40/1M output — for complex reasoning tasks
  • o4-mini: $1.10/1M input, $4.40/1M output — o3-class reasoning at lower cost

To put this in context: a single long context request with 100K input tokens and 10K output tokens on GPT-4o costs $1.35. Run a few hundred of those per day in an automated pipeline and the monthly bill becomes substantial quickly. One o3 request with a large prompt can cost several dollars on its own.

Where Costs Hide: The Multi-Surface Problem

Most developers don't use OpenAI through a single interface. The typical workflow looks something like: ChatGPT Plus for ideation and planning, the direct API for building features, and Cursor Pro (which uses GPT-4o as one of its premium models) for daily coding.

Here's the problem: none of these are tracked together. ChatGPT Plus is billed as a subscription (no usage visibility). The OpenAI API has a dashboard with delayed data. Cursor's fast requests are tracked by Cursor, not OpenAI. Your real OpenAI-model exposure across all three surfaces is invisible unless you aggregate it manually.

Why Native Monitoring Isn't Enough

The OpenAI usage dashboard at platform.openai.com/usage has a few critical limitations:

  • Data is delayed by up to 60 minutes — you can't see what you're spending right now
  • Budget alert emails fire after you've already crossed the threshold, not before
  • There's no ambient monitoring — you have to actively open a browser tab to check
  • ChatGPT Plus usage (message counts and window resets) isn't in the API dashboard at all

The result: most developers don't look at their OpenAI costs until the bill arrives. At that point, attribution is hard — you know what you spent, but not which session, project, or workflow drove the spike.

How to Set a Budget Cap

OpenAI lets you set a monthly hard limit and a soft limit (email notification) at platform.openai.com/account/limits. The hard limit cuts off API access when reached; the soft limit sends an email. Both are worth setting as a backstop, but they don't give you real-time visibility or proactive warnings at a granular level.

Real-Time OpenAI Cost Tracking on Mac

AIUsageBar is a native macOS menu bar app that shows your live OpenAI token spend, today's cost, and your monthly cost trajectory — updated in real time, not with an hour's delay. You can set a daily or monthly budget threshold and receive a macOS notification before you hit it.

For ChatGPT Plus users, it also shows your current GPT-4o message count and the remaining time in your 3-hour window — the data that ChatGPT doesn't surface prominently in its own interface.

If you also use Claude, Cursor, Copilot, or Gemini, the Pro plan ($9.99 one-time) consolidates all five providers in the same menu bar popup. See the full comparison of AI usage trackers for macOS if you're evaluating options.

Track your limits automatically.

AIUsageBar shows live usage for every AI tool from your Mac menu bar.