进阶 zcode.z.ai 2026-11-25 14:51:22 · 0 阅读

第52章 Usage Stats

Core FeaturesUsage 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. 123 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: App usageFrom the ZCode session history on this computerToken counts estimated from local recordsHeatmap, daily trend, and model shareReview your own usage patternIndividual / team planFrom the Z.ai / BigModel statistics APICounts actual tokens and tool callsRequires a connected Coding Plan accountCheck remaining quota and plan consumptionBilling and quota follow the plan tab; app usage only reflects sessions on this computer 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: SectionContentSummary metricsTotal tokens, peak tokens, longest session, current streak, and longest streakToken activityA heatmap of daily usage over the past year, with Daily / Weekly / Cumulative views. Hover over a day to see its tokens and message countDaily token trend chartDaily token usage by model. Hover over a day to see the breakdown by modelModel usageToken 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. Daily token trend · hover for each modelModel 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. 12 1Available resets2Remaining quota and reset times SectionContentQuota remainingThe 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 availableActivityTotal tokens, peak tokens, total usage duration, current streak, and longest streak, plus the token activity heatmapUsage trendsCache hit rate, credits total, and average daily credits, plus a daily consumption bar chartSystem healthAverage 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 modelBy 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-peakClick ResetReset appears on the quota cardConfirmConfirm in Resettable quota; the earliest card is used firstQuota restoredUses 1 reset and cannot be undoneEach reset card has an expiry date and becomes invalid once it expires 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. Next Steps Model ProvidersConfigure Z.ai, BigModel, and controlled custom providers.MCPConnect external tools to ZCode Agent.ZCode AgentLearn how to work with ZCode Agent.

评论 (0)