CORE
Errors
Every error is returned in the OpenAI envelope with an appropriate HTTP status — compatible with OpenAI SDK error handling.
Error shape
Status codes
i
A 429 includes a Retry-After header. On 402, top up in the Credits section. 5xx errors are safe to retry — the router already tries failover routes before returning one.
You may also see a 499 status with code client_closed in your dashboard logs. That is not a service failure: it marks a request whose connection the client itself dropped — for example, a cancelled stream.