DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-ui-cost

u

dsh-ui-cost

Discovered

DeepSeek Harness Web UI plugin for live token usage and estimated cost

dsh-ui-cost

English | 中文

Self-contained stats strip with an estimated cost, contributed as a pure DSH browser plugin — no modification to the ui-conversation core, so a DSH/DSH Desktop upgrade that restores the stock core cannot break it.

This is a community plugin and is not affiliated with DeepSeek AI.

The plugin registers on the same conversation.composer.dock cell as the core stats entry (id: 'stats') with a lower shadowing priority, taking over the whole line: turn/step counts, LLM and tool wall times, TTFT/decode throughput, cache-hit share, billed tokens, and the cost. If the plugin ever crashes, the cell's shadowing retires it and the stock core strip renders instead. Composing this plugin out of cordis.yml removes the whole replacement and the stock strip returns.

The cost prices the durable tokenUsage projection (uncached input + cache writes at the cache-miss input rate, cache reads at the hit rate, output at the output rate) at the session's CURRENT model selection, read live from the ui-model-selection model directory — so a model switch re-prices immediately. Rates come from the official Models & Pricing page (CNY per 1M tokens, deepseek-v4-flash / deepseek-v4-pro) and follow its announced peak/off-peak schedule automatically — peak is 09:00–12:00 and 14:00–18:00 Beijing time, off-peak is half (effective 2026-08-17 00:00 Beijing; the flat table is billed before that).

Preview

dsh-ui-cost preview

Install

The package declares dsh.bundle (its cordis.patch.yml inserts the ui-cost row) and dsh.client (the browser bundle). The repository includes the built lib/ artifacts, so a GitHub install does not need to run an install-time build script:

dsh plugin --profile web add github:uaapple/dsh-ui-cost

For a reproducible install, pin the command to a full commit SHA. If the package is later published to npm, the equivalent command is dsh plugin --profile web add dsh-ui-cost.

To mount the row manually instead of using the bundle manifest:

- insert:
    - id: ui-cost
      name: dsh-ui-cost

The GitHub repository should carry the dsh-plugin topic so it appears in DSH community indexes and search pages.

Development

npm install
npm run check
npm test

The supported runtime is Node.js 22 or newer. DSH itself is still in developer preview, so compatibility follows the DSH client package versions declared in package.json.

Comments

Loading…

Similar plugins

dsh-show-me-how-much

by kam74515-boop

DeepSeek Harness token usage and estimated cost dashboard

Manifest valid

★ 0

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add dsh-show-me-how-much

by noone89A

为 DeepSeek Harness Web UI 提供精确缓存命中率、token 用量与费用估算

UI & ExperienceManifest valid

★ 4

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add dsh-gauge

by Saikel-Orado-Liu

Cost tracking plugin for the DeepSeek Harness Web GUI — snapshot-anchored per-turn pricing, account balance, and live cost estimates.

Manifest valid

★ 3

↓ 102/wk

MIT

TypeScript

Sep 10, 2026

dsh plugin --profile web add @gamegeek-saikel/dsh-cost-meter

by Max-Samson

A DeepSeek Harness Web plugin for real-time Token usage, cost estimates, per-round charts, and DeepSeek API balance.

UI & ExperienceManifest valid

★ 9

↓ 487/wk

MIT

TypeScript

Oct 22, 2026

dsh plugin --profile web add dsh-usage-chart

by vitkuz573

DSH plugin: peak-hour billing guard for DeepSeek Harness, plus token-saving settings UI and a live session cost strip

Manifest valid

★ 0

JavaScript

Oct 10, 2026

dsh plugin --profile web add @local/dsh-token-saver

by HenryHwong

Billing widget plugin for the DeepSeek Harness Web GUI: current-session cost and API balance at the sidebar foot (dsh-plugin)

UI & ExperienceModels & ProvidersManifest valid

★ 0

MIT

TypeScript

Oct 8, 2026

dsh plugin --profile web add @huanghanheng/dsh-ui-billing