Usage Stats
Usage Stats shows how you use ZCode. The tabs at the top switch between App usage and your connected coding plans: App usage covers ZCode sessions on this computer, and Individual Plan reads the remaining quota and consumption of your Z.ai / BigModel Coding Plan. If your account is also connected to a team plan, it appears as a separate tab named after the organization.

1Summary metrics2Token activity views3Time range
Entry point: open Settings → Usage stats.
The two tabs use different data sources, so their numbers are not directly comparable:
- From the ZCode session history on this computer
- Token counts estimated from local records
- Heatmap, daily trend, and model share
- From the Z.ai / BigModel statistics API
- Counts actual tokens and tool calls
- Requires a connected Coding Plan account
App Usage
App usage is calculated from the session history on this computer and helps you review how you have been using ZCode. The page includes:
| Section | Content |
|---|---|
| Summary metrics | Total tokens, peak tokens, longest session, current streak, and longest streak |
| Token activity | A heatmap of daily usage over the past year, with Daily / Weekly / Cumulative views. Hover over a day to see its tokens and message count |
| Daily token trend chart | Daily token usage by model. Hover over a day to see the breakdown by model |
| Model usage | Token usage and share for each model |
Use Time range to switch between Last 7 days and Last 30 days. Refresh at the bottom of the page reloads the local session history.
Model usage · share by model
Coding Plan
After you connect a Z.ai or BigModel account with an active Coding Plan, Individual Plan shows your plan quota and consumption. The data comes from the provider's statistics API. The page shows when it was last refreshed, and you can click the refresh icon next to it to update manually. If the current workspace does not connect through a Coding Plan, the page asks you to switch to an individual or team plan first.

1Available resets2Remaining quota and reset times
| Section | Content |
|---|---|
| Quota remaining | The remaining percentage and next reset time for 5-hour remaining, Weekly remaining, Tool calls, and ZCode MCP; only the quotas your plan provides are shown. Reset appears when a reset is available |
| Activity | Total tokens, peak tokens, total usage duration, current streak, and longest streak, plus the token activity heatmap |
| Usage trends | Cache hit rate, credits total, and average daily credits, plus a daily consumption bar chart |
| System health | Average decode speed during peak hours over the last 7 days, shown as separate Max&Pro and Lite lines |
Usage Trends
Usage trends can show Last 7 days or Last 30 days, with two sets of views:
- Credits / Usage: measure consumption in credits or by actual usage.
- Models / Tools: view consumption by model, or by tool calls such as Web Search MCP and Web Reader MCP.
By tool
System Health
System health shows the average decode speed during peak hours over the last 7 days, so you can tell whether response speed fluctuates noticeably at busy times.
Quota Reset Cards
When your 5-hour or weekly quota runs out, you can use a quota reset card to restore it immediately instead of waiting for the next cycle. Reset cards issued by GLM Coding Plan campaigns also appear in the app.
- Get a reset cardSign in with a Coding Plan; 5-hour cards are also issued off-peak
- Click ResetReset appears on the quota card
- ConfirmConfirm in Resettable quota; the earliest card is used first
- Quota restoredUses 1 reset and cannot be undone
- View and use: the number of resets you have received appears next to Quota remaining (for example, "Get 8 reset quotas"). When a reset is available, Reset appears on the corresponding quota card. Click it and confirm in the Resettable quota panel; the quota is then restored and the card is marked as reset. Each reset uses 1 reset opportunity and cannot be undone. The plan panel in Model settings offers the same option.
- Eligibility: reset cards are only issued to users who are signed in to ZCode with a connected Coding Plan account. You will not receive reset cards if you are not signed in, connect only with an API key, or your signed-in account has no Coding Plan.
- Off-peak issuance: during off-peak hours, ZCode issues 5-hour quota reset cards to Coding Plan users when all of the following are true: it is within the off-peak window, 5-hour usage exceeds a threshold, and the daily issuance limit has not been reached. This off-peak window is different from the one used by Idle-time Tasks. The exact window and threshold are adjusted dynamically; refer to what the app shows. Once a card is issued, a reset prompt appears at the bottom right of the input box on the new task page.
- Validity: each reset card has an expiry date and becomes invalid once it expires. Clicking reset opens the Resettable quota panel, which lists the expiry of each card; when you have several, the earliest one you received is used first.