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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-peak-indicator

Peak Indicator

DeepSeek Peak and Off-Peak Periods, RMB Token Cost Estimation, and Account Balance for DSH Web / Desktop

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-peak-indicator@0.1.34
READMECompatibilityVersions

Compatibility and provenance

Peak Indicator is published as dsh-peak-indicator and currently resolves to version 0.1.34. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/5/2026

Versions

0.1.34stable
11/2/2026
0.1.33stable
10/23/2026
0.1.32stable
10/20/2026
Show 24 more versionsCollapse versions
0.1.31stable
10/20/2026
0.1.30stable
10/20/2026
0.1.29stable
10/20/2026
0.1.28stable
10/19/2026
0.1.27stable
9/18/2026
0.1.26stable
8/27/2026
0.1.25stable
8/23/2026
0.1.24stable
8/23/2026
0.1.23stable
8/23/2026
0.1.1stable
8/23/2026
0.1.22stable
8/18/2026
0.1.21stable
8/18/2026
0.1.20stable
8/18/2026
0.1.19stable
8/18/2026
0.1.18stable
8/18/2026
0.1.17stable
8/18/2026
0.1.16stable
8/18/2026
0.1.15stable
8/18/2026

Related plugins

Loading related plugins…

Latest
0.1.34
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
69.2 kB
Files
8
Surface
web
License
MIT
Source
npm
GitHub
★ 4
Weekly downloads
727
Security scan
✓ v0.1.34 scan passed
Last push
10/23/2026
View source ↗Project homepage ↗
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
0.1.14stable
8/18/2026
0.1.13stable
8/18/2026
0.1.12stable
8/18/2026
0.1.11stable
8/18/2026
0.1.10stable
8/16/2026
0.1.9stable
8/16/2026

Related plugins

More verified plugins in models-usage.

Our Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — Install this plugin in dsh to use cutting-edge models including DeepSeek V4.1 Flash and Kimi K3, with no login, registration, or API Key required. The desktop version also offers an EAC co-payment channel; starting with 2.0, it supports ten account channels: LobsterAI, Qoder, TRAE, Connect Workbuddydsh-connect-workbuddyConnects locally signed-in WorkBuddy models (domestic and international versions) to DeepSeek Harness, automatically reading each model’s points multiplier from the upstream catalog on every refresh, with per-model image input toggles, multi-account switching, automatic account rotation from an accoCost Meterdsh-cost-meterDeepSeek Harness session cost statistics plugin: tracks current session costs, today’s expenses, and historical records, with synchronization to official pricing. Supports billing across multiple vendors and models, with a built-in catalog of prices for 170+ model IDs and automatic matching. Also suClient 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.

README

dsh-peak-indicator

DeepSeek Harness (DSH) Web / Desktop 的峰谷计价与账户余额插件。

  • 会话头部显示高峰 / 闲时、距离下一次切换的倒计时,以及会话 Token 费用估算。
  • 每轮消息末尾显示本轮 Token 费用,按日志中的实际用量和事件发生时间重算。
  • 默认人民币计价,缓存命中输入使用独立缓存价;可显式选择美元或配置自定义模型价格。
  • DSH 登录账户显示可用人民币余额(充值 + 赠金),每分钟刷新,也可点击刷新。
  • 悬停说明精简为模型名、当前单价、估算范围三行。

0.1.34:适配 DSH 0.2.1-rc.5

修复升级宿主后插件被兼容检查拦截、徽章不显示的问题。宿主范围与所有 DSH peer 依赖 同时支持已核验的 0.2.1-rc.2 和 0.2.1-rc.5,并提供两个版本的 Store 精确声明。 未验证的其他预发布版和正式版不自动放行;无需使用兼容性豁免。

0.1.33:徽章跟随浅色 / 深色主题

峰谷、账户余额与每轮费用徽章跟随 DSH 当前主题即时切换,无需刷新页面。 历史消息保留原有高峰 / 闲时归属和费用,只随主题调整配色;第三方模型使用中性灰色。 账户余额的加载、未登录与读取失败等状态也适配两种主题。感谢 @gbcdby 的 PR #10。

0.1.32:右侧独立显示账户余额

峰谷徽标右侧固定显示一个独立的“账户余额”标签,不再根据当前模型路由隐藏。 有余额时显示绿色金额标签;加载、未登录、读取失败和接口不可用均保留明确状态。 这里始终是 DSH 登录账户的余额,切换至 API Key 或第三方模型后仍保持这一含义。

0.1.31:修复悬停一直显示“模型加载中”

优先订阅会话的 modelSelection 投影取得当前模型,再使用模型目录中的默认选择。 模型目录读取失败或重连时,已知会话模型的名称、单价和账户余额仍能显示;切换模型后优先使用新的会话选择。 目录失败或重试耗尽且确实没有模型信息时,显示“当前模型暂不可用”,不再永久显示加载中,也不会猜测模型名。

0.1.30:专注费用与余额

移除旧版对官方压缩策略的修改:不再改触发比例、保留 Token 数或自动压缩开关,不再注册压缩设置面板。 删除基于上下文 Token 下降推断压缩事件、按未命中输入价推算“每步省钱”的统计与日志。 插件介绍聚焦峰谷计价与余额,不再把调节官方压缩阈值列作本插件的压缩能力。

DSH 0.2.1-rc.2 的基础 bundle 自带 compaction-basic 自动压缩、/compact 手动压缩与工具结果剪裁。 官方自动压缩默认开启,默认 thresholdRatio: 0.8、retainRatio: 0.16;实际触发还受路由模型窗口、输出预留、 headroom 与用户策略影响。本插件完全交由 DSH 管理这些设置,也不再猜测触发点。

旧 patch 中的 autoCompact 字段可继续加载,但从 0.1.30 起不再生效。升级后重启对应 DSH profile, 旧版运行时覆写会随旧插件退出撤销;用户直接配置在官方压缩插件上的策略继续由 DSH 管理。

减少上下文 Token 不等于同比例减少费用。缓存命中、摘要输入 / 输出费用和后续请求都会影响净成本, 所以本插件不再估算“压缩回本步数”或“未来每步节省金额”。

官方实现参考:基础 bundle、 压缩策略解析。

峰谷时段与价格

北京时间周一至周五 09:00–12:00、14:00–18:00 为高峰,其余时段为闲时。 周末和中国法定节假日全天闲时;周末补班仍按闲时。内置 2026 年公告放假日期,后续年份需更新日历。 徽标倒计时每 30 秒更新。

当前人民币价格(元 / 百万 tokens,核对日期 2026-10-20):

模型高峰 输入 / 输出 / 缓存命中闲时 输入 / 输出 / 缓存命中
deepseek-flash(DeepSeek-V4.1-Flash-1017)2 / 8 / 0.041 / 4 / 0.02
deepseek-v4-pro(DeepSeek-V4-Pro-0813)9 / 27 / 0.304.5 / 13.5 / 0.15

旧 Flash API ID 按官方别名处理。其它模型显示中性标记,需要显式提供自定义单价才计入费用。

悬停示例(闲时):

DeepSeek-V4.1-Flash-1017
输入 ¥1 · 输出 ¥4 · 缓存 ¥0.02 / 百万 tokens
按已知 Token 估算,不含搜索/抓取费

费用估算的范围

宿主 peakCost 投影重放真实日志,分别累计未命中缓存输入、缓存命中输入与输出,并按每个事件的历史价格和峰谷时段计价。 流式用量与同一步最终消息不重复计数;每轮费用汇总该轮全部步骤。

这是已知 Token 用量的费用估算,最终扣款以 DeepSeek 账单为准。它不预测未来节省,也不从余额变化反推单轮费用。 Search / Fetch 等独立按次费用未计入:自北京时间 2026-11-01 00:00 起,官方 DSH 服务端调用每次成功且有结果的请求 收取 ¥0.005(美元价 $0.00075);插件不猜测请求成功次数。

人民币不是将旧美元金额换符号或按汇率转换。两种币种使用独立价格与投影缓存校验。 历史人民币估算从 2026-08-17 的官方 V4 价格起算;Flash 从 2026-09-10 12:00 起使用新价。 更早的促销记录不完整,不猜算该时期的人民币费用,可用 pricesCny 显式补充。

价格按插件版本固定,宿主与浏览器由同一 lib/pricing.js 构建。

来源:中文价格页、 V4 历史人民币价格图、 英文价格页、 官方更新日志。

账户余额

会话头部的峰谷徽标右侧,始终显示独立的 账户余额 ¥xx.xx 标签。 金额为充值钱包与赠送钱包之和,悬停用一行分别列出两项。每分钟自动刷新,点击可立即刷新。 通过 DSH 自带 Host 账户接口读取,不复制密钥到前端。

未登录、读取失败、没有人民币钱包分别显示对应状态,真实零余额才显示 ¥0.00。 这个标签始终表示 DSH 登录的 DeepSeek 账户余额,与当前模型选择无关;它不代表自填 API Key 或第三方平台的钱包。美元钱包不折算成人民币。

安装与升级

支持已验证的 DSH 0.2.1-rc.2 / 0.2.1-rc.5,支持使用 Web 前端的 web / desktop profile。 Node.js 要求 ^22.19.0 || >=24.0.0。未验证的新宿主版本不自动声明兼容。

dsh plugin --profile web add dsh-peak-indicator@0.1.34

桌面版将 web 换为实际 profile 名(通常是 desktop),也可使用插件管理器升级。 安装后重启对应 DSH profile 并刷新页面。不要复制文件到应用程序安装目录,不需要忽略兼容检查。

可选价格配置

默认无需配置。pricesCny 的单位为 人民币 / 百万 tokens;原有 prices 始终表示美元。 如需美元计价,显式设置 currency: USD,默认 CNY。

- insert:
    - id: peak-indicator
      name: dsh-peak-indicator
      config:
        currency: CNY
        pricesCny:
          my-model:
            input: 1
            output: 3
            cacheHitInput: 0.1

自定义未知模型不套用 DeepSeek 峰谷折扣。宿主的 peakWindows、holidayDates 等可选配置只影响费用投影; 浏览器徽标仍使用内置官方时段与价格。

开发验证

npm run build
npm test
npm pack

build 同步浏览器中的价格与余额模块,测试拒绝未同步副本。 自动测试覆盖精确版本声明、官方兼容门禁、真实会话投影、历史 / 当前人民币价格、币种隔离、余额精度与账户切换, 以及真实官方压缩引擎在安装、旧配置、重载和卸载过程中保持策略不变。 前端测试覆盖独立余额标签、所有模型路由与失败状态、实际账户 RPC 接入,以及会话模型读取;确认只注册费用展示槽位,不再注册压缩设置。

隔离验收可指定新的 DSH_HOME,通过官方 CLI 安装打包文件并启动 Web profile;不需要发起收费模型请求。

dsh.compatibility.dshReleases 精确声明已核验的 0.2.1-rc.2 与 0.2.1-rc.5;其他版本未作兼容结论。 rc.2 与 rc.5 各通过 58 项自动测试。rc.5 在 macOS 独立 Profile 通过官方 CLI 安装、真实 Web Host 加载、 合成会话总费用投影、头部徽章、账户余额读取、悬停说明与主题切换;每轮费用及错误状态另由独立浏览器回归覆盖。 真实 Host 的合成会话未单独断言每轮操作区;未执行收费模型请求,也未单独运行 Electron Desktop。 该声明是作者源码兼容记录;Store 仍须审查并收录新固定 Commit,不能据此视为线上安装限制已解除。