Auto-switch
Keep a turn going on another account or model when usage runs out.
When an agent's turn stops because its model ran out of usage, or its provider is having problems, Auto-switch retries that same prompt on another usable account or model. You don't have to notice the failure, pick another model, and paste the prompt again.
Turn it on
- Open the model picker on an agent pane or the Coordinator.
- Select the ★ rail button to show your starred models.
- Below the list, turn on the Auto-switch toggle.
In the new composer, that toggle is called Model fallback, and it sits above the starred list under Fallback order. Moving to another account of the same provider is a separate toggle, Account fallback: select the rail button of the pane's own provider and turn it on beside Run as. Account fallback follows Model fallback until you change it.
Auto-switch is off until you turn it on. The setting applies to every agent: workers, team leads and the Coordinator. Auto-switch needs AgentGrid Pro or an active Pro trial. On Free, the toggle shows off and opens the upgrade prompt when selected. A previously enabled setting is kept, so it resumes when you upgrade.
On your phone, open the model picker and select Favorites to find the same toggle. Changes sync with your desktop, so you can turn Auto-switch on or off from either device. On Free, it is disabled and says Available with Pro.
Before your plan is known, Auto-switch stays off. While offline, AgentGrid uses the last known plan for your signed-in account. Signing out clears that plan.
Accounts first at a usage limit
A usage-limit notice says Will auto-resume then only after AgentGrid has successfully scheduled the continuation. An unknown reset or an unscheduled continuation does not show that confirmation.
When an account runs out of usage for all of its models, Auto-switch stays on that harness. On a supported multi-account harness it tries the other usable accounts first, skipping signed-out or exhausted ones. A notification queued for that agent, such as a finished background job, waits until Auto-switch decides, so the failed turn is retried on the new account before it runs. With no starred models, this also handles model-specific usage limits. If every eligible account is at its limit, Auto-switch waits for the account whose limit resets first. A message you send to that agent during the wait joins its queue and is sent when the wait ends; an agent messaging it instead gets an error naming the reset time. A usage limit on the whole account never moves an agent or the Coordinator to another harness, even when the harness has only one account.
For OpenCode credit errors, recovery identifies the exhausted provider from the error or a current exhausted usage reading, rather than guessing from the default model. If it cannot identify the provider, it does not replay the prompt on a guessed model.
Auto-switch never moves an agent off an account that an agent, a team lead or the Coordinator pinned for it. When that account reaches its limit, Auto-switch can still try another model on the same account; otherwise the agent waits on that account, and its notice names the account. It resumes there automatically when the reset time is known and auto-resume is on (see Streaming and control). Changing the model or account while recovery is pending stops that recovery. Choosing Wait, turning Auto-switch off, or stopping the agent stops it too, and the stopped turn isn't retried.
An account you picked yourself, on desktop or your phone, doesn't hold the agent: when it reaches its limit and Account fallback in the model picker is on (it follows Auto-switch unless you change it), Auto-switch counts down and continues on another account as usual. A pane whose account you picked in 2.9.73 keeps waiting on it until you pick a different account for that pane once.
Retained lead and worker requests can recover when fresh account usage makes an account eligible. A harness known to be exhausted with no reset time temporarily refuses new worker spawns and worker follow-ups on it. With Account fallback on, a new team lead with no account chosen starts on another usable account from the same provider when your default account is known to be out of usage, instead of failing its first message. When OpenCode reports a provider-wide usage limit, AgentGrid can refuse new workers and follow-ups that name a model from that provider.
Your starred order
Outside automatic account recovery, Auto-switch follows your starred models from top to bottom. It moves to the next model below the one that failed and sends the prompt again. Models that already ran out during this turn are skipped, and while the account is at a limit for all of its models, starred models on other harnesses are skipped too. The Coordinator doesn't follow the starred list at a usage limit; it stays on its harness, as described above.
- Drag a row's ⠿ grip to change its place. With the keyboard, focus the grip and press the Up or Down arrow key.
- Star a model to add it to the end of the list. Unstar it to remove it.
- For failures outside automatic account recovery, a model you haven't starred stays where it is.
When a model reaches its limit and Account fallback is on, Auto-switch first tries that model on your other signed-in accounts of the same provider, then moves to the next model. The next model on the same provider starts on the account the pane is using, even if its starred row is tied to another account. A starred model tied to an account on another provider runs on that account. Auto-switch skips accounts that are signed out or already out of usage.
A Claude team lead or worker keeps its conversation when it moves to another account; a team lead keeps it after a restart too. If the hand-off leaves the turn stopped, choose Continue on its hand-off card.
If a provider reports a short rate limit, AgentGrid first waits and retries the same model a few times before moving down the list.
When a model is temporarily at capacity (Codex says Selected model is at capacity), Auto-switch skips only that model and moves to your next starred model, which can be on the same harness.
Before it switches
Auto-switch doesn't jump straight away. The turn shows why it stopped (for example usage limit reached, with when the limit resets) and counts down: Continuing on the next model in 5s. Select Switch now to go immediately, or Cancel to stay where you are. At that hand-off, it switches only to the account or model the countdown named; if another one becomes next, a new countdown names it first. When another account frees up while an agent waits at a limit, the same countdown runs before it moves there, and Cancel keeps it waiting on its own account; a resume on the account it waited on starts at once. An agent whose account an agent, a team lead or the Coordinator pinned only resumes on that account. The countdown pauses while you type.
While an account switch takes effect, the conversation shows Switching to… with the target account and model. The switched notice appears when it finishes.
When the list runs out, the turn stops and shows the usage error, just as it would without Auto-switch. It can then offer to wait and resume when the limit resets; see Streaming and control.
Turn it off
Turn off Auto-switch. A turn that runs out of usage then stops with the error, and you choose the next model yourself. Your starred list and its order stay as they are.
Next
- Agents and workers — how agent panes run turns.