dsh-turn-cost

在 DSH Web 界面显示每轮与整个会话的预估费用:按 provider 上报的 token 用量(四桶)与内置官方 DeepSeek 人民币峰谷价目计价,高峰为北京时间周一至周五 9:00–12:00、14:00–18:00,周末与中国法定节假日全天按空闲价;可用本机费率表叠加其它或自部署模型的单价,没有单价的模型只显示 token。

插件介绍

在 DSH Web 界面显示每轮与整个会话的预估费用:按 provider 上报的 token 用量(四桶)与内置官方 DeepSeek 人民币峰谷价目计价,高峰为北京时间周一至周五 9:00–12:00、14:00–18:00,周末与中国法定节假日全天按空闲价;可用本机费率表叠加其它或自部署模型的单价,没有单价的模型只显示 token。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-turn-cost

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:WFMinerva/dsh-turn-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.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期