Skip to main content

Error format

All errors follow the OpenAI format:

Error codes

The OpenAI SDK has built-in retry for 429, 500, and 503 errors. If you’re using the SDK, retries happen automatically.

Rate limits

Request-level limits

Rate limit headers

Every response includes rate limit headers:

Handling 429 errors

Response headers (coming soon)

These response headers are not yet available. They are planned for a future release.
x-forii-region is an India-specific addition. Forii runs in India under Indian jurisdiction — developers need to verify their requests are served locally, not routed to US servers subject to the CLOUD Act.