Rate Limits
Chat requests — 20 requests per minute per API key
Monthly quota — Free: 1,000 / Pro: 10,000 / Enterprise: custom
Exceeding limits returns 429 Too Many Requests with a Retry-After header.
Error Handling
Failed requests return a JSON error with the appropriate HTTP status.
json
{
"detail": "Invalid API key"
}| Status | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 403 | Account disabled |
| 422 | Invalid request body |
| 429 | Rate limit exceeded |
| 500 | Server error — try a different provider |