Errors
Errors from /v1/chat/completions and /v1/models come back in the OpenAI error envelope, so error handling written for the OpenAI SDK works unchanged.
Status codes
Request ID
Every response includes an X-Request-ID header:
Include this ID when you report an issue.
The Vision API uses a different error shape, documented in Vision API errors.