Claude Code · Server and limits
Claude Code: API Error 529 Overloaded
Claude Code API Error 529 Overloaded means Anthropic’s API is at capacity for everyone, not that you hit a limit. What to do now, and how a 529 differs from a 429.
Message
The exact error
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.Also appears as:
- When one model is under heavy load
- Opus is experiencing high load, please use /model to switch to Sonnet
- Claude Desktop (Code tab, Cowork)
- Opus is experiencing high load. Switch to Sonnet.
- While retrying (example countdown)
- Retrying in 8s · attempt 5/10
Meaning
What does API Error 529 Overloaded mean?
A 529 means Anthropic’s API is temporarily at capacity across all users. It isn’t your rate limit, and Anthropic’s error reference says it doesn’t count against your quota. Claude Code has already retried several times with exponential backoff before showing it. Capacity is tracked per model, so a busy Opus doesn’t mean Sonnet or Haiku is busy: switching model with /model usually gets you going straight away.
Causes
Why does it happen?
- Peak demand on the API, or on one model in particular, for example soon after a new model launches
- An incident at Anthropic or your cloud provider (the message names the provider’s status page on Bedrock, Google Cloud or Foundry)
Fix
What should I do right now?
Switch to another model
Run
/modeland pick a different model to keep working; in the Desktop app, use the model picker. The conversation is kept, but the new model starts without a prompt cache, so its first request re-reads the whole conversation.Wait and retry
Try again in a few minutes and check status.claude.com for capacity notices.
For CI and long unattended runs, keep retrying
Set
CLAUDE_CODE_RETRY_WATCHDOG=1so Claude Code keeps retrying 429 and 529 capacity errors instead of failing afterCLAUDE_CODE_MAX_RETRIESattempts (10 by default).CLAUDE_CODE_MAX_RETRIESitself sets how many attempts an ordinary session makes: lower it to fail faster in scripts.CI job CLAUDE_CODE_RETRY_WATCHDOG=1 claude -p "your task"
Explained
Is a 529 the same as a 429 rate limit?
No. A 529 is about Anthropic’s capacity for everyone; a 429 is about your credential sending too much in a short time. For a 529, switch model or wait. For a 429, check which API key or plan Claude Code is using and reduce how many requests run in parallel. A persistent 500 error is a third case: a fault inside the API rather than a capacity problem.
Explained
What do “Retrying in … attempt 5/10” and “Opus is experiencing high load” mean?
While it retries, Claude Code’s spinner shows a Retrying in Ns · attempt x/y countdown after an error label. On current versions the label switches from API error to the specific reason from the third attempt, and for a 529 the line below names where to check service status. If every attempt fails you see Repeated 529 Overloaded errors.
“Opus is experiencing high load” is Claude Code suggesting a switch before that point, because one model is under particularly heavy load. On Fable models the message names Fable.
FAQ
Questions people ask
Does Claude Code retry 529 errors automatically?
Yes. It retries transient failures, including overloaded responses, up to 10 times with exponential backoff, showing a “Retrying in Ns · attempt x/y” countdown, before it shows “Repeated 529 Overloaded errors”. You can change the count with CLAUDE_CODE_MAX_RETRIES, or set CLAUDE_CODE_RETRY_WATCHDOG=1 in unattended runs to keep retrying capacity errors.
Does a 529 error use up my Claude usage limit?
No. Anthropic’s error reference states that a 529 is not your usage limit and doesn’t count against your quota. If you see “You’ve hit your session limit” instead, that is your plan’s allowance, which is a different error with its own reset time.
Will switching model lose my conversation?
No. /model keeps the conversation. The next request to the new model starts without a prompt cache, so it re-reads the whole conversation once, which costs more of your allowance or API spend on that turn. After that, caching works as normal on the new model.
Is the 529 error my fault?
No. It isn’t caused by your prompt, settings or account: the service is temporarily at capacity across all users. Nothing on your machine needs fixing. Wait a few minutes, check status.claude.com, or switch to a model with spare capacity.
Related
Related errors
Keep exploring