Skip to main content
The Enterprise LLM Endpoint uses standard HTTP status codes, so OpenAI SDKs raise their normal exceptions, for example AuthenticationError for 401.

Status codes

Error body

Errors from the endpoint and from the model use the OpenAI error format:
json
Errors about the API key (401), payment (402), and an expired trial (403) use a short ModelsLab format:
json