v0.2.0 · macOS & Windows · MIT

Your AI quota,
right in the menu bar.

QuotaBar is a lightweight Tauri menubar app that watches your Claude Code, Codex, Cursor, and Antigravity usage — live quota windows, per-provider tray indicators, and local cost estimates computed on-device.

✦ No account data leaves your machine ✦ Read-only OAuth ✦ 60s background refresh

Features

Everything you need to not hit the wall

QuotaBar polls your providers in the background, keeps the numbers in your menu bar, and estimates what your usage costs — all from local data.

📊

Live quota windows

Real-data 5-hour, 7-day, Opus, Sonnet, and weekly windows per provider, with reset times shown as days plus hours when available.

🖥

Per-provider tray icons

Independent menu bar indicators for each provider. Enable or hide each tray while keeping at least one entry point.

💰

Local cost estimates

Today, week, and month cost estimates for Claude Code, Codex, and Cursor — derived offline from on-device logs.

🔒

Read-only credentials

Reads Claude Code OAuth credentials without ever refreshing or writing tokens. Your auth material stays untouched.

Smart polling

Refreshes every 60 seconds, backs off to 5 minutes on 429 rate limits and to 1 hour on auth failures, serving stale cache in between.

🪟

Glass popover & settings

A native-feeling popover shell with provider cards, theme options, macOS Hide Dock, and per-provider tray controls.

Providers

One menu bar, four providers

Tray percentages always represent used quota, not remaining — so a full bar means it's time to slow down.

C

Claude Code

Keychain / env token
  • 5-hour, 7-day, Opus, Sonnet & Design windows
  • Tray value prefers weekly total, with model-window fallbacks
  • Auth from claude login keychain entry or CLAUDE_CODE_OAUTH_TOKEN

Codex

~/.codex/auth.json
  • Short and weekly ChatGPT usage windows
  • Reset times shown as days plus hours when available
  • Tray value prefers the secondary window's used percent

Cursor

Sign-in / session token
  • Signed-in usage and request-limit windows
  • Works with Cursor sign-in or CURSOR_SESSION_TOKEN
  • Tray value uses the Cursor quota percentage

Antigravity

Status preview
  • Reports provider availability from your local install
  • Quota window tracking ships in a future release

Get started

Up and running in a minute

Download the installer for your platform, or build from source with Node.js and the Rust toolchain.

Download the installer

Grab the .dmg for macOS or the .msi / .exe for Windows from GitHub Releases.

Sign in to your providers

QuotaBar reads existing local auth — claude login, ~/.codex/auth.json, or a Cursor sign-in. It never manages login flows itself.

Watch the menu bar

Quota indicators appear per provider and refresh every 60 seconds. Click any icon for the full popover dashboard.

# Build from source
$ git clone https://github.com/majiayu000/quotabar.git
$ cd quotabar
$ npm ci
$ npm run tauri dev

# Local macOS app bundle
$ npm run tauri build -- --bundles app

Requires macOS or Windows, Node.js with npm, the Rust toolchain, and Tauri prerequisites.