Local-first four-bucket Token observability: persistent session/provider/model/day dashboards, trends, budget and anomaly signals, public-rate estimates, safe aggregate exports, and explicit opt-in usage or session-trajectory analysis.
- GitHub stars
- 12
- License
- MIT
- Added
- 2026-08-14
GitHub info
- GitHub stars
- 12
- License
- MIT
- Primary language
- TypeScript
- Last push
- Aug 15, 2026, 3:29 PM
- Maintainer
- LeemanCheung
- Added
- 2026-08-14
Preview from README
Screenshots and GIFs extracted from the repository README (badges and avatars filtered out).

会话轨迹分析:视口内滚动预览、四组确定性摘要、安全 Markdown 与导出
https://raw.githubusercontent.com/LeemanCheung/dsh-token-usage/main/assets/token-usage-trajectory-analysis.png

AI Token 用量分析:模型选择、隐私说明、模型目录刷新和模型用量热点
https://raw.githubusercontent.com/LeemanCheung/dsh-token-usage/main/assets/token-usage-ai-analysis.png

30 日 Token 预算、公开费率说明和 AI 用量分析入口
https://raw.githubusercontent.com/LeemanCheung/dsh-token-usage/main/assets/token-usage-budget.png

Agent 效率与归因:尝试次数、压缩率、缓存占比、路由集中度与运行率
https://raw.githubusercontent.com/LeemanCheung/dsh-token-usage/main/assets/token-usage-insights.png

DSH Token 用量概览:八项指标、聚合导出、30 周热力图与周期趋势
https://raw.githubusercontent.com/LeemanCheung/dsh-token-usage/main/assets/token-usage-overview.png
Install
dsh plugin --profile web add github:LeemanCheung/dsh-token-usageTags
README badge
Add this Markdown to your plugin README to link back to its listing.
[](https://dshget.com/plugins/LeemanCheung/dsh-token-usage)Related plugins
Usage & Billingdsh-context
★ 1176DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-cost-meter
★ 224Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
TokenLedger
★ 189Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.