Skip to content

Rate limits & retries

Treat 429, brief 5xx, and long model latency as normal on an aggregation gateway.

SymptomLikely causeAction
429Platform or upstream limitExponential backoff; lower concurrency
5xxTransient upstream/gateway issueRetry a few times; escalate if persistent
Client timeoutSlow reasoning / networkTimeout ≥ 60s; higher for long jobs

Retry only idempotent-safe cases; do not blindly retry 400 / 401 / 403. Split keys per app for isolation. Keep timestamps, model ids, and request ids for support.

See also Errors and FAQ.

HOYOAI · OpenAI-compatible AI API aggregation