usagio on macOS, Linux, and Windows
A native menu bar on all three โ same menu, same auto-swap, same never-re-login guarantee, for both Claude Code and Codex.
usagio tracks usage and quota across Claude Code, Codex, and every AI coding CLI you run โ multiple accounts per provider, one keystroke to switch, and an auto-swap daemon that keeps you coding when a weekly limit hits.
Free & open source ยท macOS ยท Linux ยท Windows



Capture each account's login once. usagio never touches your active account's token โ the vendor CLI owns it โ so there's no recurring/login dance, on any provider.
A native menu bar on all three โ same menu, same auto-swap, same never-re-login guarantee, for both Claude Code and Codex.
Instantly swap between OpenAI Codex accounts too. ~/.codex/auth.json is under usagio's control now.
usagio never touches your active account's token โ the vendor CLI owns it. Capture a login once and it stays valid; switching between accounts never triggers a fresh /login.
First-party coverage for Claude Code and Codex today. Stubs and scaffolding for the rest are in the tree โ provider adapters land as each CLI's usage surface stabilises.
Shipping today Planned / stub in tree
Full support for both providers on all three OSes โ one binary, one menu, the same never-re-login guarantee everywhere you code.
Each row shows session-window and weekly-quota use as a percentage, with reset countdowns on hover. No dashboards, no browser.
Sign in more than once to Claude Max or Codex, switch which one claude or codex uses without touching /login.
When a weekly quota is about to hit, usagio drains accounts in reset order โ the next account is already active before you notice the wall.
The same single Rust binary powers the menu-bar app and a scriptable CLI. Pipe usage into your shell prompt, or check it in a Raycast script.
Tokens live in your OS keychain, not a file. One small binary per OS โ no Electron, no bundled Chromium.
Pure Rust. Install via Homebrew or build from source. The whole app is licensed MIT โ run it anywhere, audit it, build on it.
usagio talks to first-party provider endpoints with tokens issued toyour account. That's a lot of trust to give a closed binary. Every line is MIT-licensed and onGitHubso you can audit exactly what it sends, where it stores state, and how the auto-swap decides when to move you.
The menu reads at a glance in every state โ from a fresh Monday morning to the moment auto-swap catches a weekly ceiling.

All accounts under 60% weekly. Menu stays green; auto-swap keeps its powder dry until it's actually needed.
brew install puts the binary on your PATH.usagio install wires up the menu-bar app and the auto-swap daemon, now and at every login.
# Homebrew tap โ single Rust binary, no runtime, no webview$ brew tap --trust mattjackson/tap
$ brew install mattjackson/tap/usagio
$ usagio install # menu-bar app + auto-swap, now and every loginPrefer a manual install, or building from source? See the download page โ
Install usagio. See every quota. Never lose a session to a limit you didn't know you were about to hit.