GLM Team Plan usage query fails in Claude Code
Quick fix
Upgrade to v3.17.0 or later, then enter the organization ID and project ID in the 「Zhipu GLM Team」 template.
Symptom
Section titled “Symptom”GLM国内团队版接入后无法获取用量余额Unable to retrieve the usage balance after connecting the domestic GLM Team Plan.
The Team Plan usage query differs from the personal plan: the query URL requires `?type=2` and must include the API Key, `bigmodel-organization`, and `bigmodel-project` request headers. The previous preset script followed personal-plan logic and did not distinguish the team context, so the query failed.
The maintainer confirmed this was fixed in v3.17.0: a dedicated team-plan query path was added, along with a 「Zhipu GLM Team」 template in 「Usage Query Script」.
Upgrade cc-switch to v3.17.0 or later.
In 「Usage Query Script」 settings, select the 「Zhipu GLM Team」 template, enter the organization ID and project ID, then verify the usage query again.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
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.