Skip to content
项目

onekapisch/Tokens-4-Breakfast

在 GitHub 查看

关于

Track AI usage, spend, subscriptions and rate limits across 11 providers (Claude Code, Claude, Codex, Cursor, Copilot, OpenAI, Anthropic API, Grok, DeepSeek, Mistral, OpenRouter) in your Mac menu bar. Local-first, no telemetry.

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Tokens 4 Breakfast: every AI tool's spend, tokens and limits, live in your Mac menu bar. The popover shows $1,284 of API-equivalent value, a Claude session at 78% marked burning fast, and Codex on the Pro plan.

AI spend, tokens and rate limits across 11 providers, in one private Mac menu bar app.
Claude Code · Claude · Codex · Cursor · GitHub Copilot · OpenAI · Anthropic API · Grok · DeepSeek · Mistral · OpenRouter


Download for macOS Website

Version macOS 14.6+ Apple Silicon & Intel English & Deutsch Pro No telemetry Stars


[!NOTE] Tokens 4 Breakfast is a commercial, closed-source macOS app. This repository hosts the public docs and the issue tracker, not the source code. Bug reports and feature requests are welcome in Issues.

Why

If you build with AI, your spend and your limits are spread across a handful of tools, and you usually find out about either one too late:

  • The bill. Claude, ChatGPT, Cursor, Copilot and a few API keys each bill separately, and nothing adds them up until the invoices arrive.
  • The limit. You hit a Claude or Codex window halfway through an agent run, with no warning.

Tokens 4 Breakfast keeps both numbers in your menu bar while you work: what your usage is worth, what your subscriptions cost, and how much of each limit you have left.

A look inside

The Limits tab: Claude session at 16% on pace, weekly 52% with room to spare, Fable 31%, a forecast line, Codex weekly 12% with 1,250 credits, and Grok weekly 55% on pace

Limits. Every window with its reset time, a pace marker and a forecast.

The Insights tab: 412M tokens in the last 7 days, 3.1B all time, and $1,284 of API-equivalent value over 30 days

Insights. Tokens and their API-equivalent value at a glance.

The Plans tab: subscriptions return 8.6 times their price in API value this month, with Claude Max, ChatGPT Plus and SuperGrok listed

Plans. Whether your subscriptions pay for themselves.

Screenshots are rendered from the app with sample data, not a real account.

What you get

  • Live numbers in the menu bar. Show a provider's cost, all-provider spend, a subscription total, a Claude 5-hour or weekly cap, or Codex and Grok usage, with up to two extra compact metrics beside it.
  • Know your pace. Every 5-hour and weekly meter marks where an even pace would be, with one word beside it: burning fast, on pace or room to spare. 90% used with an hour to go reads very differently from 90% with two days left.
  • Limits before you hit them. Claude 5-hour, weekly and per-model limits, Codex limits and the Grok weekly limit, each with a reset time and a burn-rate forecast. Claude limits alert you as you approach the cap, and a weekly cap pinned in the menu bar alerts at 80%, 95% and 100%.
  • Usage in real money. Claude Code and Codex usage is valued at each model's published API rate, including cache reads, cache writes and Claude fast mode, so a flat subscription still shows what the same tokens would have cost. Models without a public rate are marked unpriced, never guessed.
  • Codex credits, watched. The Codex section shows your credit balance the way Codex counts it, and tells you once when you reach your plan limit and further work starts drawing on credits.
  • Subscription tracking. Add Claude, ChatGPT, Cursor, Copilot, Gemini, Grok, Mistral and other plans by hand, and see them next to your usage-based spend.
  • Focus Mode. Set a dollar budget for a work session and get warned at 80% and 100%.
  • Your currency. Show spend in EUR, GBP and more, at a conversion rate you set.
  • Privacy Audit Log. Every outbound request the app makes is logged in Settings, with host, reason and time.
  • English and German. The whole app is translated into German, with numbers, money and dates in your region's format.

New in 2.2: Notch Approvals Pro

A Claude Code permission request dropped from the MacBook notch: the command, a short description, an orange Network dot, and Deny and Allow buttons

Claude Code and Codex permission prompts drop from the notch, so you can answer them without switching to the terminal. Return allows, Esc denies, or click.

  • Keep typing. With Accessibility allowed, focus stays in the app you are working in. If you are typing when a card appears, Return keeps going to your app; Option-Return answers the card.
  • A risk dot. Commands that delete data, use admin rights or reach the network are marked. Nothing is ever labelled safe.
  • One switch per agent. Settings > Approvals adds a single permission hook to Claude Code or Codex and backs up the file first. Switching it off removes exactly that hook.
  • Fails open. A request you do not answer within 25 seconds goes back to the session's own prompt, and so does any error. Nothing shows on a locked or sleeping screen.
  • Stays on your Mac. Requests are never stored, logged or sent anywhere; the app keeps only a count of answers.

Usage Intelligence Pro

The Usage Intelligence window: 412M tokens, $298 of API-equivalent value, 31 sessions and 1 limit at risk this week, where work went by project, and the model mix led by Opus 5.5 and GPT-6.1

A full dashboard for heavy users: Limit Runway (when you will hit each cap at your current pace), Efficiency (where a cheaper model would do the job) and Plan Value (whether your plans pay for themselves), plus breakdowns by provider, model, project and session.

The Value per 1% of your limit card: Codex weekly at $2.33 of work per 1%, 4.1 times less than last week; Claude weekly at $5.00 per 1%, about the same as last week

Since 2.0.17: what 1% of your limit buys. How much work each 1% of your weekly Claude or Codex limit covers, compared with last week, so you can see when a limit tightens.

Since 2.1: reset history and insights export. Every limit reset with its declared and detected time and usage before and after, and a one-click export of your insights as CSV files.

The large desktop widget: Claude session at 78% warming, weekly and Opus healthy, Codex weekly at 88% critical, Grok weekly at 33%, and a Copilot plan, with $21,336 of API-equivalent value

Desktop widgets. Small, medium and large widgets show your closest limit, every connected provider, or every limit at once. Data older than 30 minutes is greyed out with the time of its last reading, so a stale figure never looks live.

The liquid notch. When a limit resets, the notch celebrates in one of three styles, Dew, Mercury or Ferro, each with its own soft sound. Gold for a scheduled reset, mint for one outside the declared window.

Pro also adds per-provider daily and weekly budgets with alerts, CSV export, a weekly summary and the shareable Token Card.

Settings that stay out of your way

The Providers settings page: Claude, Codex and Grok connected and live, with OpenAI, Cursor and GitHub Copilot available to add

Providers. Local sources connect without a key.

The Display settings page: menu bar icon styles and the metric the menu bar shows

Display. Choose exactly what the menu bar shows.

Supported providers

11 providers connect. 8 of them report real spend; Claude Web and Grok report live rate limits only, and DeepSeek reports an account balance, so the app shows no dollar figure for those three.

Provider What it reports How it connects
Claude Code Spend (API-equivalent), projects, models, sessions Local session files. No key.
Claude Web Claude 5-hour, weekly and per-model limits Your claude.ai session, via a guided connect in Settings
Cursor Spend, projects, models, sessions Local Cursor data. No key.
Codex Spend, plan limits and credits Local Codex CLI sessions. No key.
GitHub Copilot Subscription value and monthly quota (AI credits or premium requests, as GitHub reports it) Your local Copilot CLI login. No key.
Grok Grok weekly limit (SuperGrok or X Subscription) Your local Grok CLI login. No key.
Anthropic API Organization API spend Anthropic Admin API key (organizations only)
OpenAI Organization API spend OpenAI organization Admin API key
Mistral Organization API spend Mistral Enterprise Admin API key
OpenRouter Spend, model mix, remaining credits OpenRouter API key
DeepSeek Account balance DeepSeek API key
Gemini Coming soon Not collecting yet

OpenAI, Anthropic API and Mistral need an organization admin key; a personal key cannot read their usage endpoints. Keys are stored in the macOS Keychain and sent only to that provider's API.

Free vs Pro

Free Pro
Price $0, no time limit $14.99 one-time, no subscription
Providers 1 of your choice All 11
History Today and 7 days 30 days
Menu bar spend and limits, pace marker ✓ ✓
Focus Mode session budgets ✓ ✓
AI subscription tracking ✓ ✓
Privacy Audit Log ✓ ✓
Notch Approvals for Claude Code and Codex ✓
Desktop widgets ✓
Liquid notch reset animation ✓
Usage Intelligence and Value per 1% ✓
Reset history and insights export ✓
Per-provider daily and weekly budgets ✓
CSV export and weekly summary ✓
Sessions tab with cost breakdown ✓
Token Card ✓
Priority email support ✓

Pro includes future updates. It is licensed per Mac and comes with a 14-day money-back guarantee. If you bought Pro at the $7.99 launch price, you keep everything, including future updates.

Privacy and security

  • Local storage. Usage lives in a SQLite database on your Mac. There is no Tokens 4 Breakfast account and no cloud backend.
  • No prompts, ever. The app keeps usage metadata only (token counts, model, timestamp, cost). Your prompts and responses are never stored or sent anywhere.
  • No telemetry. The only network calls go to the providers you connect, a license check when you activate Pro, and the update check. Each one appears in the Privacy Audit Log.
  • Credentials in the Keychain. API keys and sessions are stored in the macOS Keychain and sent only to the matching provider.
  • Approvals stay local. Notch Approvals talks to Claude Code and Codex over a private local socket that only the signed app can use. Requests are never stored or sent.
  • Signed and notarized by Apple, with the hardened runtime. Built in Germany.

See SECURITY.md for how to report a vulnerability.

Install

  1. Download the latest release.
  2. Open the .zip and drag Tokens 4 Breakfast to /Applications.
  3. Launch it, click the menu bar icon, and connect a provider in Settings.

Or with Homebrew:

brew tap onekapisch/tap
brew trust onekapisch/tap
brew install --cask onekapisch/tap/tokens-4-breakfast

Homebrew 7 and later only load casks from taps you have trusted, so brew tap and brew trust are needed once.

Updating: built-in auto-update (Sparkle). The app tells you when a new version is ready to install.
Uninstalling: quit the app and move it to the Trash, or run brew uninstall --zap --cask onekapisch/tap/tokens-4-breakfast if you installed it with Homebrew. Your data is in ~/Library/Application Support/Tokens4Breakfast; saved keys are in your login Keychain under com.onekapisch.tokensforbreakfast.
Requirements: macOS 14.6 Sonoma or later, Apple Silicon or Intel.

Recent releases

Version Highlights
2.2 · 2 Dec 2026 Notch Approvals (Pro): answer Claude Code and Codex permission prompts from the notch with Return or Esc, a risk dot for risky commands, and a 25-second fall-back to the normal prompt
2.1.1 · 21 Nov 2026 A steadier reset chime: a sound that cannot start no longer affects the app
2.1 · 16 Nov 2026 Liquid notch reset animation (Dew, Mercury, Ferro) with its own sounds, desktop widgets, reset history and insights export (Pro)
2.0.20 · 15 Nov 2026 Tokens 4 Breakfast in German, with numbers, money and dates in your region's format
2.0.19 · 1 Nov 2026 Claude Max and Ultra plan names, weekly-only limits on verified Ultra accounts, Max and Ultra API credits shown but not counted, X Subscription plans for Grok and Cursor, and GPT-6.1 Terra priced
2.0.18 · 23 Oct 2026 Sharper pace marker with overshoot and headroom shading, clearer OpenRouter connection errors, safer Keychain reads, and Claude Haiku 5.5 priced
2.0.17 · 4 Oct 2026 Pace marker on every 5-hour and weekly limit, Codex credits watch, value per 1% of your limit (Pro), and Claude Opus 5.5 / Sonnet 5.5 and GPT-6.1 Sol priced
2.0.16 · 19 Sep 2026 GPT-6 and Claude Fable 5.1 priced; every model rate re-checked against the providers' official pricing pages
2.0.15 · 18 Sep 2026 Extra metrics in the menu bar, weekly-limit alerts at 80/95/100%, and a selectable period for the popover's headline figure
2.0.14 Focus sessions back in the popover, a burn-rate forecast per limit, and early-reset tracking
2.0.10 Anthropic API organization spend
2.0.9 Spend in your own currency, the standalone Copilot CLI, and Codex per-model limits
2.0.6 Grok / SuperGrok weekly limit

Full notes for each version appear in the app's What's New sheet.

How it compares

ccusage is a command-line tool for local agent usage and costs; Tokens 4 Breakfast puts that kind of visibility in a native menu bar app and adds subscriptions, budgets and more providers. CodexBar is a free, open-source menu bar tracker for coding-provider limits; Tokens 4 Breakfast also tracks spend, subscriptions and budgets around those limits. More side-by-side pages: tokens4breakfast.app/alternatives.

FAQ

Is it open source?
No, it is a commercial app. This repo holds the docs and the issue tracker.
Does it read my prompts?
No. It keeps token counts, model names, timestamps and cost, never conversation content.
Does it send my data anywhere?
No telemetry. It only calls the providers you connect, plus the Pro license check and the update check.
Why is there no dollar figure for Claude Web, Grok or DeepSeek?
Those providers report limits or a balance, not spend, and the app does not invent one.
What about Gemini?
Google does not currently expose the account usage data the app needs, so Gemini stays disabled until it does.
What does Notch Approvals change in my Claude Code or Codex setup?
One permission hook, added when you switch an agent on in Settings > Approvals (in ~/.claude/settings.json or ~/.codex/hooks.json). Everything else in those files is kept, the first change is backed up, and switching off removes exactly that hook. If the app is not running or anything goes wrong, you get the normal prompt.
Can I use Pro on more than one Mac?
Pro is licensed per Mac. The free plan has no device limit.

More answers in the full FAQ.

Roadmap and feedback

The roadmap follows what users ask for. Want a provider or a feature? Open an issue. Many recent features, including the pace marker and the multi-metric menu bar, started as requests.

More from OneKapisch

Other apps from the same studio, onekapisch.com:

Mac 4 Breakfast icon
Mac 4 Breakfast

Your one battery app that does it all.
LUMEL icon
LUMEL

Brighter than macOS allows. Darker than its minimum.
Clip 4 Breakfast icon
Clip 4 Breakfast

The clipboard manager that never slows your Mac down.
Chime 4 Breakfast icon
Chime 4 Breakfast

Run-completion alerts. Open source.
Easy Write icon
Easy Write

On-device writing tools. Open source.
SkyLocation icon
SkyLocation

Know where you are. Without internet or signal.

If Tokens 4 Breakfast is useful to you, a ⭐ helps other builders find it.

Website · Download · FAQ · Privacy

Built in Germany by OneKapisch.

探索相关项目

加载中…