概览
dsh-token-stats
Global token usage statistics for the DeepSeek Harness: real llm/stream usage collection, durable JSONL ledger, per-provider/model/session/day aggregation, cost estimation with OpenRouter price refresh, a draggable FAB panel, a centered detail dashboard, and a token_stats model tool.
README / ZH
插件文档
目录摘要
Global token usage statistics for the DeepSeek Harness: real llm/stream usage collection, durable JSONL ledger, per-provider/model/session/day aggregation, cost estimation with OpenRouter price refresh, a draggable FAB panel, a centered detail dashboard, and a token_stats model tool.
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- 浏览器端无「UI 当前会话 id」官方接口:当前会话跟随基于 DOM 探测 + 标题匹配,会话列表不可见或标题歧义时回退到最近活跃会话 - 会话维度的分布(供应商/模型/日期)基于保留窗口(最近 500 条)聚合,总量 `totals` 为完整账本 - 费用为估算值(按模型单价 × 用量),实际结算以你的网关/厂商账单为准 - 统计口径为**真实 usage**(计费口径:输入 = 未缓存 + 缓存读 + 缓存写),与 DSH 内置 token-meter 的估算口径不同
