
上游对 gpt-5.6-sol 的容量型 429 从 10 月 20 日起没停,账户额度却还剩 88%;这篇给出这类 429 在 CLIProxyAPI v8.0.38 与 sub2api v0.2.17 里各自被冷多久、能改哪个开关,以及今晚该摘模型还是该等。
{"error":{"type":"rate_limit_error","code":"turn_rate_limit_exceeded","message":"Codex is at capacity, please try again later"}},响应头带 Retry-After: 152。1turn_rate_limit_exceeded 正好落在这条排除里。parseCodexRetryAfter 带着同一个前置条件,只从 body 取 resets_at 与 resets_in_seconds;Retry-After 这个头在这条路径上没有被读过。5
routing.retry.request-retry 默认 3 轮,注释写明 429 也在重试范围内,一次客户端请求会把同一条模型在池里多撞几轮。8transient-error-cooldown-seconds 的注释写明它覆盖 408、500、502、503、504 与 520–526。9Retry-After 做冷却,读它的只有图像限流那条路。13| CLIProxyAPI v8.0.38 | sub2api v0.2.17 | |
|---|---|---|
| 认哪个信号 | body 里 error.type = usage_limit_reached 5 | 头里 x-codex-* 的已用比例到 100% 11 |
上游的 Retry-After: 152 | 这条路径不读 5 | 这条路径不读 13 |
| 这类 429 的实际冷却 | 模型级,1 秒起翻倍,30 分钟封顶 6 | 账号级兜底,默认 5 秒,上限 7200 秒 12 |
| 能改的地方 | 关整套冷却:routing.cooldown.disable-cooling 9 | 兜底秒数可调、可关 12 |
oauth-excluded-models 的 codex 一项,取值支持 gpt-5.6-sol* 这种通配;sub2api 用分组模型白名单,或账号上的模型限制。error.code 认两种:turn_rate_limit_exceeded:上游容量,处置是等model_cooldown:本地全池冷却,处置是看阶梯爬到了第几级transient-error-cooldown-seconds 对这条 429 无效,别在上面花时间。TestFileSnapshotForAnotherProviderStartsClean 这个用例。15error 字段用的是 logging.SafeErrorDiagnostic。评审举的例子是 HTTP/2 的 GOAWAY,对端可控的 debug 字符串会整段进日志。16EOF、timeout、connection_refused、tls_handshake_timeout 之类。要按这行新日志配规则,键只能取这些值。17github.com
github.com
github.com
github.com
github.com
status.openai.com
status.anthropic.com
status.cloud.google.com
codex-reset.com
github.com
github.com
github.com
github.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.