PRODUCTION SCENARIO
On the 26th of the month a production service starts receiving HTTP 429 rate_limit_error on every request. The responses have no retry-after header, and the error details contain error_code enforced_spend_limit_reached.
What is happening and what fixes it?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: The monthly spend cap was reached, so nothing works until next month or a tier raise
The rate limits page explains that reaching the tier spend cap returns a 429 with the same rate_limit_error type but no retry-after header and the enforced_spend_limit_reached code. Retrying fails until access resumes at the start of the next month or the tier is raised.
Official Source: https://platform.claude.com/docs/en/api/rate-limits ↗