passdrill
AI & LLM Engineering · Building with LLM APIs · Card 022/024 easy

Anthropic's Messages API can return either a 429 status with a `rate_limit_error` type or a 529 status with an `overloaded_error` type. According to Anthropic's documentation, what is the practical difference between these two conditions?

  1. a 429 with a `rate_limit_error` type means the calling organization's own limits, such as a requests-per-minute cap or a configured spend limit, have been exceeded, while a 529 with an `overloaded_error` type means the API itself is temporarily overloaded across all users, a capacity condition unrelated to that organization's own usage
  2. 429 and 529 both describe exactly the same underlying condition, and application error-handling code does not need to distinguish between them
  3. a 529 status means the calling application's API key has been revoked, while a 429 status means the request body was malformed and rejected by validation
  4. a 429 status can only ever be returned by the Batch API, while a 529 status can only ever be returned by the standard synchronous Messages API, so the two are distinguished solely by which endpoint returned them
Next card → Shuffle