dsh-usage-stats
Token usage statistics by model, session and date in a sidebar panel, plus OpenCode Go quota, DeepSeek balance and Z.ai quota monitoring.
在侧边栏按模型、会话与日期统计 token 用量,并监控 OpenCode Go 额度、DeepSeek 余额与 Z.ai 额度。
How to install
dsh plugin add @xfqz86/dsh-usage-stats About
dsh-usage-stats — DSH 用量统计插件 DSH 的 Web 用量统计插件,按模型、会话、日期三个维度统计 token 用量与调用次数,挂载于侧边栏底部。底部展示今日用量,点击打开详情面板。 功能 侧边栏底部今日统计,宽列与 56px rail 自适应展示 详情面板按概览、日期、会话、模型、设置组织 OpenCode Go 额度,展示滚动 5 小时、本周、本月三档剩余额度 DeepSeek 余额,展示多币种余额 Z.ai 额度,展示滚动 5 小时与本周百分比 安装与卸载 本插件为标准 cordis 组合包,通过 profile 注入 web。 从 npm 安装 bash dsh plugin --profile web add @xfqz86/dsh-usage-stats 从 GitHub 安装 bash dsh plugin --profile web add github:xfqz86/dsh-usage-stats#release 从 tarball 安装 bash dsh plugin --profile web add https://github.com/xfqz86/dsh-usage-stats/releases/latest/download/xfqz86-dsh-usage-stats.tgz 固定地址,始终指向最新 Release 的 tar…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-09-03
- Created
- 2026-08-23
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin, dsh-plugins, usage-analytics
Related plugins
TokenLedger
zh667/TokenLedger
Sidebar 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.
dsh-context
bowenliang123/dsh-context
DSH 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-quota-panel
wenzetan/dsh-quota-panel
Bottom-right quota capsule that auto-discovers every configured provider (DeepSeek, OpenRouter, SiliconFlow, GLM, one-api/new-api, coding plans) and shows balance or rolling 5-hour and weekly usage, with per-provider visibility, alert thresholds and proxy support; also queries Volcengine Ark Agent Plan / Coding Plan usage via AK/SK-signed OpenAPI, and ChatGPT Plus/Pro subscription usage via in-plugin device-code login or the Codex CLI auth file.
dsh-cost-meter
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.