>_

4xx 客户端错误

429 Too Many Requests

客户端在一定时间内发送的请求过多(被限流)。

服务端可能会通过 Retry-After 头告知需要等待多久。调用大模型等计费接口时非常常见。

常见原因与解决方法

响应示例

HTTP/1.1 429 Too Many Requests
Retry-After: 30
X-RateLimit-Remaining: 0
Date: Thu, 22 Oct 2026 08:00:00 GMT

用 curl -I https://example.com 可以查看某个地址返回的状态码和响应头。

相关状态码

相关工具

curl 转代码 · LLM API 调试台 · 大模型流式响应解析