Docs · Docs
Errors
All v1 routes use a single error object.
{
"error": {
"message": "Insufficient credits.",
"type": "insufficient_quota",
"code": "insufficient_quota"
}
}| HTTP | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Insufficient credits for the call |
| 404 | Unknown model id |
| 429 | Per-key rate limit (Retry-After header) |
| 503 | Model temporarily unavailable |