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.

Session Cost Cny — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-session-cost-cny

Session Cost Cny

DeepSeek Harness plugin: Displays the current session’s DeepSeek usage cost (CNY) in real time in the status bar below the input box. Click the amount to expand the input / cache / output cost breakdown. Pricing is sourced from the DeepSeek official website and calculated according to peak and off-p

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-cost-cny@0.1.1
READMECompatibilityVersions
截图

Description

DeepSeek Harness plugin: Displays the current session’s DeepSeek usage cost (CNY) in real time in the status bar below the input box. Click the amount to expand the input / cache / output cost breakdown. Pricing is sourced from the DeepSeek official website and calculated according to peak and off-peak rates for each call.

Compatibility and provenance

Session Cost Cny is published as dsh-session-cost-cny and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.1.1stable
9/18/2026
0.1.0stable
9/11/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
65.9 kB
Files
5
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
203
Security scan
✓ v0.1.1 scan passed
Last push
9/18/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

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a dedicated pet bubble for the current providerWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

dsh-session-cost-cny

DeepSeek Harness(DSH)插件:在会话输入框下方的状态条里, 实时显示当前会话的 DeepSeek 话费(人民币),点击金额在其正上方弹出按 输入 / 缓存 / 输出 分类的花费明细。

截图

安装

dsh plugin --profile web add dsh-session-cost-cny

配置

插件行位于本包的 cordis.patch.yml,装进 profile 后生效;所有键可选:

- insert:
    - id: session-cost-cny
      name: dsh-session-cost-cny
      config:
        usdCny: 6.71           # 官网英文页为美元价时的换算汇率
        refreshOnStart: false  # 默认 false:优先用本地缓存;true = 每次启动都强制重抓
        routeOverrides: []     # 按渠道覆盖单价(人民币/百万 tokens),优先级高于官网

routeOverrides 用来让某个第三方渠道走它自己的真实价格(优先级高于官网)。所有单价的单位都是 人民币元 / 百万 tokens,与官网中文页价目表同单位;计费公式是 该项花费 = tokens ÷ 1_000_000 × 该项单价, 逐条调用按它自己那一刻的峰谷取价:

字段单位含义
route—"provider/model",与用量所属路由精确匹配(忽略大小写与空白)
label—展示名,可选
miss元 / 百万 tokens未命中缓存的输入价(空闲时段;同时是 missPeak 的缺省值)
missPeak同上高峰时段的未命中输入价,可选;不写则与 miss 相同
hit同上缓存读取(命中缓存)的输入价(空闲时段;hitPeak 同理可选)
out同上输出价(空闲时段;outPeak 同理可选)
write同上缓存写入价,不分时段;该渠道不收这项就写 0
        routeOverrides:
          # opencode-go 的美元价 $0.15 / $0.003 / $0.60(每百万 tokens)× 7.1 换算:
          # 0.15×7.1=1.065、0.003×7.1=0.0213、0.60×7.1=4.26
          - route: opencode-go/deepseek-flash
            label: opencode-go
            miss: 1.065        # 元/百万 tokens:未命中缓存的输入
            hit: 0.0213        # 元/百万 tokens:缓存读取
            out: 4.26          # 元/百万 tokens:输出
            write: 0           # 元/百万 tokens:缓存写入(没有就写 0)
            # 想区分峰谷就再加 missPeak / hitPeak / outPeak;不写则两个时段同价

想在 profile 里覆盖而不改包内文件时,在 ${DSH_HOME}/profiles/<profile>/cordis.patch.yml 里用同一个 id: session-cost-cny 再插一行(它会整体替换该行的 config,需要把键写全)。

License

MIT