Authentication Errors
If authentication fails, you will receive the following error response:401 Unauthorized
401 Unauthorized
Model Errors
404 Not Found (Model)
404 Not Found (Model)
- The model ID is incorrectly defined.
- Use the models endpoint
GET /v1/modelsto find IDs of currently available models.
Chat Completion Errors
Validation Errors
Returned when the request body is invalid or contains validation errors.400 Bad Request (Messages)
400 Bad Request (Messages)
- Messages array is empty.
- Invalid message role (must be: system, user, or assistant).
- Required fields missing.
- Type mismatches (e.g. string instead of number).
- Refer to the ‘Chat Completions’.
Rate Limiting Errors
Returned when rate limits or usage quotas are exceeded.429 Too Many Requests (Concurrent)
429 Too Many Requests (Concurrent)
- More than X simultaneous active requests.
- Queue is full: you already have X requests waiting in queue.
- Wait for the timeout to expire.
- Refer to your personal quotas and limits for preview access to keep within the limits.
429 Too Many Requests (Daily)
429 Too Many Requests (Daily)
- Exceeded daily request limit.
- Wait for the quota reset at midnight UTC.
- Refer to your personal quotas and limits for preview access to keep within the limits.
429 Too Many Requests (Monthly)
429 Too Many Requests (Monthly)
- Exceeded monthly request limit.
- Wait for the quota reset at midnight UTC on the 1st of each month.
- Refer to your personal quotas and limits for preview access to keep within the limits.
Internal Server Errors
Returned when an unexpected error occurs on the server.500 Internal Server Error
500 Internal Server Error
- Connection failure.
- Unexpected exception in the server logic.
- Serialization/deserialization errors.
- Try again later.
- Contact support if the issue persists.
Support
If you encounter any issues or have questions about the API:- Contact support through Discord .