400 | invalid_request_error | The request is malformed, or a required field or header is missing | No |
401 | auth_error | Missing or invalid API key | No |
402 | billing_error | Billing is not active, or the workspace is out of credits | After adding credits |
403 | permission_error | The model is available on a contract only | No |
404 | invalid_request_error | Unknown model, or a private model your workspace cannot call | No |
409 | invalid_request_error | A project with that key already exists | No |
429 | rate_limit_error | Over the rate limit; see Retry-After | Yes, after Retry-After |
502 | api_error | No healthy model replica answered | Yes, with backoff |
503 | api_error | A dependency is briefly unavailable | Yes, with backoff |