Docs
Errors
Every endpoint answers the same way when something goes wrong.
- 400
- The request failed. The body contains the reason.
- 401
- The key is missing, unknown or disabled.
- 402
- The account behind the key has no credit left.
- 404
- The model is unknown. The response lists the models that are served.
- 413
- The body is larger than the server accepts.
- 429
- Too many requests. Retry after a short wait.
- 502
- The server holding the model could not be reached.
- 503
- The model is known, but no server for it is available.
Streaming is not supported yet. A request with stream: true returns a 400.