Minutes 0–5: is it Anthropic, or is it you?
Run these checks in order. The goal at this stage is a one-line diagnosis you can post in the incident channel.
- Open status.claude.com (opens in a new tab) and read the Claude API (api.anthropic.com) component, not claude.ai. The page lists claude.ai, the Console, the API, Claude Code and the cloud-platform components separately, and one can be degraded while another is operational.1
- Read the incident text for the model names. Recent incidents name specific models, for example "elevated errors for Claude Haiku 5.5" on one day and "multiple models" on another.1 An incident on one model is a reason to fail over for that model only.
- Look at your own error rate, by status code and model, for the last 15 minutes. Your numbers move before a status page is updated, so do not wait for the page to turn red before acting.
- Subscribe your on-call channel to updates. The status page offers email, SMS, Slack, Microsoft Teams, webhook and Atom/RSS feeds.1
- Note the time of the first failure. You will need it for the trace review later.
One thing to expect: the incidents listed for November 19 to 25 that affected the API each show an impact window of roughly 15 to 24 minutes (for example 04:52 to 05:16 UTC on November 25).1 That is a pattern from one week of one page, not a promise. But it means a fallback you must build during the incident arrives after it is over. The runbook below assumes the fallback is already configured.
Minutes 5–10: 529, 5xx or 429, and which one is your own limit
The same dashboard panel often shows "errors" for very different causes. Split them by status code before deciding anything. This table follows Anthropic's own error reference.2
| You see | Meaning | Outage or your limit? | Action |
|---|---|---|---|
529 overloaded_error | The API is temporarily overloaded, which can happen under high traffic across all users | Provider side | Back off, then fail over if it persists |
500 api_error | An unexpected error inside Anthropic's systems | Provider side | Retry only if x-should-retry is not false; keep the request ID |
504 or timeout_error | The request timed out while processing | Provider side, or a request that is too long | Stream long requests; fail over on repeat |
| Connection reset, no response | Network or provider unreachable | Either | Retry once, then fail over |
429 rate_limit_error, with retry-after | You exceeded RPM, ITPM or OTPM, or ramped up too sharply | Your limit | Wait retry-after; do not fail over by reflex |
429 with enforced_spend_limit_reached | Your usage tier's monthly spend cap | Your limit | Stop retrying; raise the tier or limit |
400 invalid_request_error naming a usage limit | A spend limit you set yourself on the organization or workspace | Your limit | Raise or remove your own limit |
| 401, 402, 403 | Key, billing or permission problem | Your configuration | Fix it; another host will not help |
Three details cause most of the misdiagnoses.
A 429 is not always a rate limit. The monthly spend-cap response carries the type rate_limit_error, has no retry-after header, and keeps failing until access resumes, including the SDK's automatic retries.3 The code error.details.error_code is the discriminator on the Messages API.2
A limit you set yourself comes back as a 400, not a 429, with a message that starts "You have reached your specified API usage limits".3 A dashboard that groups only 429s misses it entirely.
A sharp traffic increase can cause 429s even under your limits.2 If a deploy or a backfill started just before the errors, suspect yourself first. The 429 article covers which limit you hit.
Here is a classifier that keeps those cases apart. It uses the SDK's typed exceptions, with the narrow spend-cap case before the broad 429, as Anthropic's guide advises.4
import anthropic
def classify(err: Exception) -> str:
"""Return 'provider', 'limit' or 'fix' for a failed Claude call."""
if isinstance(err, anthropic.EnforcedSpendLimitReachedError):
return "limit" # monthly cap: retrying fails until access resumes
if isinstance(err, anthropic.RateLimitError):
return "limit" # honour retry-after; ramp up gradually
if isinstance(err, anthropic.APIConnectionError):
return "provider" # network failure or timeout, no response
if isinstance(err, anthropic.APIStatusError):
# An error event inside a stream arrives with status 200 or none,
# so check the error type, not only the status code.
if err.type == "overloaded_error" or (err.status_code or 0) >= 500:
return "provider"
return "fix" # 400 (incl. your own spend limit), 401, 402, 403
return "fix"Minutes 10–15: stop making it worse
- Count the retry layers. The Anthropic SDK retries a failed request twice by default, so three attempts in all, and it follows
x-should-retryandretry-afterwhen present.2 If your own loop, a queue and a gateway each retry as well, one user request can become many provider calls. Pick one layer to own retries. - Shorten timeouts. A request held for minutes during an incident is a user who has already left. Anthropic recommends streaming for long-running Messages requests.2
- Open a circuit breaker on provider failures only. Count 529s, 5xx and timeouts; never count a 429 or a 400, because they say you are limited, not that the provider is broken. The same rule is in INFRO's OpenAI runbook.5 See also circuit breakers for LLM providers.
- Pause background work. Backfills, evaluation runs and re-indexing compete with user traffic for the same limits. Stop them first.
- Handle mid-stream errors. A stream can fail after the API has already returned 200. The error arrives as an error event, and the SDK does not retry it.2 Decide whether your client shows the partial text, retries the whole request or says it failed.
Minutes 15–25: fail over, or degrade
Never fail over on your own spend or quota limit. The limit exists to stop spend, and a second provider would spend around it. Fail over only when the diagnosis is provider-side.
First fallback: the same Claude model on another host
Claude is also served through other platforms. Amazon Bedrock lists Claude Fable 5.2 and Haiku 5.5 among its model versions,6 and Google Cloud lists Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5 for Claude on its platform.7 This is the nearest fallback: same model family, another host, so prompts, tool schemas and output formats behave closest to what you tested.
Three cautions before you rely on it:
- It needs its own account and credentials. The fallback is a second connection you hold and pay your cloud for. It must exist before the incident, with its quota and model access already granted. Quotas there are separate from your Anthropic limits; see Bedrock ThrottlingException.
- Not every cloud component is independent of Anthropic. The status page lists "Claude Models on Google Cloud (Anthropic managed)", "Claude Platform on AWS" and "Claude in Microsoft Foundry" under Claude on Cloud Platforms.1 Read the incident text to see whether your fallback host is named. Which path you choose is covered in Claude on the Anthropic API, Bedrock or Google Cloud.
- Model ids and features can differ by host. Verify the id and the features you depend on (caching, structured output, long context) on the fallback in advance.
Second fallback: another model
If every Claude host is affected, or only some models are down, the next option is a different model that has passed your evaluation for this task. Be honest about the trade-off: tone, tool-call behaviour, structured-output reliability, context limits and tokenization all differ, so the same prompt can produce a worse or merely different answer. Route to it the workloads that tolerate that, such as classification or drafts, and degrade the rest with a cached result, a queue that finishes later, or a clear "unavailable" message. Is your fallback model good enough? describes how to test it. A fallback also changes cost and cold-starts the cache; what failover does to your bill covers that.
Failing over across your own connections
If you route Claude traffic through INFRO, connection failover is same-model: the request tries your other eligible connections for that vendor, and a named route tries its targets in priority or weighted order, before the first token, so your client sees only a slower first token.8 A connection can also list more API hosts for the same key, tried when the first cannot be reached. Model fallbacks (up to five catalog model ids) are opt-in and cross-model.8 This moves requests to other connections you own and have configured; it does not stop Anthropic from having an outage, and it does not help after a stream has begun.
One point to check in your setup: INFRO's documentation says an upstream 429 also moves the request to the next connection.8 If you want a spend-cap error to stop instead of moving on, set a failure rule in your routing rules, which decide per failure kind whether to retry, move on or stop.
Minutes 25–30: tell users, and keep watching
- Post a status note in your own channel within the first half hour, even if it only says you are investigating. State what is affected (AI features), what is not, and when you will update.
- Say what still works: for instance, "answers may be slower and a simpler model may be used" is more useful than silence.
- If you degrade, tell the user in the product, not only on a status page.
- Keep batch and background jobs paused until the provider component has been operational and your own error rate has been normal for a full window.
- Set a recheck time. Anthropic's incidents move through investigating, identified, monitoring and resolved; "monitoring" means a fix is deployed, not that errors are gone.1
- Return traffic gradually. A sudden full-volume return can trigger 429s from a sharp ramp, as the errors reference notes.2
After the incident: what to check in the request trace
Do this within a day, while the timeline is fresh. If requests go through a gateway, the request log holds the model, the connection that served each request, the outcome, timings, usage and estimated provider cost.9 That is operational evidence, not an invoice.
curl "https://api.infro.io/v1/requests?limit=50&status=error&sort=slowest" \
-H "Authorization: Bearer $INFRO_API_KEY"The list endpoint supports status, limit, and sort of newest, slowest or costliest.9 Check:
- First and last failure time, against Anthropic's stated impact window. If your errors started earlier or ended later, find out why.
- Error mix by code. Were they 529s and 5xx, or did a 429 from your own limit hide in the middle?
- Which connection served the traffic during the incident, and whether failover actually happened or requests failed with no fallback configured.
- Latency of the failed-over requests. Slowest-first sorting shows requests that waited out long timeouts before moving on.
- Cost of the fallback period. The fallback host or model may bill differently; compare the estimates with your own provider's invoice.
- Quality complaints from the window, matched to the model that answered. Request metadata shows which model served a request, not whether the answer was good.
- Retry amplification. Count provider calls per user request. If it is above your intended attempts, remove a retry layer.
- What was never configured. Write the missing fallback, the missing alert or the missing user message as an owned action with a date.
Rehearse the whole sequence before you need it; failover drills shows how.
