DSH Marketplace

dsh-cost-meter

Han-1413141/dsh-cost-meter

Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.

705JavaScriptMITSource

Install

Add dsh-cost-meter to DeepSeek Harness

via GitHub · GitHub source

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

What happened when we ran it

Installed cleanly when we ran it

Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run yesterday.

Due diligence

Before you install dsh-cost-meter

  • Source of record: Han-1413141/dsh-cost-meter — present in the community registry that DSH's own plugin market installs from.
  • Licensed under MIT.
  • A listing here is not a security review. Plugins run with your agent's permissions.

The AI take

What it is — The dsh-cost-meter plugin integrates session cost tracking, budget monitoring, official balance display, and history dashboard into DeepSeek Harness.

Who it is for — When building multi-turn dialogue agents using DeepSeek models in DeepSeek Harness and needing to track token usage and budgets, this plugin fits. If working with other AI platforms without DeepSeek Harness integration, this plugin provides no relevant statistics.

Watch out — Sandbox testing passed: successfully installed in a new profile and registered with DSH. No obvious issues found.

The verdict — I would not install it because it only tracks API costs without affecting model behavior or outputs.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

What dsh-cost-meter does

Token streams pass through pricing channels into layered cost ledgers, balance rings and a calendar grid.

dsh-cost-meter is a DeepSeek Harness plugin that records API usage and turns it into per-session, daily and historical cost views. It shows input, cached and output token counts, calculates charges by provider and model, and can display budgets, usage percentages, official account balance, OpenCode Go allowance and supported coding-plan quotas.

The plugin reads session usage and model/provider information from the harness, then applies its configurable price table. Prices can have separate peak and off-peak rates; the documented UTC peak windows are 01:00–04:00 and 06:00–10:00. It keeps daily and session history, saves configuration automatically, and exposes controls in the DSH settings page. Official balance, plan quotas and price synchronisation use the relevant official endpoints. OpenCode Go credentials can come from the DSH credential store key OPENCODE_GO_API_KEY, the environment variable of the same name, an opencode login state, or manual entry. The settings also expose the gates peakNotice, peakEnabled, peakEffectiveAt and peakWindows.

This is for developers who need cost attribution, budget warnings or usage history inside the DSH web interface. It is not a useful addition when only raw token counts are required, or when the DSH web profile and its supported provider credentials are unavailable. It also depends on Node.js 20 or newer and a DSH version with dsh plugin support. The plugin has no detected risk flags, but balance, quota and price features send credentials or requests to official provider endpoints.

dsh-cost-meter documentation

How it behaves

dsh-cost-meter presents cost information in the session view, sidebar and settings page. A session badge can appear below the input area or in the session title bar. The sidebar can show today’s cost, official balance and a budget card. The settings page includes today, monthly and cumulative totals, per-session details, daily history, a 26-week token heatmap and a configurable history-retention period. The documented default is 180 days.

Billing is separated by provider and model and can include input, output, cached and reasoning tokens. Unknown model IDs can be normalised and matched against the price table; this matching can be disabled in favour of exact matching. Prices are expressed in USD per 1M tokens, with input/output shorthand supported.

Configuration

Settings are edited in the DSH interface and are saved automatically. Documented controls include:

  • budget amount and period: today, month, cumulative, or a custom date range;
  • peak/off-peak prices and the UTC peak windows 01:00–04:00 and 06:00–10:00;
  • the display gates peakNotice, peakEnabled, peakEffectiveAt and peakWindows;
  • OpenCode Go display period, independently switchable 5-hour, weekly and monthly views;
  • interface language: Simplified Chinese, English or browser-following mode.

The default OpenCode Go primary view is the rolling 5-hour allowance. The built-in reference catalogue can be mounted into billing, then edited.

Credentials and synchronisation

OpenCode Go can discover OPENCODE_GO_API_KEY from the DSH credential store, the environment, or an opencode login state. A key may also be entered manually. Coding-plan integrations have separate switches and keys; the README states that credentials are sent only to official endpoints. Official price synchronisation fetches and parses the provider’s pricing page before applying the result.

Requirements

The README requires Node.js ≥ 20 and DeepSeek Harness with the dsh plugin command. After installation or an update, restart the web interface with dsh web so the plugin and client bundle are rescanned.

Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub

Same category

Alternatives to dsh-cost-meter

dsh-usage-stats

Ychris12138

63

Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.

Installed cleanly when we ran it

GitHub sourceJavaScriptyesterday

AI review

dsh-usage-stats

What it is — dsh-usage-stats provides multi-provider account monitoring panel for DeepSeek Harness web GUI.

Who it is for — When you need to monitor token consumption and balances across multiple providers in DeepSeek Harness web, this plugin applies. If you do not wish to provide API key or token, this plugin is not suitable.

Watch out — Sandbox test passed with successful registration in a new profile. Requires providing API key or token. The plugin will execute shell commands.

The verdict — I would install it because it aggregates token usage analysis across multiple providers, but only if I have the corresponding API keys configured.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
2Source
35

DeepSeek Harness token balance monitor with game-style damage pulse animations

Installed cleanly when we ran it

GitHub sourceTypeScripttoday

AI review

dsh-damage-pulse

What it is — DeepSeek Harness token balance monitor plugin with damage pulse animations on token consumption.

Who it is for — Users conducting token-intensive tasks with DeepSeek models are suitable to install this plugin. Those who only wish to check balance without needing damage pulse animations may use other tools.

Watch out — Sandbox testing passed; successfully registered in a fresh profile with normal operation. Static scan indicates the plugin will execute shell commands, but no runtime issues were found. No obvious installation or running pitfalls discovered.

The verdict — I would install it because sandbox testing passed and it provides precise token billing with cache-aware animations, but only if using the DeepSeek API and requiring real-time balance monitoring.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.

Installed cleanly when we ran it

npm packageJavaScriptyesterday

AI review

TokenLedger

What it is — TokenLedger plugin provides a sidebar usage panel for DeepSeek Harness Web GUI, attributing tokens to the relay site that served each request.

Who it is for — When you use multiple provider routes in DeepSeek Harness web profile, you need to know which relay site served each token request. If you only need to view token balance data for a single provider without usage analysis, then the plugin's statistical features are not applicable to you.

Watch out — Sandbox testing passed: installed in a new profile and registered into the profile by harness. No obvious pits found.

The verdict — If I were you, I would install it because it automatically discovers the relay site and supports balance queries for multiple providers.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

Multi-provider wallet chip: official DeepSeek balance, per-session cost & tokens, third-party token totals, recharge shortcut, low-balance alerts.

Installed cleanly when we ran it

npm packageJavaScript2d ago

AI review

deepseek-harness-wallet

What it is — A DeepSeek Harness plugin displaying official DeepSeek balance, per-session cost and token totals, with recharge shortcut and low-balance alerts.

Who it is for — When you use the DeepSeek model in DeepSeek Harness for multi-turn conversations and need to track session costs, this plugin is suitable to install. If you mainly manage third-party token totals and are not concerned with official balance, the plugin's focus does not match your needs.

Watch out — Sandbox test passed. It was installed in a new profile and registered into the profile. No obvious issues found.

The verdict — I would install it because it buckets official DeepSeek costs per provider and per session without mixing with other providers.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
Source

dsh-usage-plugin

feiyang-dev

23

DeepSeek Harness 用量与消耗插件(dsh-usage-plugin)—— 每次调用的 token 用量/缓存命中统计、峰谷计费、余额查询、CSV/JSON/PNG 导出,可经桌面端一键安装或命令行 dsh plugin add 安装。

Installed cleanly when we ran it

npm packageJavaScript2d ago

AI review

dsh-usage-plugin

What it is — dsh-usage-plugin is a DeepSeek Harness plugin that records token usage, cache hits, and costs for model calls and supports exports.

Who it is for — Users conducting multi-turn model conversations in the DeepSeek Harness web interface should install this plugin to track token usage. Users running in headless profiles do not need this plugin because headless mode does not require web UI tracking panels.

Watch out — Sandbox test passed: works normally in a new profile and is registered by harness. Supports cross-platform file path handling. No obvious issues found.

The verdict — If you need to analyze token consumption in DeepSeek Harness web interface, I would install it because it records detailed usage and exports.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source

dsh-usage

Aisland-SJL

20

🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-channel comparison, local-only & privacy-first

Installed cleanly when we ran it

GitHub sourceJavaScriptyesterday

AI review

dsh-usage

What it is — dsh-usage provides persistent dock and fully customizable balance/usage panel for DeepSeek Harness including activity heatmap and dual-channel comparison.

Who it is for — If sidebar collapses and you need ongoing token balance monitoring in DeepSeek Harness, this plugin is suitable as it maintains a persistent dock. Users who do not use multiple channels or require dual-channel comparison can skip it.

Watch out — Requires manually approving the build script when installing from source. Successfully tested in a new profile where it registers into the profile. No obvious issues found.

The verdict — I would not install it because the static check shows it executes shell commands and credential setup for multiple providers is needed to get full value.

Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.Read the source
1Source