dsh-token-use
Settings section that reports token usage: totals for input, output, cache read, cache write, reasoning and call count, with breakdowns by model, day, month and project plus a per-day trend chart for the last 30 days; history is rebuilt once on a worker thread and then kept current from live session events.
设置中的 Token 用量面板:总量(输入/输出/缓存读/缓存写/推理/调用次数),按模型、按天、按月、按项目的明细,以及最近 30 天的按日趋势折线图;历史在 Worker 线程上一次性重建,之后由会话事件实时累加。
How to install
dsh plugin add dsh-token-use About
dsh-token-use English | 中文 DeepSeek Harness 实时 Token 用量与消费金额插件:安装后在 **设置 → Token 用量** 查看用量(自带设置侧边栏一级入口),页面每 5 秒刷新(页面隐藏时暂停,零轮询浪费)。 功能 **金额卡片**:按 DeepSeek 官方定价 × 本地用量实时估算消费金额(含高峰/空闲时段倍率),每张卡片(总量、趋势、按模型、按日期、按项目)都带金额字段。 **官方定价自动更新**:每天 **12:00** 抓取一次官方定价页并缓存到本地,重启不丢、断网可用内置快照兜底。 **总量卡片**:金额(估算)、总计(输入+输出+缓存)、输入、输出、缓存读、缓存写、推理、调用次数。 **按模型区分单价**:输入/输出/缓存命中分别按模型的官方单价计价;非 DeepSeek 模型(claude、gpt 等)一律不计金额,用 — 标出。 **范围筛选**:按天 / 按月 / 全部三个 tab,默认「按天=今天」;可选日期、月份。 **模型筛选**:时间筛选旁的下拉框按模型过滤(含该模型的项目/按天维度明细),默认全部模型。 **用量趋势图**:基于 ECharts(按需打包、随插件离线分发,不依赖 CDN)。缓存命中/输入/输出按**堆叠面积**画出构成,上沿即总计(另有一条总计参考线),每天金额用**金额柱**走右轴(¥…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-14
- Created
- 2026-09-09
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dashboard, deepseek-harness, dsh, dsh-plugin, echarts, token-usage
Related plugins
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-billing
940842546/dsh-usage-billing
Usage and cost statistics with peak/off-peak pricing after the 2026-08-17 rate change, a floating summary panel, per-session breakdowns, and a day/week/month/year/all usage heatmap.
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.
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.