Skip to main content
Errors take the OpenAI shape, so OpenAI SDKs raise their usual exceptions. 401, 403 and 500 send plain text instead.
A 429 also carries x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-reset, in seconds. Successful responses carry no rate-limit headers.