dsh-deepseek-usage-dashboard
DeepSeek API usage dashboard for DSH Web: daily cache-hit/miss and output token statistics from session logs, per-model cost estimates, account balance, 7-day trends, and a composer usage summary.
DSH Web 的 DeepSeek API 用量仪表盘:基于会话日志统计每日缓存命中/未命中输入与输出 Token,并展示分模型费用估算、账户余额、7 日趋势和 composer 用量摘要。
How to install
dsh plugin add github:izz-BLUE/dsh-deepseek-usage-dashboard About
dsh-deepseek-usage-dashboard 简体中文 | English 一个独立、可安装的 DeepSeek Harness(DSH)Web UI 插件,用于: 从会话日志统计本 DSH 实例**每日 DeepSeek Token 用量**(仅精确 usage:缓存命中/未命中输入、输出、推理); 基于**用户可编辑的分模型价格表**估算今日费用; 监控 **DeepSeek 账户余额**(仅 Host 端调用,默认每 10 分钟刷新,支持手动刷新); 在 Web GUI 中以仪表盘、composer 底部统计行与设置卡片展示。 效果预览 仅基于官方 @deepseek-ai/* NPM SDK 开发;不修改任何 DSH 源码;通过 cordis.patch.yml + profile 插件机制安装。插件**全程不调用任何 LLM 接口**:统计、刷新、展示、余额查询零模型调用,空闲运行与刷新页面产生的 Token 为 0。 功能 **每日统计(Asia/Shanghai 自然日)**:缓存命中输入、缓存未命中输入、输出、推理(存在时)、输入合计、Token 合计、请求数、失败请求数、缓存命中率。 **只统计真实的 DeepSeek 流量**:provider 路由为 deepseek-official(可配置)**且**有效 base URL 主机为 api.de…
Recommendation signals
Meta
- License
- BSD-3-Clause
- Language
- TypeScript
- GitHub stars
- 2
- mo. downloads
- –
- Last push
- 2026-08-17
- Created
- 2026-08-14
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
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-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.
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.