Documentation Index
Fetch the complete documentation index at: https://docs.focusapi.cn/llms.txt
Use this file to discover all available pages before exploring further.
现象
- HTTP 状态码 429 Too Many Requests
- 可能包含
rate_limit_exceeded或 Retry-After 相关信息
常见原因
- 短时间并发过高(脚本、压测、多进程)
- 账户或令牌 RPM / TPM 达到平台上限
- 上游模型供应商临时限流,经网关透传
处理步骤
退避示例(Python)
预防建议
- 生产环境使用 固定速率 的 worker,避免无界 goroutine
- 流式请求同样占用连接与配额,勿无限开流
- 需要更高配额时,通过控制台或商务渠道申请
