DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-cost-display

m

dsh-cost-display

Manifest valid1

DeepSeek Harness Cost Display Plugin

UI (client)hasBundlePatch

dsh-cost-display

DeepSeek Harness 成本显示插件:在会话状态栏实时显示累计费用,按模型与峰谷时段精确计费。

功能特性

  • 状态栏费用显示:在 token 统计后追加当前会话累计费用(费用 ¥X.XX),悬停可查看费用明细
  • 费用明细弹窗:按模型拆分 token 用量与费用,单独展示思维链(reasoning)token 数
  • 峰谷定价:默认高峰时段为北京时间 09:00-12:00 与 14:00-18:00,低谷时段自动按低谷价计费
  • 可配置价格表:每个模型支持多档价格,按生效日期自动切换,用于应对官方调价
  • 模型列表自动同步:在「模型设置」页新增或修改模型后,自动补进价格表,无需手动操作
  • 未知模型兜底价:未在价格表中列出的模型按兜底价计费,费用显示带 ? 前缀
  • 每模型峰谷开关:可单独关闭某模型的峰谷定价,使其始终按正常价计费

安装

通过 dsh 命令安装

dsh plugin --profile web add <插件目录路径>

手动配置 profile

~/.dsh/profiles/web/package.jsondependencies 中加入:

"dsh-cost-display": "link:<插件目录绝对路径>"

同时在 dsh.profile.bundles 数组中加入 "dsh-cost-display",然后重启 Harness。

使用

安装并重启后,在设置页的「费用设置」中可查看和修改:

  • 价格表:每个模型的各价格档,包含命中、未命中、输出三档单价(单位:元/百万 tokens)
  • 生效日期:每档价格的生效日期(北京时间),用于在官方调价时新增价格档
  • 峰谷窗口:高峰时段配置,默认 09:00-12:00 与 14:00-18:00
  • 兜底价:未在价格表中列出的模型按此价计费
  • 峰谷开关:每模型是否启用峰谷定价

修改保存后,新请求立即按新价格计费,历史会话费用不受影响。

计费模型

费用按以下公式估算:

费用 = (未命中输入 tokens + 缓存写入 tokens) × 未命中单价
     + 缓存命中 tokens × 命中单价
     + 输出 tokens × 输出单价

单价按请求时刻选择:先按模型生效日期取最近一档价格,再按北京时间是否处于高峰时段选择高峰价或低谷价。

默认价格表

模型时段命中未命中输出
deepseek-v4-flash8/17 前0.0212
deepseek-v4-flash8/17 后 · 高峰0.139
deepseek-v4-flash8/17 后 · 低谷0.051.54.5
deepseek-v4-pro8/17 前0.02536
deepseek-v4-pro8/17 后 · 高峰0.3927
deepseek-v4-pro8/17 后 · 低谷0.154.513.5

单位:元/百万 tokens。8/17 前无峰谷区分,高峰价与低谷价相同。

模型自动同步

插件启动后及任何设置变更时,会自动从各 provider 命名空间收集模型 ID,把价格表中缺失的模型以兜底价补入。已配置定价的模型不会被覆盖,也不会删除任何模型。

开发

npm install     # 安装依赖
npm test        # 运行单元测试
npm run build   # 构建到 lib/

免责声明

费用为按 token 用量与单价估算,可能与 DeepSeek 官网实际扣费存在出入(未记录的请求、tokenizer 差异等)。

Comments

Loading…

From the same category

archify

by tt-a1i

Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.

Workflow & AutomationTools & CapabilitiesDevelopment & InfrastructureManifest valid

70.7k

3.5k/wk

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile agent add @tt-a1i/archify-dsh

DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.

Tools & CapabilitiesManifest valid

41.7k

236/wk

MIT

Aug 24, 2026

dsh plugin --profile web add dsh-plugin-reactive-resume

by Tencent

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Development & InfrastructureTools & CapabilitiesManifest valid

29.4k

838/wk

NOASSERTION

Go

Sep 24, 2026

dsh plugin --profile web add @wxg-prc-cpg/dsh-weknora

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

Tools & CapabilitiesManifest valid

28.7k

167/wk

MIT

TypeScript

Sep 24, 2026

dsh plugin --profile web add dsh-plugin-desktop

deepseek-harness-desktop is a interface plugin for DeepSeek Harness. See the repository documentation for its documented capabilities.

Tools & CapabilitiesUI & Experience

28.6k

MIT

Index only — not installable

by titanwings

Distilly — Distill how they think into reusable Skills for any Agent or Bot. Formerly Colleague Skill(原同事 Skill).

Tools & Capabilities

25k

MIT

TypeScript

Sep 22, 2026

Index only — not installable