Claude Code 529 Overloaded: What It Means, How to Fix It, and Auto Fallback
'API Error: Repeated 529 Overloaded errors' means Claude's API is at capacity for the model you're using, not that you hit a limit. Claude Code has already retried. Switch model, set a fallback chain so it switches by itself, or keep unattended runs alive with the retry watchdog.
Claude Code's API Error: Repeated 529 Overloaded errors means Anthropic's API is at capacity for the model you're using, across all users, right now. It is not your usage limit, it doesn't count against your quota, and Claude Code has already retried the request (up to 10 times by default) before showing it. The fastest fix is /model to switch to another model, because capacity is tracked per model. To have Claude Code switch by itself next time, start it with --fallback-model.
Last reviewed 20 November 2026, against Claude Code 2.1.329.
How I checked this: I read the 529 and high-load messages out of the 2.1.329 build, downloaded from npm into a throwaway folder and searched without running it, and checked the --fallback-model help text on my own Claude Code 2.1.302 on Windows 11. I couldn't trigger a 529 on demand, so the retry and fallback behaviour below comes from Anthropic's error reference and model configuration docs, linked at each point.
This is the message, as Claude Code prints it on the Anthropic API:
API Error: Repeated 529 Overloaded errors. The API is at capacity — this is usually temporary. Try again in a moment. If it persists, check https://status.claude.com.On Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry or a gateway, the last sentence names that provider's status page or host instead. Outside Claude Code, the Claude API returns the same condition as HTTP 529 with the error type overloaded_error, which Anthropic's API docs describe as "The API is temporarily overloaded"; the official SDKs retry it with backoff, twice by default, before raising it.
What does "529 overloaded" mean in Claude Code?
In Claude Code, a 529 overloaded error means Anthropic's API has no spare capacity for the model you asked for, for every user at that moment, not just you. Anthropic's error reference puts it plainly: "A 529 is not your usage limit and doesn't count against your quota."
Three things follow from that:
- Your account is fine. It isn't a bad key, a billing problem or a malformed request.
- It's per model. Anthropic tracks capacity per model, so a 529 on Opus says nothing about Sonnet or Haiku.
- It has already been retried. The word "Repeated" in the message is literal: Claude Code only shows it after its retries ran out.
The tools site keeps a shorter reference card for the same message: API Error 529 Overloaded.
How do I fix a Claude Code 529 overloaded error?
To fix a Claude Code 529 overloaded error, run /model and switch to another model, check status.claude.com, then wait a few minutes and resend. Don't re-send at once: Claude Code has already retried.
- Run
/modeland pick a different model. This is the move most people miss, because the message doesn't say capacity is per model. Anthropic tracks capacity per model, so an overloaded Opus doesn't mean Sonnet or Haiku is full too. - Check status.claude.com for a capacity notice or incident. If the message names another provider, check that provider's status page instead.
- Wait a few minutes, then send your message again. Your original message is still in the conversation, so for a long prompt you can type
try againrather than pasting it. - If a long answer stopped halfway, reply
continue. Claude Code keeps completed work rather than re-running it (more on that below).
Re-sending the moment it fails rarely helps: Claude Code has already retried with backoff, and the model is still at capacity for everyone hitting it at the same time.
What does "Opus is experiencing high load" mean?
"Opus is experiencing high load, please use /model to switch to Sonnet" is Claude Code telling you one model is under particularly heavy load and suggesting the switch for you. The 2.1.329 build has these variants:
Opus is experiencing high load, please use /model to switch to Sonnet
Fable is experiencing high load, please use /model to switch to SonnetIn a session that the Claude Desktop app runs, such as the Code tab or Cowork, the same prompt reads Opus is experiencing high load. Switch to Sonnet. (or Fable is…), and you switch with the app's model picker instead of /model.
Same cause as a 529, same fix: move to the suggested model for now and come back later.
Can Claude Code switch models automatically when one is overloaded?
Yes. Start Claude Code with --fallback-model (or set fallbackModel in settings), and when the primary model is overloaded or unavailable it tries the next model instead of failing the request. It's the one setting that turns a 529 into a model switch instead of a failed turn. From my own claude --help on 2.1.302:
--fallback-model <model> Enable automatic fallback to specified model(s) when the
default model is overloaded or not available. Accepts a
comma-separated list to try each in order. Re-tries the
primary at the start of each user turn.For one session:
claude --fallback-model sonnet,haikuTo keep it for every session, set fallbackModel as a list in your settings, for example ~/.claude/settings.json:
{
"fallbackModel": ["sonnet", "haiku"]
}What the model configuration docs add:
- The switch lasts one turn. Your next message tries the primary model again, as the help text says.
- At most three models are used after duplicates are removed; extra entries are ignored.
- It's silent until it fires. Claude Code doesn't confirm the chain at startup and
/statusdoesn't show it. The notice when it switches is the first sign it's set. - Overload, unavailability and other non-retryable server errors trigger it, including Amazon Bedrock or Google Cloud's Agent Platform refusing a model your account can't invoke. Authentication, billing, rate-limit (429), request-size and network errors, and a denial by your organization's policy check, never switch models.
- Auto mode skips unsupported models. In auto mode, entries that auto mode doesn't support are skipped, so include one it does.
- Subagents use it too (since 2.1.247); a subagent that fails over continues on the fallback, and your session's model is unchanged.
- The flag wins over the
fallbackModelsetting when both are set.
How many times does Claude Code retry a 529?
Claude Code retries a 529 up to 10 times by default, with exponential backoff that starts at 0.5 seconds and grows to at most 32 seconds between tries. While it retries, the spinner shows a countdown:
Retrying in Ns · attempt x/yThe label reads API error at first and, since 2.1.198, switches to the specific reason from the third attempt. On a 529 it also names where to check status: status.claude.com on the Anthropic API, or the provider or gateway host on other setups.
You can change all of this with environment variables, from the docs' retry table:
| Variable | Default | What it does |
|---|---|---|
CLAUDE_CODE_MAX_RETRIES | 10 | Retry attempts. Capped at 15 unless the watchdog is on. |
CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS | 500 | First wait between 529 retries, up to 32000 (2.1.292+) |
CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS | 32000 | Longest wait between 529 retries, up to 300000 (2.1.296+; above 64000 needs 2.1.323+) |
CLAUDE_CODE_RETRY_WATCHDOG | unset | 1 retries 429 and 529 capacity errors indefinitely (unattended runs) |
CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS | unset | With the watchdog on, the longest each request waits out 429s and 529s (2.1.295+) |
API_TIMEOUT_MS | 600000 | Time each attempt has to get its response headers (10 minutes) |
Raising the two OVERLOADED_RETRY delays spreads the same number of retries over a longer window, which helps when capacity comes back slowly. Neither applies when the watchdog is on, or to requests sent in fast mode.
How do I keep an unattended or CI run alive through 529s?
To keep an unattended Claude Code run alive through 529s, set CLAUDE_CODE_RETRY_WATCHDOG=1. Ten retries can run out during a long capacity squeeze, and in a scheduled job or CI pipeline that kills hours of work. That was the complaint in issue #60577, transient 529s aborting long-running tasks with no recovery.
export CLAUDE_CODE_RETRY_WATCHDOG=1With it on, per the docs, Claude Code:
- retries 429 and 529 capacity errors indefinitely instead of failing after
CLAUDE_CODE_MAX_RETRIES; - raises the retry count for other transient errors (server errors, timeouts, dropped connections) to 300, roughly three hours of backoff, and removes the cap of 15;
- still fails at once on a 429 that reports a spend limit or exhausted usage credits, since waiting won't fix those.
Pair it with CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS if a job must give up after a set time, and with --fallback-model so it can switch model instead of only waiting. The watchdog is meant for unattended sessions; at your keyboard, seeing the error and switching model is faster than waiting through hours of backoff.
Is Claude down when I get a 529 overloaded error?
Not necessarily. A 529 means the API is at capacity for one model, usually briefly; the service itself is up. Check status.claude.com for a capacity notice or incident on that model. If another model works after /model, it's a capacity squeeze on your model, not an outage. If every model fails and claude.ai won't load or sign you in either, it's an outage: Claude AI outage covers what still works then.
Is a 529 the same as a 429 or a usage limit?
No. They look alike in a hurry but need different fixes:
| You see | What it is | Switching model helps? | Fix |
|---|---|---|---|
API Error: Repeated 529 Overloaded errors | The model is at capacity for everyone | Yes | /model, status page, wait, --fallback-model |
Opus is experiencing high load… | One model under heavy load | Yes | Switch to the suggested model |
API Error: 429 / rate limit | A rate or spend limit on your account, org or gateway | Usually not | See Claude Code error 429 |
You've hit your session limit · resets 3:45pm | Your plan's usage limit | No (shared across models) | Wait, use usage credits, or a limit reset |
You've hit your Opus limit | A per-model usage limit | Yes | Switch model |
API Error: 500 | A server error | Sometimes | Status page, retry later |
Request timed out | No response before the deadline | No | Retry; on slow networks raise API_TIMEOUT_MS |
What does Claude Code retry automatically, and what doesn't?
Claude Code retries failures that happen before Claude has produced anything, and deliberately doesn't retry ones that would throw away or repeat work. From the docs' automatic retries section:
| Retried for you | Not retried, on purpose |
|---|---|
| Server errors, overloaded responses and timeouts before any of the response has streamed | A failure after Claude has completed text or a tool call: completed work is kept, so tool calls never run twice |
| An overload or server error after thinking but before any text or tool call (up to two times, since 2.1.284) | A failure after the response finished: the turn ends normally |
| Dropped connections and stalled streams before Claude has produced anything | TLS certificate failures: reported on the first try so you can fix them (SSL errors) |
| Temporary 429 throttles | A gateway's spend-limit 429, which isn't a throttle |
A request too big for the context window, re-sent with a smaller max_tokens | A request your organization's policy check denied |
That middle rule is the one people read as a bug. If a connection dies halfway through a long answer, you'll see The response above may be incomplete; reply continue and Claude picks up from the last completed block.
Symptom to fix
| Symptom | Likely cause | Do this |
|---|---|---|
Repeated 529 Overloaded errors once | Brief capacity squeeze on your model | /model, or wait a minute and resend |
| 529s on every message for an hour | Sustained load or an incident | status.claude.com; switch model; --fallback-model |
| CI or scheduled job dies on a 529 | Retries ran out | CLAUDE_CODE_RETRY_WATCHDOG=1, plus --fallback-model |
| Retries feel too fast to help | Default backoff | Raise CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS |
| Long answer cut off mid-way | Mid-stream failure; completed work kept | Reply continue |
What changed recently?
| Version | Change |
|---|---|
| 2.1.186 | CLAUDE_CODE_MAX_RETRIES capped at 15 |
| 2.1.198 | Retry label names the specific reason from the third attempt; on a 529 it names where to check status |
| 2.1.199 | Watchdog raises other transient retries to 300 and lifts the cap; mid-stream server errors keep completed output |
| 2.1.247 | Subagents follow the fallback model chain instead of ending |
| 2.1.284 | An overload after thinking, before any text, is retried up to two times |
| 2.1.292 | CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS |
| 2.1.295 | CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS |
| 2.1.296 | CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS |
| 2.1.323 | Max 529 delay can go above 64000 ms, up to 300000 |
Key takeaways
- Claude Code's 'API Error: Repeated 529 Overloaded errors' means the API is at capacity for that model across all users. It isn't your usage limit and doesn't count against your quota.
- By the time you see it, Claude Code has already retried up to 10 times with backoff from 0.5 to 32 seconds.
- Capacity is per model, so /model is the fastest fix. 'Opus is experiencing high load' is Claude Code suggesting that switch.
- claude --fallback-model sonnet,haiku (or fallbackModel in settings) makes Claude Code switch model by itself for that turn when the primary is overloaded.
- For unattended runs, CLAUDE_CODE_RETRY_WATCHDOG=1 retries 429 and 529 capacity errors indefinitely; it's meant for unattended sessions, not the keyboard.
- A 529 is not a 429: switching model fixes a 529, while a 429 depends on which rate or spend limit you hit.
FAQ
Frequently asked questions
What does Claude Code 529 overloaded mean?
It means Anthropic's API is at capacity for the model you're using, across all users, at that moment. Claude Code shows 'API Error: Repeated 529 Overloaded errors' only after it has already retried the request, up to 10 times by default. Nothing is wrong with your account, key or request, and it is not your usage limit.
Does a 529 error use up my usage limit?
No. Anthropic's error reference says a 529 is not your usage limit and doesn't count against your quota. Usage limits have their own messages, such as 'You've hit your session limit'.
How do I fix a Claude Code 529 overloaded error?
Run /model and switch to another model, because capacity is tracked per model. Check status.claude.com for an incident, or wait a few minutes and send your message again. Don't keep re-sending at once: Claude Code has already retried with backoff.
Can Claude Code switch models automatically when one is overloaded?
Yes. Start it with --fallback-model, for example claude --fallback-model sonnet,haiku, or set fallbackModel in settings as a list. When the primary model is overloaded or unavailable, Claude Code tries the fallbacks in order for that turn and shows a notice when it switches. Your next message tries the primary model again. Chains are capped at three models.
How do I stop an unattended Claude Code run dying on a 529?
Set CLAUDE_CODE_RETRY_WATCHDOG=1. In unattended sessions such as CI jobs it retries 429 and 529 capacity errors indefinitely, raises the retry count for other transient errors to 300 (roughly three hours of backoff), and removes the cap on CLAUDE_CODE_MAX_RETRIES. CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS sets a limit on how long each request waits.
Is Claude down when I get a 529 overloaded error?
Not necessarily. A 529 means the API is at capacity for one model, usually briefly; the service itself is up. Check status.claude.com for a capacity notice or incident. If another model works after /model, it's a capacity squeeze on your model, not an outage.
Is a 529 the same as a 429 in Claude Code?
No. A 529 means the API is overloaded for everyone on that model. A 429 is a rate limit or spend limit that applies to your account, organization or gateway. Switching model helps with a 529; with a 429, the fix depends on which limit you hit.
For every other Claude Code error, sorted by cause, see the Claude Code troubleshooting index. If the symptom is Claude Code feeling slow rather than erroring, Claude Code slow, hanging, or eating memory covers the silent cases. If you also use Codex, its version of this error reads "Selected model is at capacity"; what Codex does with it is a separate post. Managing what these tools carry into a session is the problem ContextZero came out of.
References
- Error reference: API Error: Repeated 529 Overloaded errors, Automatic retries, Tune retry behavior (Claude Code docs)code.claude.com · accessed 2026-11-20
- API errors: 529 overloaded_error (Claude API docs)platform.claude.com · accessed 2026-11-20
- Model configuration: Fallback model chains (Claude Code docs)code.claude.com · accessed 2026-11-20
- Environment variables (Claude Code docs)code.claude.com · accessed 2026-11-20
- @anthropic-ai/claude-code-linux-x64 2.1.329 (npm)npmjs.com · accessed 2026-11-20
- Claude status pagestatus.claude.com · accessed 2026-11-20
- Transient 529 Overloaded errors abort long-running tasks with no auto-recovery (issue #60577)github.com · accessed 2026-08-27
Last reviewed November 20, 2026
Tahir Nazir
Senior AI Engineer & Full-Stack Lead
5+ years shipping AI-powered products — RAG pipelines, agentic workflows, and MCP tooling. Top Rated on Upwork with a 100% job success score.
More about Tahir →Related articles
Claude Code Error 429: 'Server Is Temporarily Limiting Requests' and 'Request Rejected (429)' Explained
Claude Code shows a 429 in two different ways. 'API Error: Server is temporarily limiting requests (not your usage limit)' is a short server-side throttle on a claude.ai subscription; 'API Error: Request rejected (429)' is the rate limit of your API key, Bedrock or Vertex project. Which one you have, why it is not your usage limit, what Claude Code already retried, and how to fix each.TroubleshootingAI Engineering17 min readClaude Down on 13 November 2026: Two Outages, the 403 Cloudflare Error and What to Do
Claude went down twice on 13 November 2026: a sign-in outage on claude.ai and Claude Code from 09:58 to 11:58 UTC, then errors on claude.ai, the Claude API and Claude Code from 13:09 to 15:38 UTC. What failed, what Claude Code's '403 Attention Required! | Cloudflare' error meant, and how to keep working next time.TroubleshootingAI Engineering23 min readClaude Limit Reset: The Free Full Reset, /limit-reset and What Each Reset Refills
Anthropic gave every Pro, Max, Ultra and Team account one free full reset to use before 10 December 2026. What each kind of Claude limit reset refills, where the 'Reset for free' button is, why your weekly reset day doesn't move, and why Claude Code can answer 'Unknown command: /limit-reset'.How-toAI Engineering28 min read
Follow along
New posts land here first. Follow along by RSS, or get in touch if you are building something similar.