---
title: "Never Hit a Usage Limit Mid-Task: Automatic Model Fallback | Folsom AI"
description: "When a connected account hits its usage limit, Folsom keeps the turn going on the same model on your other accounts, then on Folsom credits, and tells you."
url: "https://folsom.ai/guides/usage-limit-fallback"
section: "Coding agent guides"
---

# Never hit a usage limit mid-task

In Folsom, when the account a turn runs on hits its usage limit, the turn moves to the same model on your other connected accounts for that provider, then on Folsom credits if your workspace can pay, and the conversation says so. Claude Code and Codex don't switch on their own, so with them you hand the task to Folsom on the web or in the Mac app.

Hit your limit? Folsom keeps going on your other connected accounts or Folsom credits. [Download for macOS or get started](https://reasonmachines.com/login): sign in to Folsom on the web or in the Mac app.

Updated Dec 1, 2026

## Set up fallback for your coding work

1. **Connect the accounts you already pay for**: In Folsom, add your model accounts in Settings › Models: subscriptions such as ChatGPT, and API keys. On a computer connected to Folsom, its command line also uses the Claude Code and Codex logins already on that computer.
2. **Keep Folsom credits as the backstop**: A Folsom plan includes weekly usage in credits, and top-ups never expire. When your own accounts are out, the turn continues on Folsom credits until they run out.
3. **Work as usual**: When a switch happens, the conversation shows which account ran out and where the turn went, and the next turn starts on your chosen account again.
4. **Bring tasks from Claude Code or Codex**: When Claude Code or Codex runs out on its own, push the branch and tell Folsom on the web or in the Mac app what's next. The task continues on your connected accounts, with this fallback behind it.

## What Folsom does when a limit hits

The rollover is on by default when you use Folsom as yourself: in the web and Mac apps, and on the other ways you sign in to Folsom. API callers using an API key get it off by default and can turn it on with allow_model_rollover; benchmark sessions never roll over.

When you choose an account, fallback tries the same model on that provider's other connected accounts, then Folsom's plan model when the workspace can pay. If the requested model cannot run, rollover can try compatible default models and shows when the model changes. It does not cycle through every provider's subscription before using API keys.

Only a real usage limit, an expired or refused sign-in, or an exhausted retry budget moves a turn. A short burst of rate limiting retries the same account, up to ten times, so you aren't moved off your plan while it still has usage.

The switch is for that turn. Each new turn starts again on the account you chose, so you're back on your own plan once its limit resets.

## What you see

A note in the conversation names both sides, in the form "<account> hit its usage limit · switched to Folsom credits", or to your other account, with the model added if it changed. If the account's prepaid balance or credit ran out, it says "is out of credit", since that does not reset on its own; if the account was unavailable rather than out of usage, it says "is unavailable".

If nothing else can run the turn, it stops with "Your <provider> usage limit was reached": the limit is on your own provider account, not your Folsom plan, and you can switch model (a Folsom-hosted model runs on Folsom credits) or wait for the provider's limit to reset.

Folsom credits cost $0.04 each and come from your plan's weekly usage or from top-ups.

- [Folsom docs: plans](https://docs.reasonmachines.com/docs/plans)

## What it doesn't do

It doesn't change how Claude Code or Codex behave on their own: those tools stop or offer their own options at their limits. To move a task out of them, push the branch and continue it in Folsom.

- [Never hit a usage limit mid-task](https://folsom.ai/guides/usage-limit-fallback.md)
- [Codex vs Claude Code](https://folsom.ai/guides/codex-vs-claude-code.md)
- [How the Claude usage limit works](https://folsom.ai/guides/claude-usage-limit-explained.md)
- [When the Claude weekly limit resets](https://folsom.ai/guides/claude-weekly-limit-reset.md)
- [Grok Bot limit reached? How to keep your Bots working](https://folsom.ai/grokbot/limit-reached.md)
- [Grok Bot usage limit: how the weekly pool works](https://folsom.ai/grokbot/usage-limit.md)
- [Grok Bot usage jumped to 100%? What happened](https://folsom.ai/grokbot/usage-jumped-to-100.md)
- [Folsom docs: plans](https://docs.reasonmachines.com/docs/plans)

## Questions

### Does Folsom switch from Claude to Codex automatically?

Folsom first keeps the same model, on your other accounts and then on Folsom credits. It changes model only when the one you chose can't run anywhere, and it tells you when it does.

### Do I have to turn fallback on?

No. It is on by default when you use Folsom as yourself. API calls with an API key keep the exact model unless they set allow_model_rollover.

### Will I end up paying Folsom credits for everything?

If you choose a connected account, each new turn starts there and can fall back to Folsom credits when its routes cannot serve the turn. Without an account choice, automatic routing starts with Folsom. A spending limit enforced by Folsom requires a Folsom-hosted model.

### Are subscriptions always used before API keys?

No. Automatic routing starts with Folsom, then providers alphabetically and each provider's oldest account first, not subscriptions before API keys. Choosing a model or account limits which routes can serve it; fallback does not exhaust unrelated subscriptions before using an xAI or Bedrock API key.

### Does this work inside Claude Code or Codex?

No. It applies to Folsom's own sessions. When Claude Code or Codex hits its limit, carry the task on in Folsom's web or Mac app with the branch and your notes.

## More guides

- [Codex vs Claude Code](https://folsom.ai/guides/codex-vs-claude-code.md)
- [How the Claude usage limit works](https://folsom.ai/guides/claude-usage-limit-explained.md)
- [When the Claude weekly limit resets](https://folsom.ai/guides/claude-weekly-limit-reset.md)
- [Claude Code usage limit: how it works and what to do](https://folsom.ai/guides/claude-code-usage-limit.md)
- [Codex usage limit: what to do](https://folsom.ai/guides/codex-usage-limit.md)
- [Claude Code alternatives, free ones included](https://folsom.ai/guides/claude-code-alternatives.md)
- [All coding agent guides](https://folsom.ai/guides.md)
- [Download Folsom for macOS](https://folsom.ai/download)
