Skip to content

Errors & Limits

Rate Limits

Tier Requests/min Tokens/min Concurrent Requests
Free 60 100,000 3
Pro 600 1,000,000 10
Enterprise Custom Custom Custom

Error Handling

The API returns standard HTTP status codes.

Code Type Description
400 invalid_request_error Malformed request/missing parameters
401 authentication_error Invalid API Key
429 rate_limit_error Rate limit exceeded
500 api_error Internal server error

Example Error Response

{
  "error": {
    "message": "Invalid API key provided",
    "type": "authentication_error",
    "code": "invalid_api_key"
  }
}