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-cost-track

Cost Track

Track token spend and enforce budgets for every model call your dsh agent makes.

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-cost-track@0.6.1
READMECompatibilityVersions

Compatibility and provenance

Cost Track is published as dsh-cost-track and currently resolves to version 0.6.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
10/27/2026

Versions

0.6.1stable
10/16/2026
0.6.0stable
10/16/2026
0.5.1stable
9/19/2026
Show 11 more versionsCollapse versions
0.5.0stable
9/19/2026
0.4.1stable
9/19/2026
0.4.0stable
9/19/2026
0.3.0stable
9/19/2026
0.2.1stable
9/18/2026
0.2.0stable
9/18/2026
0.1.4stable
9/18/2026
0.1.3stable
9/18/2026
0.1.2stable
9/18/2026
0.1.1stable
9/18/2026
0.1.0stable
9/18/2026

Related plugins

Loading related plugins…

Latest
0.6.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
188.2 kB
Files
35
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
164
Security scan
✓ v0.6.1 scan passed
Last push
10/28/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.

Experimental Cot Translation Bundle@deepseek-ai/dsh-experimental-cot-translation-bundleExperimental machine translation of expanded reasoningWhale 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 editinOur 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 acco

README

dsh-cost-track

Track token spend and enforce budgets for every model call your dsh agent makes.

Install

dsh plugin --profile web add dsh-cost-track

Or from source:

dsh plugin --profile web add github:hj01857655/dsh-cost-track

What it does

  • Records every model call. Prompt tokens, completion tokens, and the model id are priced and appended to .cost/ledger.jsonl (append-only).
  • Prices calls. A built-in table covers DeepSeek's models. Override with your own rates for custom models.
  • Budgets. Set a monthly spend limit. When cumulative spend crosses the threshold, the plugin warns. With enforce: true, subsequent model calls are blocked.
  • Time-range queries. Filter spending by today, this week, this month, or an arbitrary date range.
  • Per-session breakdown. See which conversation burned the most tokens.
  • Panel. A settings page shows today's spend, this month's spend, per-model breakdown, recent sessions, and the budget bar.

CLI

dsh-cost-track summary                          # show spend summary
dsh-cost-track budget --monthly 50 --enforce    # set $50/month budget with enforcement
dsh-cost-track record --model deepseek-chat --prompt-tokens 1000 --completion-tokens 500 --session s1

Pricing

Default rates (per million tokens, USD):

ModelPromptCompletion
deepseek-chat$0.14$0.28
deepseek-reasoner$0.55$2.19

Override by writing .cost/pricing.json:

{
  "my-model": { "promptPerMillion": 1.0, "completionPerMillion": 2.0 }
}

Panel

A Cost page inside Settings. The host registers GET /api/cost-track.panel and rebuilds the payload from the ledger on every request, so the panel always reflects what is on disk. A headless host has no web connection and simply skips the route.

The panel shows:

  • Today / this month spend with a progress bar against the budget
  • Per-model token and cost breakdown
  • Recent sessions ranked by cost
  • Budget status (OK / warning / exceeded) with the enforcement toggle

Layout

PathRole
src/index.tsHost half — apply(ctx), exposes the costTrack service
src/cost.tsCore cost tracker — record, query, aggregate
src/pricing.tsBuilt-in price table + custom pricing loader
src/budget.tsBudget checking and enforcement logic
src/store.tsAppend-only .cost/ledger.jsonl
src/cost-view.tsPayload → view model, shared by host route and browser half
src/cli.ts / src/bin.tsCommand-line entry, usable without dsh
src/routes.tsPanel route on the host's web connection
src/client/view.tsxBrowser half — pure rendering
src/client/index.tsxBrowser half — fetch and settings registration
src/client/locales.tszh / en dictionaries

Develop

npm ci
npm run typecheck
npm run build
npm test

License

MIT