Every Claude account,one glance away.
Swapbar sits in your menu bar and shows the 5-hour, weekly and per-model quota of every claude-swap account. Click one to switch.
macOS 14 or later · Free and open source · Needs claude-swap
All accounts,one glance
Every claude-swap account with its plan and its 5h, 7d and Fable windows, refreshed from cswap on a schedule that respects Anthropic’s rate limit.
One-clickswitching
A click on an inactive row runs cswap switch. Claude Code picks up the new credentials on its next request.
Remainingor used
Show quota as what’s left or what’s used. The menu bar title follows the same preference.
Per-modelweekly limits
Weekly model-scoped limits such as Fable appear as their own rows.
Token & costat API prices
Reads your Claude Code transcripts locally and sums tokens by model for today and the last 30 days, priced at API list prices.
Auto-switchsettings
Tune cswap’s autoswitch.* thresholds, strategy and cooldown from a settings window instead of the terminal.
Light anddark mode
Follows the macOS appearance, or pin it to Light or Dark in Settings. The menu bar icon adapts on its own.
Native, tiny,written in Rust
Built with gpui, the GPU-accelerated UI framework behind Zed. No Electron, no web view: a 3.8 MB download that runs in about 50 MB of memory.
Opensource
MIT licensed. Read the code, build it yourself, open an issue.
Keep your limits in view.
Download for MacmacOS 14 or later
FAQ
- Does it need claude-swap?
- Yes. Swapbar is a front end for cswap: it reads accounts and quotas with cswap list --json and switches with cswap switch. Install claude-swap first and add your accounts there.
- Does it call the Anthropic API itself?
- No. cswap already polls the usage endpoint and paces requests to stay under the per-account rate limit. Swapbar only asks cswap.
- Where does the plan label come from?
- From the Claude profile cswap saves for each account. Swapbar uses only the plan fields: Max 5x or 20x, Pro, or Premium and Standard for Team and Enterprise seats. The label updates when cswap refreshes that profile.
- Where do the cost numbers come from?
- From the JSONL transcripts Claude Code writes under ~/.claude/projects, deduplicated by message id, priced at public API list prices. They are an estimate, not your subscription bill.
- Does anything leave my Mac?
- Only cswap’s own calls to Anthropic. Swapbar makes no network requests of its own except an optional daily fetch of model prices from models.dev.
- Is it signed and notarized?
- Not yet. On first launch, right-click the app and choose Open, or build it from source with cargo.