DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Costview — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

dsh-costview

Costview

Append this-turn / this-session token costs (¥) to the assistant message metadata row, with automatic switching between peak and off-peak periods and a built-in 2025–2026 statutory holiday calendar.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Yulu224/dsh-costview#9fe445a341ff3dcfb75ed4475b6aca874af04812
READMECompatibilityVersions
效果

Compatibility and provenance

Costview is published as dsh-costview and currently resolves to version 0.0.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/18/2026

Versions

0.0.2stable
10/18/2026
0.0.1stable
10/17/2026

Related plugins

Loading related plugins…

Latest
0.0.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/18/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Commandcode Provider@mars-sea/dsh-commandcode-providerUnofficial DeepSeek Harness LLM provider plugin for Command Code, ported from pi-commandcode-provider (MIT). Registers the 'commandcode' provider route with a Models-page card and live model catalog.Connect Workbuddydsh-connect-workbuddyConnect locally authenticated WorkBuddy models to DeepSeek Harness with read-only credit overview and model management.Plugin@opencode2dsh/dsh-pluginFree OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key.

README

dsh-costview | 轻量化QoL插件

本插件在助手消息的元数据行追加了 ¥x.xx 的显示功能: 按 DSH 记录的每轮 token 用量和官方高峰 / 空闲两档单价,估算这一轮花了多少钱。

兼容性:在 DSH 桌面版 0.2.1-rc.2 可运行

效果

效果

  • 金额统一保留两位小数(精确到「分」)。不足半分钱的用量会显示成 ¥0.00;
  • 注意:数字以 DeepSeek 账单为准,此处为估算值。

估算方式

  • 单价只覆盖 deepseek-flash。assistant 节点的 usage 里不带模型名, 换用 deepseek-v4-pro 等其他模型时金额是错的(会严重偏低);
  • 一轮对话若是跨过 12:00 / 18:00 这种档位边界,整轮会按最后一次请求的档位计价;
  • 缓存写入官方没有单独定价,这里并入「缓存未命中输入」计算;
  • 取不到单轮数据时会退回到整会话累计,那一条会明显偏大。

计费规则

高峰时段(北京时间):周一至周五(不含中国法定节假日)09:00–12:00、14:00–18:00; 其余时段——含周末与法定节假日全天——都算空闲时段,空闲价恰好是高峰价的一半。

单价在 client.js 的 RATE_CARD(人民币 / 百万 tokens,deepseek-flash):

项目高峰时段空闲时段
输入(缓存未命中)2.001.00
输入(缓存命中)0.040.02
输出8.004.00

数值取自官方价目页 https://api-docs.deepseek.com/zh-cn/quick_start/pricing/。

法定节假日

  • 覆盖 2025–2026 两年,共 61 天(2025 年 28 天、2026 年 33 天);
  • 不需要任何外部数据源,断网 / 全新安装都是同一套结果,不会静默算错;
  • 只列「放假」日期,调休补班的周末不在表里 —— 按官方字面「周末全天算空闲」照旧处理;
  • 判定顺序固定为 周末 → 节假日 → 钟点,所以表中落在周末的日期不会改变结果。

法源:

  • 《国务院办公厅关于 2025 年部分节假日安排的通知》国办发明电〔2024〕7 号
  • 《国务院办公厅关于 2026 年部分节假日安排的通知》国办发明电〔2025〕7 号

已知问题

  • 金额统计只覆盖了 deepseek-flash;
  • 一轮跨峰谷边界时整轮按后一档计价;
  • 部分插件的安装卸载过程可能会导致本插件的 GUI 界面暂时失效,重启即可。

安装 / 卸载

方式一:直接从 GitHub 安装(推荐)

# <DSH 安装目录> = DeepSeek Harness 的安装位置,dsh.cmd 在其 resources\runtime\cli\bin\ 下
& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add github:Yulu224/dsh-costview

方式二:clone 后挂载本地目录

git clone https://github.com/Yulu224/dsh-costview.git
& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop add '<克隆目录>'

卸载

& '<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd' plugin --profile desktop remove dsh-costview