cd /news/developer-tools/show-hn-tokenmaxx-cli-that-merges-us… · home topics developer-tools article
[ARTICLE · art-67399] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: Tokenmaxx – CLI that merges usage across Claude Code and Codex accounts

Rubric Labs released Tokenmaxx, a CLI tool that merges usage across multiple Claude Code and Codex accounts into a single dashboard with auto-rotation between accounts based on rate-limit pressure. The tool runs a loopback proxy on 127.0.0.1:8459, stores credentials in the macOS Keychain, and defaults to switching at 90% threshold to avoid hitting hard limits.

read3 min views1 publishedJul 21, 2026
Show HN: Tokenmaxx – CLI that merges usage across Claude Code and Codex accounts
Image: source

One dashboard for all of your Codex and Claude Code accounts. Easily switch between them, and monitor usage.

macOS · Bun · a Rubric Labs project · not affiliated with OpenAI or Anthropic

bun add -g tokenmaxx
tokenmaxx #starts the dashboard

You run a fleet of coding agents using multiple Codex or Claude accounts:

tokenmaxx keeps them all signed in locally and lets you choose which one your clients use. A small proxy on your machine attaches the active account's credential to each request, so a switch takes effect on the very next request, even mid-turn. Your credentials live in the macOS Keychain and never go anywhere except to the provider that issued them.

Run tokenmaxx

. Accounts shows every account and its live rate-limit windows, colored by pressure, with plan tier and reset countdowns inline. Rows sort by pressure; the ● marks where traffic is going right now.

Analytics is combined token throughput across all accounts and both providers, with the ≈ cost of that usage at API list rates. Tokens are metered as responses stream by, never buffered, so every number is cross-checkable against your clients' own session logs. Press m

for the full pricing breakdown per model.

Settings holds the master on/off per provider, then auto-rotation, the switch threshold, and cooldown, applied live.

Turn it on and tokenmaxx watches the active account's rate-limit windows. When the fullest one crosses your threshold, it switches to whichever of your accounts has the most room. The default threshold is 90%, which leaves the last stretch of every window alone in case you want it later. If an account hits a hard limit in the middle of a request, the proxy retries that request on your next account with room.

tokenmaxx auto both on --threshold 90    # or: codex | claude … off

A single loopback proxy on 127.0.0.1:8459

, and the clients you already use.

Account per request. The proxy reads which account is active for each request and attaches its credential. Switching lands on the next request.Pressure read for free. Both providers report rate-limit state on every response; the proxy reads it as traffic streams by, so it always knows how full the active account is, with zero extra requests.Official apps only. Your subscription login is for Claude Code and Codex. If you're building something custom, use an API key from the provider. tokenmaxx doesn't turn a subscription into an API plan.

tokenmaxx                                  live dashboard
tokenmaxx login <codex|claude>             sign in; isolated, idempotent
tokenmaxx install                          route native codex & claude
tokenmaxx uninstall                        restore native config
tokenmaxx switch <codex|claude> <email>    make an account active
tokenmaxx auto <both|codex|claude> <on|off> [--threshold N]
tokenmaxx list | status | refresh | doctor

Env: TOKENMAXX_HOME

, TOKENMAXX_PROXY_PORT

, TOKENMAXX_THEME

.

tokenmaxx is for one person with accounts they pay for themselves. No account gets bigger limits, no limit gets bypassed, and your credentials stay between your Keychain and the provider. Don't share accounts, don't pool them, don't resell access. Provider terms change, and it's on you to check that yours allow this kind of switching. The software is provided as is, with no warranty.

An independent Rubric Labs project, not an official product of, affiliated with, or endorsed by OpenAI or Anthropic. Inspired by codex-account-switcher.

── more in #developer-tools 4 stories · sorted by recency
── more on @rubric labs 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-tokenmaxx-cl…] indexed:0 read:3min 2026-07-21 ·