Usage query failed cc-switch
Quick fix
Third-party APIs require you to adapt the query script yourself; Claude officially does not support usage queries.
Symptom
Section titled “Symptom”用量查询查询失败Usage query failed
This report asks about usage-query support for third-party APIs and Claude. The response states that third-party services require adapting the query script yourself, while Claude officially does not support queries.
For usage queries with third-party APIs, adapt the query script yourself; for Claude official usage queries, the original issue provides no verifiable solution.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- Why do neither third-party APIs nor Claude officially support usage queries?
- Third-party APIs require you to adapt the query script yourself, while Claude officially does not support queries.
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.