dsh-switch-cost
dsh-switch-cost 为 DSH 插件,对当前会话按实际使用的模型路由计费后,再将相同 token 量对照内置价目表中其余路由逐一重算,回答"换到别处要花多少"。它按 UTC 小时分桶统计。
查看原仓库英文描述
DeepSeek Harness (dsh) plugin to compare LLM API cost across models and providers: prices the current session on the model that ran it, then reprices the same token counts against 15 routes on file. DeepSeek peak/off-peak resolved per UTC hour, cache read and write priced separately, every rate with its source and check date.
基础信息核对
待复核项目活跃度
数据覆盖 60% · 有限数据 · 数据截至 2026-09-26
12 次提交 · 最近推送 33 天前
0 个样本 · 暂不计分
0 个样本 · 暂不计分
1 位近 90 天活跃贡献者
最近发布 33 天前
0 Stars · 0 Forks
安装
暂无统一的安装命令(安装方式请前往项目页面查看。)。请前往项目页面查看 README 获取最新安装指引。
还没有 DSH?两步开始 →
第一步:准备 Node.js 环境
DSH 依赖 Node.js(建议 20 LTS 或更新版本)。终端里运行 node -v 能显示版本号即已就绪。
已有 Node.js:直接进入第二步。
没有 Node.js:去 nodejs.org 下载 LTS 安装包(Windows/macOS 双击安装);或用包管理器:
brew install nodewinget install OpenJS.NodeJS.LTS第二步:启动 DSH
无需安装,直接运行:
npx @deepseek-ai/dsh web浏览器打开 http://127.0.0.1:3080 即可进入 DSH Web UI;插件的后续安装请按上方项目说明操作。