← Back to list

model-usage-plugin

DeepSeek Harness Other Low risk

Per-model token usage and cost estimation with DeepSeek account balance, shown in a Settings panel tab.

按模型统计 token 消耗并估算费用,同时显示 DeepSeek 账户余额,展示于设置面板「模型消耗」页签。

How to install

DeepSeek Harness dsh plugin add model-usage-plugin

About

模型消耗统计(musage-stats) DeepSeek Harness(DSH)Web 插件:统计各模型 tokens 消耗并估算费用,显示 API 账户余额。 功能 按模型统计 tokens(区分缓存命中 / 未命中 / 写入)、调用与失败次数,估算费用 内置主流模型默认价格(国产模型按人民币、海外模型按美元),首次使用自动套用,可随时修改 峰谷定价:每个模型可勾选"峰谷定价",指定高峰期时间段(HH:MM,支持跨零点)与高峰期价格; 高峰期 token 按高峰价计费,非高峰期按正常价计费(高峰价留空则沿用正常价) 汇率换算:费用统一按目标货币展示(默认人民币)。汇率成功获取后连同时间戳缓存到数据文件, 无缓存时启动自动刷新一次;打开设置页时缓存不超过一周不自动刷新(需手动点击"更新汇率"), 无缓存或超过一周自动刷新一次 查询 DeepSeek 账户余额,页面顶部大字展示总 Token 与账户余额 设置面板"模型消耗"页签;"仅显示已调用模型"可隐藏未使用过的模型 安装 从 GitHub 仓库安装(纯 JS,零构建,即装即用): bash dsh plugin --profile web add github:AKS1st/model-usage-plugin dsh web # 重启 web 服务使 profile 生效 本地安装(clone 后直接指向仓库目录): ba…

Recommendation signals

52 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
52 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
7
mo. downloads
–
Last push
2026-09-14
Created
2026-08-14

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
cordis, cost-estimation, deepseek-harness, dsh, dsh-plugin, plugin, token-tracking

Related plugins

DeepSeek Harness
Score73

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.

☆ 202 ↓ 1.4K Other ↗
DeepSeek Harness
Score71

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.

☆ 1.5K ↓ 79.7K Other ↗
DeepSeek Harness
Score69

dsh-usage-statistics-panel

HaoyueQin/dsh-usage-statistics-panel

Usage statistics settings panel: 26-week activity heatmap, daily token trend with a cache hit-rate curve, per-model donut and breakdown, time-range filters, summary cards, one-time historical backfill and lossless rebuild.

☆ 9 ↓ 3.3K Other ↗
DeepSeek Harness
Score68

dsh-all-usage

ParticleLight/dsh-all-usage

Analyze usage across models, providers, workspaces, and time ranges — including custom start/end dates over the full retained history — with live cache-hit visibility and separate model and provider breakdowns. Includes hourly single-day trends, daily cross-day trends, a 53-week GitHub-style heatmap, usage streaks, model and workspace Token-share donut charts with Token, cost, and percentage details, independent combinable filters, cache-efficiency trends, DeepSeek account balance, workspace aliases, CSV export, and a durable ledger that preserves successfully flushed usage after session deletion — and after a workspace is deleted, where its recorded usage is summed into one Deleted row — and rebuilds incrementally — on restart, unchanged sessions are applied from the ledger without re-reading their logs (a per-session log revision is the change signal), and only changed/new events are folded. The workspace registry is kept fresh automatically through the DSH domain/changed probe: only added/removed workspaces are reprocessed incrementally, unchanged workspaces reuse their computed aggregates and ledger with zero rescan, and usage is strictly limited to DSH-registered workspaces (unregistered cwds are ignored). After a scan, lightweight revision status fetches full history only when the Host/data state changes and exposes non-sensitive sync health (revision reuse, rereads, ledger recovery, and failures). Token accounting is explicit: input is fresh (cache read/write and reasoning are separate buckets) and zero-usage replays never overwrite recorded usage. Chinese uses local time, English uses UTC; API access is loopback-only.

☆ 8 ↓ 2.8K Other ↗