Skip to main content
All API errors follow a consistent JSON format:

Error Types

Error Examples

Authentication Error (401)

Rate Limit Error (429)

When you exceed rate limits, the response includes your current limits:

Insufficient Balance (402)

Internal Error (500)

Model-Specific Errors

Model Not Found

Unknown model IDs return 400. List current IDs with GET /v1/models.

Model Missing in Request

Retry

429 and 529 are retryable. Back off and retry; 402 and 401 are not. Rate-limit windows are in the x-ratelimit-* response headers. See Rate Limits.

Support

Contact Support

Email us for assistance with API issues.

Usage Dashboard

Monitor your API usage and manage your account.