dsh-token-cost

DSH 的 Token 花费面板:今日与近 7/30 天、自然月/季/年合计,按缓存命中输入、未命中输入与输出拆成本,按模型/会话明细,每日与月度预算加当日花费外推,峰谷分档计价,CSV/JSON 导出,另有零依赖 CLI 报表;同时按模型单价计 GLM(智谱)与 Kimi 等第三方路由。olimc2016/dsh-token-meter-panel(MIT,0.6.7)的维护分支:面板重做;使用独立的 row、路由与 slot id,可与上游条目同装,不替代原条目。

模型与费用NOASSERTION☆ 1

插件介绍

DSH 的 Token 花费面板:今日与近 7/30 天、自然月/季/年合计,按缓存命中输入、未命中输入与输出拆成本,按模型/会话明细,每日与月度预算加当日花费外推,峰谷分档计价,CSV/JSON 导出,另有零依赖 CLI 报表;同时按模型单价计 GLM(智谱)与 Kimi 等第三方路由。olimc2016/dsh-token-meter-panel(MIT,0.6.7)的维护分支:面板重做;使用独立的 row、路由与 slot id,可与上游条目同装,不替代原条目。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:catgrandfa/dsh-token-cost

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令