DeepSeek Harness plugin

dsh-token-billing-jianzhex

Token billing badge plugin for DeepSeek Harness web UI

Jump to install

Source facts

Repository
jianzhexu/dsh-token-billing
Latest update
Aug 19, 2026
Category
UI Enhancements
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/jianzhexu/dsh-token-billing
Plugin: dsh-token-billing-jianzhex
Author: jianzhexu

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-token-billing

English | 中文

A token billing plugin for DeepSeek Harness: records every model call at DeepSeek's official pricing and shows a billing readout row in the ambient stats band under the Web UI input box.

Features

  • Session and owning-workspace cost totals: the row names the workspace inline and follows workspace switches; hover adds the all-sessions global totals
  • Separate peak / off-peak pricing (Beijing time 9:00-12:00 and 14:00-18:00 are peak; off-peak is half the peak price)
  • The ledger persists in the token_billing storage-domain domain and survives restarts
  • Hover the readout row for the full breakdown: session and global cost, token usage, per-model stats, workspace list, price table

Install

Requires a profile composing the web app (e.g. dsh --profile web; the plugin injects the webServer and storageDomain services and registers in the browser plugin table, all provided by the dsh-web-app bundle):

dsh plugin --profile <name> add github:jianzhexu/dsh-token-billing

Installing activates it: the plugin row mounts through the bundle's own patch layer — no manual config editing. The plugin is plain JavaScript with no build step, so git installs need no pnpm build authorization (allowBuilds).

Uninstall & override

dsh plugin --profile <name> remove dsh-token-billing

To override config or disable the row, target row id token-billing in your profile's own cordis.patch.yml.

Pricing source

<https://api-docs.deepseek.com/zh-cn/quick_start/pricing> (prices are built into the plugin and updated per release; models not listed on the pricing page are not billed)

License

MIT