AlfredChaos/dsh-usage-stats0

dsh-usage-stats

DeepSeek Harness 消耗统计插件:设置页「消耗统计」展示 Token 用量 KPI、半年活跃贡献热力图、按模型堆叠柱状图与模型环形图(Host 预热扫描 + RPC,只读重算会话日志)

AI 分析

核心用途是通过扫描历史会话日志,提供直观的 Token 消耗和活跃度可视化图表。适合需要复盘、分析大模型使用频次和成本分布的用户。

パッケージ
dsh-usage-stats
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/15

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlfredChaos/dsh-usage-stats

ドキュメント

README 全文を読む ↗

dsh-usage-stats

Token usage statistics for DeepSeek Harness, shown as a page under Settings → Usage in the web GUI. The plugin rescans persisted session logs and never writes anything back.

简体中文 · dsh-plugin License: MIT version

Usage statistics page in DeepSeek Harness settings

What it shows

  • Cumulative totals (all time) — input and output tokens, session count, and the most-used model with its share.
  • Activity heatmap — the last six months in a GitHub-contribution layout (weeks as columns, weekdays as rows). Days are colored by quartile over non-zero usage.
  • Daily stacked bars — per-model token usage, switchable between the last 7, 14, or 30 days.
  • Model donut — all-time share per model, with the top 5 listed beside it and the rest folded into "other".

Hovering a bar or a donut segment shows the exact breakdown:

Bar tooltipDonut tooltipDark theme

Bar hover tooltip

|

Donut hover tooltip

|

Dark theme

|

Install

The plugin ships as a bundle: dsh plugin add appends it to the profile's bundle list, and the patch row activates the host half.