ZAI Coding Plan Usage

MCP Tools

Query Z.ai (智谱) Coding Plan usage and quota limits. Track token consumption, MCP usage, and subscription status. Use when user asks about "智谱用量"、"ZAI usage"、"coding plan usage"、"quota"、"智谱配额"。

Install

openclaw skills install zai-coding-plan-usage

Z.ai Coding Plan Usage Query

Query Z.ai (智谱 AI) Coding Plan usage and quota limits.

Usage

Just say:

  • "智谱用量查询"
  • "Check ZAI usage"
  • "coding plan usage"

Script

node ~/.openclaw/workspace/skills/zai-coding-plan-usage/scripts/query-usage.mjs

API Endpoints

APIEndpointDescription
Model usage/api/monitor/usage/model-usageModel call statistics
Tool usage/api/monitor/usage/tool-usageTool call statistics
Quota limit/api/monitor/usage/quota/limitQuota limits

Notes

  • API Key is automatically read from OpenClaw config or environment variables
  • Works only in environments with Z.ai API configured