dsh-cost-ledger

「费用」标签页:按天、按模型统计 token 花费并折算成人民币,堆叠柱状图对齐 DeepSeek 官方控制台,悬停即可看到当天每个模型花了多少;内置阿里百炼官方价目表 142 个模型(千问、DeepSeek、Kimi、GLM、MiniMax),缓存命中按官方 10% 规则计价;查不到价的模型明确标为「未定价」并可一键手填,绝不静默算成 0。

插件介绍

「费用」标签页:按天、按模型统计 token 花费并折算成人民币,堆叠柱状图对齐 DeepSeek 官方控制台,悬停即可看到当天每个模型花了多少;内置阿里百炼官方价目表 142 个模型(千问、DeepSeek、Kimi、GLM、MiniMax),缓存命中按官方 10% 规则计价;查不到价的模型明确标为「未定价」并可一键手填,绝不静默算成 0。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Looriann/dsh-cost-ledger

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.

版本兼容情况

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