Skip to main content
The app and pitboard watch pick an account by the same rules. The app shows each reason in a notification, as the menu bar app and the app on Windows list, and under the share in Settings. pitboard watch prints it in its lines, and with --json gives the code in reason.

Which account it switches to

Pitboard watches every limit of the account in use, a model’s weekly limit included. A limit counts at the whole percentage Pitboard shows, so 94.5% reaches 95%. Once a limit reaches the share, Pitboard looks for another enrolled Claude Code account that:
  • Has a parked login that has not expired.
  • Has a reading from Anthropic.
  • Has used less than the share of every limit it has.
  • Has not been passed over at this limit, as When a try fails says.
Of those, Pitboard picks by the order chosen in Use first, or given to pitboard watch as --order: Resets less than a minute apart count as one. A limit past its reset time counts as reset. A reading may leave a limit out when Anthropic answers without its list of limits, or Pitboard cannot read the answer whole. Such a reading qualifies only with the five-hour and weekly limits, and with a model’s weekly limit when that one is at the share. Pitboard counts it as having a weekly limit for all models. When several limits are at the share, Pitboard acts on the fullest one it has not already left or given up on. The app’s offer once an account runs out follows the same rules at 100%.

Before the share

Under Resets Soonest, Pitboard also switches while no limit of the account in use has reached the share. Anthropic resets each account’s week at a fixed time of its own, and what the account leaves unused that week is lost then. Pitboard does this only from an account the automatic switch put in use. On an account you put in use yourself, by a switch, a sign-in or enrolling it, Pitboard waits until a limit reaches the share. Pitboard switches to the first account, by the order above, that:
  • Comes before the account in use: it has no weekly limit for all models and the account in use has or may have one, or both weeks have a known reset and its week resets more than a minute sooner.
  • Has used less than the share of every limit it has.
  • Has used no more of its five-hour limit than the account in use. An account without a five-hour limit counts as having used none.
  • Has a reading Anthropic gave within 15 minutes of when Pitboard could next ask about it. Pitboard waits 3 minutes between asks about an account with a five-hour limit, and about the account in use. It waits 100 minutes between asks about a parked account with only a weekly limit.
It never switches before the share between two accounts without a weekly limit for all models. Pitboard switches to an account before the share once, until that account reaches the share of a limit while in use or its week resets. Left at its five-hour limit, the account is switched back to once that limit resets, while its week still resets first. It holds back without saying so for the 5 minutes after any switch, after a try that came to nothing, and while Claude Code signs in another way. pitboard log records each switch as auto-switch.

When it stays on the account

Once a limit of the account in use reaches the share, Pitboard stays on the account while one of these holds. pitboard log records auto-stay with the code, once for each limit and its reset. The app starts each text with a capital letter and ends it with a full stop. Where Anthropic has given no reading of an account that could qualify, no_room ends , and there is no reading of personal from Anthropic yet. settling counts from the switch, sign-in or enrolment that put the account in use. An account the automatic switch put in use stops settling once Anthropic has answered about it since. already_switched holds only on an account you put back in use. An account the automatic switch put back is switched away from again at the share. In JSON, no_room is an event of its own. The other codes are the reason of a skipped event.

When it decides nothing

While one of these holds, Pitboard does not decide whether to switch.

When a try fails

Pitboard records each try in autoswitch.json before anything moves, so a try stopped partway still counts. The next try waits 1 minute, and each failure in a row doubles the wait, up to 15 minutes. A failure that may pass, such as Anthropic out of reach, does not count toward attempts_spent. These refusals over the account a try would switch to pass that account over until the limit resets. The next try picks another at once.