Verified error fix

429 — rate_limit_error

Diagnose Anthropic API 429 rate_limit_error responses across request, input-token, output-token, and acceleration controls.

Platform · Anthropic APIHTTP 429 Verified Aug 22, 2026
Quick answer

Anthropic documents 429 rate_limit_error when an account hits a rate limit. The Messages API uses RPM + input TPM + output TPM, and the retry-after header tells you the minimum wait.

Verified Aug 22, 2026Official source

Why does this error happen?

  • Requests per minute were exhausted.
  • Uncached input-token or output-token throughput reached its limiter.
  • Traffic accelerated sharply enough to trigger an acceleration limit.

How do you diagnose it?

  1. Read the error body and retry-after header.
  2. Inspect anthropic-ratelimit-* headers for the most restrictive active limiter.
  3. Compare traffic by model because model groups can have separate pools.

How do you fix it?

  1. Wait at least retry-after before retrying.
  2. Smooth traffic and ramp volume gradually.
  3. Use prompt caching where applicable and request higher limits only after measuring the actual bottleneck.

How do you prevent it from recurring?

Turn the confirmed cause of 429 — rate_limit_error into an observable boundary for Anthropic API. Track the relevant request count, token volume, payload size, execution time, connection pressure, billing state, or upstream health before it reaches the documented failure condition. Preserve the platform request ID and timestamp so future incidents can be correlated without logging sensitive payloads.

Test the fix under representative concurrency and failure injection, not only with one successful request. Alert on remaining headroom and repeated retries, and keep the linked limit page and official error source with the runbook so responders can distinguish a configuration problem from temporary service pressure or account state.

Do not paste API keys, database URLs, tokens, or sensitive payloads into public error reports. Redact secrets before sharing diagnostics.
Related

Linked limits, tools, and alternatives