DOCUMENTATION
错误与限制
常见 HTTP 状态与处理方式。
| Status | Error | What to do |
|---|---|---|
| 401 | Unauthorized | API 密钥无效或已吊销。请在控制台重新创建。 |
| 403 | Forbidden | 没有该模型或分组的权限。请确认合同内容。 |
| 429 | Too Many Requests | 达到 RPM / TPM 上限。请使用指数退避重试。 |
| 500 | Internal Server Error | 临时故障。请查看状态页,持续出现请联系我们。 |
Retry policy
Retry on 429 and 5xx with exponential backoff and jitter. Do not retry 401 or 403 without changing the key or contract.
delay = min(30, 2 ** attempt) + random.uniform(0, 1)
Request IDs
Every response includes a request ID. Include it when contacting support so we can trace the request.