All queries fail: reproducible Claude Code Coding Plan balance query
Quick fix
Upgrade cc-switch from 3.16.1 to v3.16.2 or later, then query the GLM Coding Plan balance again.
Symptom
Section titled “Symptom”如图,全是查询失败,必现As shown, all queries fail; reproducible every time.
This report occurred with cc-switch 3.16.1 on macOS using a Claude Code Coding Plan configuration. The maintainer explained that the 智谱/GLM Coding Plan quota query had been hard-coded to `api.z.ai`, so it did not route through the configured base URL; the GLM Coding Plan query endpoint also needed correction.
The maintainer stated that v3.16.2 fixed the routing and endpoint issues. After closure, however, a user reported that the 5-hour and 7-day balances shown by CC Switch might be reversed relative to the corresponding items on the official website. The original issue does not provide a verifiable fix for this later display discrepancy.
Upgrade cc-switch to v3.16.2 or later.
Refresh the Coding Plan balance again. If queries still fail, reopen the source issue and specify the provider, plan, and configured base URL.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Does the GLM Coding Plan balance in CC switch differ from the official website? Are the 5-hour and 7-day balances reversed?
- A user reported this behavior in the original issue, and the maintainer also said the entries might have been reversed again. However, the original issue does not provide a verified fix.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.