Is it a request payload issue?
Describe the bug
I use CLIProxyAPI 7.2.155 as a Homebrew service on macOS, with two linked Claude accounts. Claude Code points to the local proxy. The setup worked until I hit a usage limit. After Claude's usage page showed quota available again, the proxy continued returning HTTP 429 for both claude-opus-5 and claude-sonnet-5:
All credentials for model claude-sonnet-5 are cooling down via provider claude
The retained Sonnet responses contain Retry-After values of 1,587,827, 1,587,608, and 1,583,274 seconds. Adding each value to its response timestamp gives approximately 2026-10-01 05:30:19 IST, over 18 days after the first error. Opus error logs count down toward the same deadline.
Running brew services restart cliproxyapi restored access. No credential relinking was needed for this recovery.
Observed sequence:
- Use the local proxy with two linked Claude accounts until a usage limit is reached.
- Check Claude usage and observe that quota is available again.
- Continue the existing Claude Code conversation; Opus requests fail with the cooldown error.
- Switch to Sonnet and retry; Sonnet also fails with the cooldown error.
- Restart the Homebrew service; requests work again.
This describes the observed incident, not a deterministic minimal reproduction. Available quota and successful recovery after restart are my observations; the retained logs establish the pre-restart errors and unusually long retry deadline.
CLI Type
Claude accounts (two linked accounts).
Model Name
claude-sonnet-5 and claude-opus-5 (exact identifiers recorded in the errors).
LLM Client
Claude Code, configured to use the local CLIProxyAPI server.
Request Information
Endpoint: /v1/messages. Below are all three retained Sonnet response extracts. These are response-only excerpts; the original request bodies and request headers are omitted because they contain private conversation content and are not needed to show this local cooldown rejection. They are not synthetic cURL reproductions.
Redacted Sonnet error logs (three requests, September 12, 2026; timezone +05:30)
REDACTED SONNET COOLDOWN RESPONSE EXTRACTS
CLIProxyAPI 7.2.155; macOS/Homebrew
These are response-only extracts from retained /v1/messages error logs.
Request bodies, request headers, credentials and account identifiers are omitted.
The API RESPONSE sections contain proxy-generated cooldown errors, not the original upstream Claude error.
Source file: error-v1-messages-2026-09-12T202632-fa1be1d1.log
=== API RESPONSE ===
Timestamp: 2026-09-12T20:26:32.257336+05:30
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
=== RESPONSE ===
Status: 429
Retry-After: 1587827
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
---
Source file: error-v1-messages-2026-09-12T203011-7ba33260.log
=== API RESPONSE ===
Timestamp: 2026-09-12T20:30:11.727328+05:30
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
=== RESPONSE ===
Status: 429
Retry-After: 1587608
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
---
Source file: error-v1-messages-2026-09-12T214225-c14d971d.log
=== API RESPONSE ===
Timestamp: 2026-09-12T21:42:25.971444+05:30
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
=== RESPONSE ===
Status: 429
Retry-After: 1583274
{"error":{"type":"rate_limit_error","message":"All credentials for model claude-sonnet-5 are cooling down via provider claude"}}
Expected behavior
Once upstream quota is available, the proxy should recover within a bounded interval or provide a way to revalidate/clear stale cooldown state without restarting the service. A saved reset deadline should not prevent recovery for more than 18 days when the account is already usable.
Screenshots
Not included; the exact retained response excerpts are provided above.
OS Type
- OS: macOS
- Version: 26.6.2
- Architecture: arm64
- Installation: Homebrew service (
cliproxyapi)
- CLIProxyAPI version: 7.2.155
Additional context
Relevant values from the Homebrew configuration (/opt/homebrew/etc/cliproxyapi.conf):
debug: false
logging-to-file: false
save-cooldown-status: false
error-logs-max-files: 10
Only ten error files were retained when inspected after the restart. The original Claude response that established the cooldown, including any upstream rate-limit/reset headers, was not found in the retained logs. The full pre-restart in-memory cooldown state is unavailable. Consequently, I cannot determine which upstream header or calculation produced the October 1 deadline, or whether every linked account participated in the failing requests.
The shared cooldown logic in v7.2.155 appears consistent with the symptom, but this is a hypothesis rather than a confirmed root cause. The inferred deadline above comes from the proxy's downstream Retry-After, not a captured Anthropic reset header.
Related reports checked before filing:
This report adds Claude Sonnet/Opus evidence on v7.2.155/macOS, including an approximately 18-day countdown and successful recovery after a Homebrew service restart. Please advise whether this belongs under an existing issue, and which diagnostics would be most useful if it recurs.
Is it a request payload issue?
Describe the bug
I use CLIProxyAPI 7.2.155 as a Homebrew service on macOS, with two linked Claude accounts. Claude Code points to the local proxy. The setup worked until I hit a usage limit. After Claude's usage page showed quota available again, the proxy continued returning HTTP 429 for both
claude-opus-5andclaude-sonnet-5:The retained Sonnet responses contain
Retry-Aftervalues of 1,587,827, 1,587,608, and 1,583,274 seconds. Adding each value to its response timestamp gives approximately 2026-10-01 05:30:19 IST, over 18 days after the first error. Opus error logs count down toward the same deadline.Running
brew services restart cliproxyapirestored access. No credential relinking was needed for this recovery.Observed sequence:
This describes the observed incident, not a deterministic minimal reproduction. Available quota and successful recovery after restart are my observations; the retained logs establish the pre-restart errors and unusually long retry deadline.
CLI Type
Claude accounts (two linked accounts).
Model Name
claude-sonnet-5andclaude-opus-5(exact identifiers recorded in the errors).LLM Client
Claude Code, configured to use the local CLIProxyAPI server.
Request Information
Endpoint:
/v1/messages. Below are all three retained Sonnet response extracts. These are response-only excerpts; the original request bodies and request headers are omitted because they contain private conversation content and are not needed to show this local cooldown rejection. They are not synthetic cURL reproductions.Redacted Sonnet error logs (three requests, September 12, 2026; timezone +05:30)
Expected behavior
Once upstream quota is available, the proxy should recover within a bounded interval or provide a way to revalidate/clear stale cooldown state without restarting the service. A saved reset deadline should not prevent recovery for more than 18 days when the account is already usable.
Screenshots
Not included; the exact retained response excerpts are provided above.
OS Type
cliproxyapi)Additional context
Relevant values from the Homebrew configuration (
/opt/homebrew/etc/cliproxyapi.conf):Only ten error files were retained when inspected after the restart. The original Claude response that established the cooldown, including any upstream rate-limit/reset headers, was not found in the retained logs. The full pre-restart in-memory cooldown state is unavailable. Consequently, I cannot determine which upstream header or calculation produced the October 1 deadline, or whether every linked account participated in the failing requests.
The shared cooldown logic in v7.2.155 appears consistent with the symptom, but this is a hypothesis rather than a confirmed root cause. The inferred deadline above comes from the proxy's downstream
Retry-After, not a captured Anthropic reset header.Related reports checked before filing:
This report adds Claude Sonnet/Opus evidence on v7.2.155/macOS, including an approximately 18-day countdown and successful recovery after a Homebrew service restart. Please advise whether this belongs under an existing issue, and which diagnostics would be most useful if it recurs.