Repository navigation
Releases
Releases · Zhangw1998/dsh-usage-dashboard
v0.0.1 — 首个公开版本 / First public release
首个公开版本。 / First public release.
中文
功能
- 时间范围:今天 / 24H / 7D / 30D / 90D / 全部 / 自定义(
24H为滚动窗口,与「今天」不等价) - 项目 / Provider / 模型三维联动筛选,点击 Provider 行或项目行即可下钻
- 趋势图:Token ↔ 费用切换;含缓存 ↔ 不含缓存切换
- Provider 分布:输入 / 输出 / 缓存 / 调用次数,条形按构成分段
- 项目明细:可展开到「该项目用了哪些 Provider」
- 余额:DeepSeek 官方 API 钱包与登录账号钱包分行显示,充值 / 赠送分开列
- 自动刷新:页面可见时约每 2 分钟静默更新
口径(刻意保持诚实)
- 预估费用按本地价格配置估算,不是账单实付
- 订阅折算是牌价参考,带
≈,绝不与预估费用相加 - 未定价单独计数,不是 0 元
- 调用次数只含有 usage 记录的调用,可能低于服务商后台
- 余额不能反推累计消费
安装
dsh plugin --profile desktop add github:Zhangw1998/dsh-usage-dashboard已知限制:一次全量扫描约 10–15 秒;会话数在筛选时显示 —;余额仅支持 DeepSeek。
English
Features
- Ranges: Today, rolling 24H, 7D, 30D, 90D, All, custom
- Combinable project / provider / model filters with click-to-drill rows
- Trend chart with tokens ↔ cost and cache on/off toggles
- Per-provider input / output / cache / call counts, bar segmented by composition
- Project table expandable to the providers behind each project
- DeepSeek balance: API-key wallet and account wallet on separate rows
- Silent auto refresh about every 2 minutes while visible
Honest semantics
- Estimated cost is estimated from your local price config — not a billed amount
- Plan value is a list-price reference with
≈— never added to cost - Unpriced usage is counted separately — not zero
- Calls only count requests that reported usage
- Balance cannot be used to infer cumulative spend
Install
dsh plugin --profile desktop add github:Zhangw1998/dsh-usage-dashboardKnown limitations: a full scan takes ~10–15s; session counts show — under filters; balance is DeepSeek-only.