cocodot
← Back to guides
Local card declined for overseas AI? cocodot: one card + one key
TroubleshootingUpdated 2026-10

Claude API 529 overloaded_error: How It Differs From 429 and Your Organization's Limits, and What to Do

529 overloaded_error means the Claude API is busy for everyone; 429 means your organization hit a rate limit or spend cap. Tell them apart in one step, then retry, switch model, or slow down.

TL;DR: A 529 `overloaded_error` means the Claude API as a whole is temporarily overloaded. Anthropic's error reference says it can happen when the API sees high traffic across all users, so it is not a verdict on your key, your code or your account. A 429 `rate_limit_error` is the opposite: your organization went over a per-minute rate limit, hit its usage tier's monthly spend cap, or ramped up so sharply that it tripped acceleration limits. The fixes point in opposite directions. For 529: retry with exponential backoff and jitter, keep the retry count capped, try another model tier for work that cannot wait, and make long jobs resumable. For 429: read the `retry-after` header, slow your own traffic, and check whether the body says `enforced_spend_limit_reached`, because that kind of 429 has no `retry-after` and keeps failing until access resumes. One more lookalike: a 400 that says you have reached your specified usage limits is a spend limit you set yourself in the Console, not an outage. The official SDKs already retry 429 and 5xx errors twice by default, so by the time your code sees a 529, two retries have usually failed already.

1. Read the error type before you change anything

Every Claude API error comes back as JSON with a top-level `error` object holding a `type` and a `message`, plus a `request_id`. The type is the field that matters: `overloaded_error` is the 529, `rate_limit_error` is the 429. In Claude Code and other tools built on the API the same body shows up inside the message, so a line like API Error: 529 followed by `"type":"overloaded_error"` tells you the same thing. Log three things for every failed call: the HTTP status, `error.type`, and the `request-id` response header (also in the body as `request_id`). With those you can answer the only question that decides the fix: is the bottleneck on Anthropic's side or on yours? People who skip this step tend to answer a 529 by throttling their own traffic, which slows their product without making the API any less busy, or answer a spend-cap 429 by retrying in a loop, which can never succeed. If you are on the SDK, catch the typed exceptions rather than string-matching messages; the docs recommend handling the most specific classes first.

2. What 529 actually says, and what it does not

Anthropic's error reference describes 529 in one line: the API is temporarily overloaded, and it can occur when the API experiences high traffic across all users. Three practical readings follow. It is not about your credentials. A bad key is a 401 `authentication_error`; a key without access to a resource is a 403 `permission_error`. It is not about your limits. Going over your organization's limits is reported as 429, a separate type. It is temporary by definition, so the right response is to wait and retry rather than to change your code. What the docs do not tell you is how long an overload lasts, or whether a given model will be free while another is busy. Treat both as things you measure rather than assume: record the time and model of each 529, and after a week you will know whether yours cluster at particular hours or on particular models. If many users report the same thing at once, Anthropic's official status page is the place to confirm a wider incident before you start debugging your own stack.

3. The four things that look like 529 but are your organization's limits

Check for these other error types before treating the failure as overload. Rate limits: the Messages API measures requests per minute (RPM), input tokens per minute (ITPM) and output tokens per minute (OTPM), per model class, at the organization level; going over any of them returns 429 naming which limit was hit, usually with a `retry-after` header. Limits are enforced over short windows too, so a burst can trip a per-minute limit even when your average is fine. Spend cap: each usage tier has a monthly spend cap; once it is reached, requests return 429 `rate_limit_error` with `error.details.error_code` set to `enforced_spend_limit_reached`, no `retry-after` header, and retrying, including the SDK's automatic retries, fails until access resumes. Acceleration limits: a sharp increase in usage can also produce 429s, even below your nominal limits; the official advice is to increase traffic gradually and keep usage patterns consistent. Your own spend limit: a limit you set in the Console returns a 400 `invalid_request_error` whose message starts with "You have reached your specified API usage limits". Your current tier and limits are on the Rate limits page of the Claude Console; tier numbers change, so read them there rather than from articles.

No overseas card needed: cocodot's OpenAI-compatible API — switch your base_url to call the models on sale.

Top up via Alipay / WeChat Pay, USDT / USDC · billed per token · switch your base_url to connect

4. Retrying a 529 without making it worse

Start from what the SDK already does. The official SDKs retry transient failures, including rate limits and 5xx server errors, with exponential backoff, twice by default, and honour `retry-after` when it is present. The retry count is configurable through the client's `max_retries` setting; check your SDK's reference for the exact option name in other languages. If you raise it, or write your own loop around the SDK, follow three rules. Add jitter. Delays of roughly 1, 2, 4 and 8 seconds, each with a random offset, stop every client that failed in the same second from retrying in the same second. Cap the total. Decide how long the caller can actually wait — a chat reply might allow 20 seconds, a nightly batch an hour — and stop there with a clear error instead of retrying forever. Do not stack retry layers. If your HTTP client, the SDK and your job queue each make three attempts, one failure can turn into 27 attempts and your own traffic becomes part of the load. Pick one layer to own retries and set the others to zero. Finally, never retry a 429 that carries `enforced_spend_limit_reached`: it is not transient, and every retry only adds noise to your logs.

5. Try another model tier, but measure it

When a request cannot wait, the cheapest experiment is to send it to a different Claude tier — for example a Sonnet model when an Opus model returns 529 — and see whether it completes. Anthropic's docs track rate limits per model class, but they make no promise that one model has room while another is overloaded, so treat this as a fallback you have tested, not a promise of capacity. Set it up before you need it: list which request types can drop a tier without breaking anything (summaries, classification, first drafts) and which cannot (the long reasoning step your product is sold on). Keep the prompt and the output parser identical, and run your eval set against the fallback tier once so you know what quality you give up. When you fall back, log it. If the fallback fires for hours, that is a capacity planning signal, not something to keep hiding behind a retry wrapper. Model names and tiers change; check the models overview in Anthropic's docs for the current list rather than hard-coding names from an old tutorial.

6. Long jobs and streaming: make one failure cost one step

The 529 that hurts is the one that lands forty minutes into a job and throws away everything before it. Split long work into steps that can each be retried on their own, and save the result after each step, so a failure costs one step instead of the run. Two details from the official docs matter here. First, with streaming over server-sent events, an error can arrive after the API has already returned 200, as an error event in the stream; code that only checks the HTTP status will treat a half-finished answer as a success. Handle the stream's error events and discard partial output, or resume from your last saved step. Second, Anthropic recommends the streaming Messages API or the Message Batches API for long-running requests, especially those over 10 minutes, and warns against a large `max_tokens` on a non-streaming call, because some networks drop idle connections. For work that does not need an immediate answer, the Message Batches API lets you poll for results instead of holding one connection open, ; check its own availability and limits before relying on it as a fallback.

7. A five-minute triage checklist

(1) Capture status code, `error.type` and `request-id` for the failing call. (2) If it is 529, check whether other models and other keys in your organization fail at the same moment; if they all do, it is the platform, so wait and let backoff work. (3) If it is 429, read the headers: `retry-after` tells you how long to wait; the `anthropic-ratelimit-*-remaining` headers show which budget ran out (requests, input tokens or output tokens). (4) If a 429 has no `retry-after`, look for `enforced_spend_limit_reached` in the body and check the Billing page. (5) If you see 400 with "specified API usage limits", someone on your team set a spend limit; raise or remove it. (6) If errors began right after a launch or a big backfill, suspect acceleration limits and ramp up more slowly. (7) If it is 500, retry with backoff and, if it persists, send the request ID to Anthropic support. Related fixes: per-minute limits and concurrency in /hub/api-429-rate-limit-concurrency-china, oversized requests in /hub/context-length-exceeded-fix, key problems in /hub/api-401-invalid-api-key-fix, and a wider map in /hub/ai-api-errors-china-fix.

8. Where a multi-model gateway helps, and where it cannot

No gateway makes 529 disappear. When Anthropic's API is overloaded, the requests a gateway forwards to it meet the same overload; anyone telling you their service is immune is describing something that cannot be true. What a gateway such as cocodot can change is how cheap your fallback is. One key and one balance reach Claude, GPT and Gemini models through an OpenAI-compatible endpoint, and an Anthropic-compatible one for Claude, so dropping a tier or switching vendor for a request type is a change to the model field rather than a second account and a second integration. That is worth having if your product cannot wait out an overload; if it can, backoff alone is enough and a second route is extra code to maintain. Whichever path you use, keep the habits above: log the error type and request ID, retry in one layer only, and test your fallback before you need it. Listed Claude / GPT / Gemini rates are at or below the official list price; check the pricing page for each model's current rate. Setup details for the Claude side are in /hub/anthropic-api.

Which error do you have? Symptom → cause → first move (per Anthropic's errors and rate-limits docs, checked 2026-10-23)

What you seeWhat it meansFirst move
529, error type `overloaded_error`The API is temporarily overloaded across usersBack off with jitter; try another model tier if the job cannot wait
429 `rate_limit_error` with a `retry-after` headerYour organization went over RPM, input or output tokens per minuteWait the seconds in `retry-after`; add a client-side limiter
429 with no `retry-after` and `enforced_spend_limit_reached`Monthly spend cap of your usage tier reachedStop retrying — it fails until access resumes or the tier is raised
429 right after a sudden traffic jumpAcceleration limits on a sharp increase in usageRamp traffic up gradually and keep usage patterns steady
400 "You have reached your specified API usage limits"A spend limit you set yourself in the ConsoleRaise or remove that limit on the Billing page
500 `api_error` / 504 `timeout_error`Internal error / request timed out while processing500: retry with backoff, keep the request ID; 504: stream long requests

FAQ

What does API Error 529 overloaded_error mean in Claude?

It means the Claude API is temporarily overloaded. Anthropic's error reference says a 529 can occur when the API sees high traffic across all users, so it is not a sign that your key, code or account is wrong. Retry with backoff and jitter, and try another model tier for requests that cannot wait.

What is the difference between Claude error 529 and 429?

529 `overloaded_error` is about the service being busy for everyone. 429 `rate_limit_error` is about your organization: a per-minute rate limit, your tier's monthly spend cap, or acceleration limits after a sharp jump in usage. For 529 you wait and retry; for 429 you slow down, follow `retry-after`, or check your spend cap.

Does the Anthropic SDK retry 529 errors automatically?

Yes. The official SDKs retry transient failures such as connection errors, rate limits and 5xx errors with exponential backoff, twice by default, and honour `retry-after` when present. The client's `max_retries` setting changes or disables this; check your SDK's reference for the exact option name. Keep retries in one layer so they do not multiply.

Why do I keep getting 429 even though I waited?

Check the response body for `enforced_spend_limit_reached`. That 429 means your usage tier's monthly spend cap was reached; it carries no `retry-after` header and keeps failing until access resumes or your tier is raised. If instead you get a 400 saying you reached your specified usage limits, that is a spend limit set in your own Console.

Can switching to another model or provider fix a 529?

Sometimes, for the requests you move. Trying another Claude tier, or another vendor's model through an OpenAI-compatible endpoint, can let urgent work finish while one model is busy, but Anthropic does not promise free capacity on any particular model. Test the fallback's output quality before relying on it, and log every time it fires.

About cocodot

cocodot is a payment and AI access service for developers and cross-border teams in mainland China. It provides US-BIN virtual cards issued by a licensed institution — used to pay for overseas subscriptions and ad accounts — and an OpenAI-compatible AI API gateway for calling Claude, GPT and Gemini from within mainland China. Both share one wallet, funded by Alipay / WeChat Pay, USDT / USDC and accounted in USD. Fees are listed on the pricing page.

Service scope, pricing and limits →
OpenAI-compatible API, pay in RMBGet API access