See your Claude Code and Codex usage limits in one place

Claude Code's 5-hour and weekly windows and Codex's windows, in your status bar. Read from your own CLI login: nothing leaves your machine.

On this page
  1. 01What the status bar shows
  2. 02Where the numbers come from
  3. 03The probe never opens a window
  4. 04What anywh never does
  5. 05Good to know

Hit a limit in the middle of a task and you lose the rest of the window. anywh shows how much of each agent’s plan is spent, in the status bar, so you can see it coming.

What the status bar shows

For Claude Code, the status bar shows the 5-hour window and the weekly window. For Codex it shows its windows too: 30 days on the free plan, and 5 hours plus a week on paid plans. It tells a Max 5x plan from a Max 20x plan, so the numbers mean what they say.

Each profile’s relay reads the CLI that is logged in on its own machine. Nothing leaves that machine, and nothing goes through a hosted service.

Where the numbers come from

AgentSourceCosts quota
Claude CodeThe rate limit event in the stream of a turn the relay runsNo, the turn was happening anyway
Claude CodeA small probe turn, when the 5-hour window is already openA few tokens of Haiku
CodexThe Codex app-server’s own rate limit readsNo, it starts no turn

Claude Code has no read-only way to ask for usage: every reading is a turn. So the relay reads the event it already gets at the end of every turn, and falls back to a probe only in the cases below.

The probe never opens a window

A turn on an account whose 5-hour window has expired opens a new window, anchored at that turn. For that reason the relay only probes on its own while a window is still active, while someone is watching the profile, while the account is not at its limit, and at most every 4 minutes.

With the window expired, the bar shows 0 % until a turn runs through anywh or you press refresh. The refresh button always probes, and that is intended: it is an explicit request.

NOTE

Prefer no probes at all? Set ANYWH_PLAN_USAGE_PROBE=0 in the profile’s .env. Claude’s numbers then come only from real turns, and Codex is unaffected because reading it costs nothing.

A login without a subscription, such as an API key or Bedrock, is never probed: the relay strips the billed credentials from the probe’s environment, so the turn cannot bill per token.

What anywh never does

It never calls a private usage endpoint with the CLI’s credentials, never reads a token, and never reads the contents of the Codex auth file. From Claude’s config it reads only the rate limit tier and the account and organization ids, and those are hashed at once.

The hash lets the app notice when two profiles are logged in to the same account and show it once. No e-mail, account id, token or tier string reaches the app or the relay’s log.

Good to know

  • With the window expired, use on another device, like claude.ai, shows up only after the next anywh turn or a refresh.
  • Codex paid plans follow the protocol’s types and have not been measured against a real paid account.
  • macOS is untested for this feature.

The full details, including the terms-of-service reading, are in the plan usage docs. To keep an eye on several agents at once, see parallel coding agents with git worktrees.

All posts
anywh.sh
DocsBlogProductDownloadsPricingSign InApache 2.0 · 2026