Never hit a Claude Code or Codex rate limit blind.
See remaining 5-hour and weekly quota, burn pace, and exact reset countdowns right in your macOS menu bar. Official CLI sources only.
brew install --cask sohhamm/tap/ratelimitbarInteractive preview with synthetic sample readings · Switch tabs or click any reset time (or holdOption) to inspect exact clock times
Official CLI sources only
Reads codex app-server JSON-RPC and Claude Code statusLineoutput directly.
Zero credential reads
Never opens Keychain items, ~/.codex/auth.json, or browser cookies.
100% offline and local
Makes no network requests of its own outside Sparkle update checks. Zero telemetry.
Native SwiftUI and AppKit
Universal binary for macOS 14 Sonoma or later. No Electron or web renderer.
How RateLimitBar reads your limits without touching a single credential
Most usage trackers read your Claude Code-credentials Keychain item, open~/.codex/auth.json, or scrape browser cookies to call undocumented endpoints. RateLimitBar delegates every authenticated call to the vendor CLIs already installed on your Mac.
OpenAI Codex
codex app-serverRuns your own codex binary in read-only mode with a 20-second deadline and exchanges two JSON-RPC calls over stdio. Codex manages its own sign-in and network traffic.
codex -s read-only -a never app-server
→ account/read {"refreshToken":false}
→ account/rateLimits/readClaude Code
statusLine rate_limitsCopies a tiny local Foundation helper after your confirmation, backs up~/.claude/settings.json once, chains any existing status line, and restores it byte for byte on Disconnect.
stdin → aiusage-claude-statusline
writes ONLY rate_limits.{five_hour,seven_day}
to ~/Library/Application Support/… (chmod 0600)| Provider | Official source | Credentials read | What it shows and honest limits |
|---|---|---|---|
| Claude Code | statusLine rate_limits (+ opt-in local get_usage) | None | 5-hour and 7-day windows. Updates when Claude Code replies; opt-in localget_usage adds Opus/Sonnet/Fable weekly pools and updates while closed. |
| OpenAI Codex | codex app-server JSON-RPC | None | 5-hour, weekly, extra model buckets, plan name, and banked reset credits (with confirmation before redeeming). |
| Antigravity CLI | statusLine quota input | None | Official status-line quota buckets and plan tier through the same local helper, chaining any existing status line cleanly. |
| Muse Code | muse serve JSON-RPC | None | 5-hour and weekly allowance via --provider meta --no-session-log, plus opt-in local session token counters. |
| Gemini CLI & Cursor | Hidden by design | None | Google terms forbid reusing Gemini CLI OAuth tokens for quota (individual accounts moved to Antigravity CLI). Cursor has no documented personal usage API outside Enterprise admin keys, and we refuse to read browser cookies. |
Stop guessing when your quota runs out or resets
Every state in RateLimitBar is explicit: unknown or retained readings are never rounded to 0%, and optional API-rate token benchmarks are never presented as subscription spend.
Spot a fast burn hours before the lockout
Compare live 5-hour usage against an even-pace diagonal, check projected run-out times, and review 26 weeks of daily history shaded against your median day.
Get notified at threshold and the moment quota returns
Trigger native macOS alerts at custom percentages (70%/90% or every 10%), at limit, and the exact minute an exhausted window resets so you resume coding immediately.
18% left. Resets Mon 9:00 AM.
Scheduled reset at 4:10 PM, in 47 min.
Mute Until Reset100% left as of 4:11 PM.
Alert state persists locally so relaunches never repeat notifications, and retained snapshots never fire false warnings.
Separate work and personal accounts
Add any number of profiles per tool by pointing Settings to eachCODEX_HOME or CLAUDE_CONFIG_DIR. Every account keeps isolated readings, 26-week history, alert ledger, and token totals, switchable with⌘1 through ⌘9.
Native macOS desktop widgets
Small Usage rings and medium Usage breakdown WidgetKit widgets stay synced locally from the menu-bar app through an App Group with zero cloud relay.
Confirmed Codex banked resets
When your Codex plan includes banked reset credits, RateLimitBar shows the count and redeems one only after an explicit confirmation prompt viaaccount/rateLimitResetCredit/consume.
Opt-in local token activity
Off by default. Incrementally reads local JSONL usage counters (Today, 7d, 30d, and top 3 models) while skipping every prompt and message body. Dollar benchmarks use published API list prices, are labeled At API rates, and never infer subscription quota.
Install in under 60 seconds
brew install --cask sohhamm/tap/ratelimitbarNo credit card or account required. Updates arrive via Sparkle or Homebrew.
- Open from ApplicationsRuns quietly in your macOS menu bar with no Dock icon.
- Connect Codex or Claude CodeUses your installed CLI directly. Backed up and reversible in one click.
- Watch quota and pace liveGet native macOS alerts before a limit hits and the moment it resets.
Compare API list rates against Claude and Codex plans
Enter your daily agent hours, average prompt context, and prompt cache hit rate in our client-side calculator to see how published API list pricing stacks up against subscription plans, and check whether your current 5-hour burn pace clears reset.
Open limit calculator- Claude Pro5-hour rolling + 7-day weekly ceiling$20/mo
- Claude Max (5×)5× Pro 5-hour & weekly allowance$100/mo
- Claude Max (20×)20× Pro 5-hour & weekly allowance$200/mo
- ChatGPT Plus (Codex)5-hour + weekly Codex CLI allowance$20/mo
- ChatGPT Pro (Codex)Expanded 5-hour/weekly limits + banked resets$200/mo
Comparisons and technical guides
View all guides →Pay $15 once. Own v1 forever.
Start with the full-featured 7-day free trial directly from the DMG or Homebrew cask. No credit card, no account creation, and no recurring SaaS bill.
- Offline license verification
- Your emailed
AIU1-...key is signed with Ed25519 and verified locally with Swift CryptoKit, so RateLimitBar works air-gapped with zero license-server check-ins. - Zero subscription tax
- One $15 payment covers personal use on your Macs and every v1.x update delivered over Sparkle.
- Full-featured 7-day free trial included
- Lifetime v1.x updates via Sparkle
- Offline
AIU1-Ed25519 license key - Multi-account support, 26-week history, alerts, and desktop widgets
- Universal native app (macOS 14 Sonoma or later)
14-day refund guarantee. If RateLimitBar does not fit your workflow, email support@ratelimitbar.com within 14 days for a full refund.
Want to test it first? Download the 7-day free trial →
Frequently asked questions
Direct answers on zero-credential sources, network privacy, trial terms, and supported macOS versions.
How does RateLimitBar read usage without my OAuth token, Keychain, or API key?
RateLimitBar never opens Claude Code's Keychain credentials, ~/.codex/auth.json, Muse Code's auth files, or browser cookies. OpenAI Codex limits come directly from your local codex binary over the official codex app-server JSON-RPC protocol, and Claude Code limits come from Claude Code's official status-line rate_limits input through a small local helper you confirm during setup. Antigravity CLI uses the same official status-line helper, and Muse Code uses muse serve.
Does it phone home, send telemetry, or make network requests of its own?
No. RateLimitBar makes zero network requests of its own outside Sparkle's update check when an update feed is configured, and sends zero analytics, crash logs, or usage data to our servers. When you connect OpenAI Codex or Muse Code, those vendor CLIs contact their own backends directly using your existing sign-in. Your 26-week usage history stays strictly on your Mac inside Application Support with owner-only file permissions.
What happens when the 7-day free trial ends?
The 7-day trial includes every feature with no credit card and no account required. When the trial expires, readings pause until you enter a personal $15 one-time license key (AIU1-...). Your local history, settings, and connected CLI configurations stay intact, and your key is verified offline on your Mac with Swift CryptoKit so it never contacts a license server. Every purchase also includes a 14-day refund guarantee.
Which macOS versions and Apple chips are supported?
RateLimitBar is a native SwiftUI and AppKit universal binary built for Apple Silicon & Intel (Universal) running macOS 14 Sonoma or later. There is no Electron runtime or embedded browser, so it stays lightweight in your menu bar without a Dock icon.
How does connecting Claude Code work, and can I undo it cleanly?
When you click Connect for Claude Code and confirm the dialog, the app copies a small bundled Foundation helper to ~/Library/Application Support/ and registers it as statusLine.command in ~/.claude/settings.json after saving a one-time backup. If you already run a custom status line, the helper chains it with the exact same stdin so nothing breaks. Clicking Disconnect restores your previous settings.json byte for byte.
Why does Claude Code only update while Claude Code is running?
Claude Code sends rate_limits JSON to its status-line command after assistant responses, at session start, on /compact, and when a window resets. Older readings stay visible and explicitly marked as retained ("Reading from 2:12 PM") instead of faking 0%. If you want model-scoped weekly pools (Opus, Sonnet, Fable) and updates while Claude Code is closed, Settings includes an opt-in experimental "Detailed limits from Claude Code" option that queries your local claude binary.
Can I monitor multiple accounts, and why are Cursor and Gemini CLI hidden?
Yes. In Settings -> Tools -> Add Account, point to any additional CODEX_HOME folder for Codex or CLAUDE_CONFIG_DIR folder for Claude Code so work and personal profiles keep separate tabs, history, and alerts. We keep Cursor hidden because it has no documented personal usage API outside Enterprise keys and we refuse to scrape browser cookies. Gemini CLI is hidden because Google moved individual accounts to Antigravity CLI and Google terms forbid third-party apps from reusing Gemini CLI OAuth tokens for quota.
Are optional token cost estimates the actual dollars I spend on a subscription?
No, and the app never claims token logs can infer subscription quota or real billing. Local JSONL token log reading is opt-in and decodes numeric usage counters only while skipping every prompt and message body. Dollar benchmarks use published standard-tier API list prices and are always labeled "At API rates", with unpriced models excluded and flagged.
Also in development: Agent Sandbox for Mac
Our upcoming sister Mac app isolates coding agents inside a lightweight local macOS sandbox, blocks accidental reads of .env files, SSH keys, and cloud credentials, and lets you roll back any file change instantly using APFS copy-on-write clones.
- Per-repo local sandbox profiles for Claude Code and OpenAI Codex
- Secret firewall that intercepts ~/.ssh, ~/.aws, and .env access before the agent sees it
- Zero-overhead APFS snapshot & instant rollback when an autonomous run goes sideways