Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By zererazv0.0.2MITIn 1 marketplace
Shows your Z.ai GLM Coding Plan subscription status, 5-hour token quota and hourly usage, with an optional statusLine that displays quota in Claude Code. Requires a Z.ai auth token you copy from the browser; it says it stores it locally in ~/.tokensight.json and that data stays on your machine.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
zai, glm, token-usage, quota-tracking, statusline, usage-monitoring, coding-plan, usage ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Track your Z.ai GLM Coding Plan usage directly in Claude Code.
Inside a Claude Code instance, run the following commands:
Step 1: Add the marketplace
/plugin marketplace add zereraz/tokensight
Step 2: Install the plugin
/plugin install tokensight
Step 3: Set up authentication
/tokensight auth <your_token>
Done! You can now check your usage anytime.
tokensight gives you visibility into your Z.ai GLM Coding Plan usage.
| What You See | Why It Matters |
|---|---|
| Subscription status | Know when your plan renews and billing cycle |
| 5-hour token quota | Track your rolling token usage with reset countdown |
| Monthly quota | Monitor web search/reader/zread tool usage |
| Hourly breakdown | See usage patterns throughout the day |
| Command | Description |
|---|---|
/tokensight | Show subscription and quota overview |
/tokensight today | Hourly breakdown for today |
/tokensight 7d | 7-day summary |
/tokensight 30d | 30-day summary |
/tokensight auth <token> | Save authentication token |
/tokensight:statusline | Enable always-visible statusLine (shows token quota) |
For always-visible token quota, enable the statusLine:
/tokensight:statusline
This displays a compact HUD that updates every few seconds:
[Z.ai] ███████░░ 45% 110M left ↺ 1h 30m
Monthly 14/1000 986 left
If you already have claude-hud installed, running /tokensight:statusline will automatically detect it and create a combined statusLine that shows both:
Both renderers use the same ANSI color scheme for consistency.
Get your token from Z.ai:
z-ai-open-platform-token-productioneyJhbGci)/tokensight auth <paste_token>Token is stored locally in ~/.tokensight.json.
╔════════════════════════════════════════════════════════════╗
║ Z.ai GLM Coding Plan Usage Tracker ║
╚════════════════════════════════════════════════════════════╝
Subscription: GLM Coding Pro
Status: VALID
Renews in: 83 days (2026-03-28)
5-Hour Quota:
25.6M / 200M tokens (12%)
174.4M remaining
Resets in: 1h 49m
Monthly Quota:
8 / 1000 calls (1%)
992 remaining
~/.tokensight.jsonMIT
This project was 100% built with Z.ai GLM 4.7. Inspired by claude-hud.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub zereraz/tokensight --plugin tokensightPlugins from other owners that cover similar ground