DeepSeek Harness plugin

dsh-show-me-how-much

DeepSeek Harness token usage and estimated cost dashboard

Jump to install

Source facts

Repository
kam74515-boop/dsh-show-me-how-much
Latest update
Aug 15, 2026
Category
Development & Runtime
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/kam74515-boop/dsh-show-me-how-much
Plugin: dsh-show-me-how-much
Author: kam74515-boop

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

Show Me How Much

DeepSeek Harness Web 费用与 Token 统计插件。

  • 会话底栏最右侧实时显示估算费用和总 Token。
  • 「设置 → 费用统计」提供日期、时间、缓存命中率、按日趋势和模型明细。
  • 自动区分 DeepSeek V4 Flash、V4 Pro,并支持自定义回退价格。
  • 使用 Harness 持久化 Projection;重新打开历史会话仍可重放统计。
  • 流式 usage 与最终 message 采用替换语义,不会重复累计。

安装

直接从 GitHub 安装:

dsh plugin --profile web add github:kam74515-boop/dsh-show-me-how-much#v0.1.0

然后重启 Harness Web:

dsh web

本地开发安装:

git clone https://github.com/kam74515-boop/dsh-show-me-how-much.git
cd dsh-show-me-how-much
npm install
npm run check
dsh plugin --profile web add .

费用计算

费用公式:

(缓存命中输入 × 命中价 + (未命中输入 + 缓存写入) × 未命中价 + 输出 × 输出价) / 1,000,000

默认价格来自 DeepSeek V4 人民币官方价格表(2026-08-15),可以在设置页调整:

模型缓存命中输入未命中输入输出
DeepSeek V4 Flash¥0.02/M¥1/M¥2/M
DeepSeek V4 Pro¥0.025/M¥3/M¥6/M

Harness 的 uncachedInputTokenscacheReadTokenscacheWriteTokensoutputTokens 是互斥桶。缓存写入 Token(如果 provider 报告)按未命中输入计价,reasoning Token 已包含在输出中。

说明

金额是基于 provider 返回用量与当前价格表的估算值,不等同于 DeepSeek 开放平台账单。赠送余额、折扣、价格调整和第三方 provider 可能造成差异。

项目针对 DeepSeek Harness 0.1.0-rc.6 开发,Harness 仍处于 Developer Preview,后续版本可能需要同步插件 API。

许可证

[MIT](LICENSE)