Documentation
Loading…
Errors and rate limits
The error object, status codes and the rate limit headers.
Base URL for this deployment: https://www.aiteraiworld.com/api/v1
Error object
json
{ "error": { "message": "Insufficient credit.", "type": "invalid_request_error", "code": "insufficient_credit", "param": null } }Every response carries a request id in its headers; include it when contacting support.
Status codes
| Status | Meaning |
|---|---|
400 | Malformed request, for example an empty embedding input. |
401 | Missing or invalid key, or a two-factor code is required. |
402 | Insufficient credit, or a key, account or workspace cap was reached. |
403 | Key cannot use this model, access was revoked, or the free tier needs a verified email. |
404 | Unknown model or record. |
409 | Idempotency key reused with a different body. |
413 | Body larger than the configured limit. |
422 | Validation failed; the message names the field. |
429 | Rate limit or free quota exceeded; wait for Retry-After. |
502 | Upstream returned an invalid response. |
503 | No eligible provider, or inference is paused for maintenance. |
504 | Upstream timed out. |
Rate limits
Limits are per account and per minute; current values are on the pricing page. Every response includes X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. A 429 adds Retry-After in seconds. Free-tier models have a separate daily quota.