You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ZCode: missing pricing for built-in Z.ai plans #1831
I'm seeing missing-pricing warnings for GLM-5.3 and GLM-5.3-Flash
when using ZCode's built-in Z.ai plans. The models and token counts
appear correctly, but their cost estimates stay at $0.00 despite
the rates already being available in the embedded pricing data.
The affected records use provider IDs such as account:zai-individual-coding-plan and account:zai-start-plan.
The adapter recognizes older built-in IDs but does not recognize
these current plan IDs.
Steps to reproduce
Complete a turn using GLM-5.3 or GLM-5.3-Flash in ZCode
with a built-in Z.ai plan.
Run ccusage zcode daily --mode calculate --offline.
Observe the missing-pricing warnings and zero cost estimates.
Expected behavior
ccusage should recognize these shared Z.ai plan IDs and calculate
cost estimates using the existing pricing data.
I have a fix ready that covers the four Z.ai account plan IDs.
If broader support is wanted, I can also work on the equivalent
BigModel plans.
I'd also be happy to investigate usage and pricing support for
providers configured through ZCode's OpenRouter or OpenCode Go
templates. I haven't yet verified what usage records those
integrations persist or how their provider IDs map to pricing.
Pullfrog triage: priority:high
Kind: bug
Maintenance fit: maintainable
Confidence: high
ZCode shows $0 cost and missing-pricing warnings for GLM-5.3 models with account:zai-* plan IDs. Parser only recognizes older builtin Z.ai IDs, so existing pricing is not applied. Adding the current plan IDs restores cost reporting with bounded scope.
Decision: kept open; Pullfrog will attempt a focused implementation PR.
Activity
pullfrog commentedon Oct 7, 2026
github-actions commentedon Oct 7, 2026
Pullfrog triage: priority:high
Kind: bug
Maintenance fit: maintainable
Confidence: high
ZCode shows $0 cost and missing-pricing warnings for GLM-5.3 models with account:zai-* plan IDs. Parser only recognizes older builtin Z.ai IDs, so existing pricing is not applied. Adding the current plan IDs restores cost reporting with bounded scope.
Decision: kept open; Pullfrog will attempt a focused implementation PR.