Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Anthropic Claude API error

Anthropic API 429 rate_limit_error (enforced_spend_limit_reached): what it means and how to fix it

Error message
429 rate_limit_error (enforced_spend_limit_reached)

Retry? NoLast verified 2 documented fixes2 sources

What it means

Your organization reached its usage tier's monthly spend cap. API usage pauses until 00:00 UTC on the first day of the next month. The error type is rate_limit_error, but the response has no retry-after header. On the Messages API, error.details.error_code is enforced_spend_limit_reached.

Causes

  • Organization crossed its monthly API usage threshold set by its API tier

How to fix it

  1. Fix 1.

    On the Messages API, check error.details.error_code for enforced_spend_limit_reached to tell this apart from a rate limit. Retrying, including the SDK's automatic retries, fails until access resumes.

  2. Fix 2.

    Move to a higher tier to restore access (see Requesting higher limits).

More Anthropic API errors

All 13 Anthropic API errors

HTTP 429 at other providers

Compare 429 across providers

FAQ

What does the Anthropic API error "429 rate_limit_error (enforced_spend_limit_reached)" mean?

Your organization reached its usage tier's monthly spend cap. API usage pauses until 00:00 UTC on the first day of the next month. The error type is rate_limit_error, but the response has no retry-after header. On the Messages API, error.details.error_code is enforced_spend_limit_reached.

How do I fix Anthropic API "429 rate_limit_error (enforced_spend_limit_reached)"?

There are 2 documented fixes. Start with the first: On the Messages API, check error.details.error_code for enforced_spend_limit_reached to tell this apart from a rate limit. Retrying, including the SDK's automatic retries, fails until access resumes.

Should I retry Anthropic API "429 rate_limit_error (enforced_spend_limit_reached)"?

No. The official docs treat this error as not retryable: fix the cause before sending the request again.

Which other AI APIs return HTTP 429?

Per their official error docs: Amazon Bedrock (429 ThrottlingException; 429 ModelNotReadyException), Azure OpenAI (429 Too Many Requests (Rate limit is exceeded); 429 Too Many Requests (System is experiencing high demand); 429 Too Many Requests (temporary rate limit adjustment); 429 Too Many Requests (token budget exceeded by request parameters)), Cohere API (429 Too Many Requests), DeepSeek API (429 - Rate Limit Reached), Gemini API (429 rate_limit_exceeded; 429 quota_exceeded; 429 too_many_requests; 429 RESOURCE_EXHAUSTED), Groq API (429 Too Many Requests), Mistral API (429 Too many requests), OpenAI API (429 credit_balance_exhausted; 429 Rate limit reached for requests; 429 rate_limit_error slow_down; 429 organization_spend_limit_exceeded; 429 project_spend_limit_exceeded; 429 organization_usage_limit_exceeded), OpenRouter (429 rate_limit_exceeded), Vertex AI (429 RESOURCE_EXHAUSTED; 429 Resource exhausted, please try again later; 429 Too many requests. Exceeded the Provisioned Throughput), xAI API (429 Too Many Requests).

Sources

Last verified against 2 sources: Anthropic API's official docs and official SDK repositories.

Newsletter

Know when the APIs change

One email per week. New model releases, API changes, what broke, and how developers are working around it.