macOS · Windows · Linux · MIT

Your AI quota,
right in the menu bar.

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

✦ Quota polling talks to providers you already use; tokens never go to QuotaBar ✦ Cost estimates stay on-device ✦ 60s background refresh
QuotaBar showing remaining quota, reset times and the usage analysis entry
Current interface with illustrative data. No account data is shown.

Features

Everything you need to not hit the wall

QuotaBar polls Anthropic, ChatGPT, Cursor, and Grok in the background using the local credentials you already have. The local app reads credentials and sends them to the relevant provider for quota checks. Cost estimates stay on-device.

📊

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, five providers

Tray percentages represent remaining quota. A low percentage means the selected provider is close to its limit; reset times appear in the panel.

C

Claude Code

Keychain / env token
  • 5-hour, 7-day, Opus, Sonnet & Design windows
  • Tray shows remaining quota for the most constrained Claude window
  • 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 shows remaining quota from the weekly window, with a short-window fallback
▣

Cursor

Sign-in / session token
  • Signed-in usage and request-limit windows
  • Works with Cursor sign-in or CURSOR_SESSION_TOKEN
  • Tray shows remaining Cursor Models quota, with an overall-quota fallback
G

Grok

Grok Build login
  • SuperGrok weekly and monthly pool plus extra credits
  • Auth from an existing Grok Build login on this machine
  • Tray shows remaining quota from the shared SuperGrok credits pool
✦

Antigravity

Hidden for now
  • Hidden in the app until quota tracking exists
  • 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, or the .AppImage for Linux x64, from GitHub Releases.

Sign in to your providers

QuotaBar reads existing local auth — claude login, ~/.codex/auth.json, Cursor, or Grok Build. It never manages login flows itself.

Watch the menu bar

Open QuotaBar, click its tray icon, and use Check connection after provider sign-in. Overview shows remaining quota and reset times; open Usage analysis for local projects, sessions and history. The desktop workspace stays closed until you open it.

# 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

Building from source requires Node.js with npm, Rust, and the Tauri prerequisites for your OS. These tools are not required to run a downloaded installer.

Usage guide

Check remaining quota and understand the numbers

How do I check Claude Code or Codex remaining quota?

Install QuotaBar, sign in through your provider's own app or CLI, then use Check connection in QuotaBar. Click a tray icon to inspect its windows and reset times. The tray percentage means remaining quota; the provider guide explains which window each icon selects.

Why is a provider blank or showing stale data?

A missing connection or failed provider request is not zero usage. Check your provider's sign-in and retry Check connection. QuotaBar backs off after authentication errors or rate limits and may show a marked cached reading. Antigravity is hidden until its quota can be tracked. See provider limitations before reporting an issue.

Is the local cost estimate my subscription bill?

No. Cost estimates use local token logs and model prices; quota windows describe your provider's usage limits. A dollar estimate does not establish how much your subscription costs or how much quota remains. For date-bounded CLI reports and JSON/CSV exports, see ccstats, the separate analytics SDK used by QuotaBar.

Does QuotaBar sign me in or upload my conversations?

Interactive sign-in stays with your provider. Quota checks contact the provider using existing local credentials; local cost computation stays on-device. Read the data and security notes, or report a connection problem without including tokens or session files.