← Back to list

dsh-token-cost

DeepSeek Harness Other Low risk

Per-project LLM token usage and RMB cost in the DSH Web sidebar, split by input (cache miss), cache hit, and output with model price auto-pricing.

在 DSH Web 侧边栏按项目展示 LLM Token 用量与人民币花费,分别统计输入(未命中)、命中与输出,并按模型标准价格自动计价。

How to install

DeepSeek Harness dsh plugin add dsh-token-cost

About

dsh-token-cost A DSH plugin that shows per-project LLM token usage and converts tokens to **RMB cost**, split into: **输入(未命中)** — uncached input tokens **命中** — cache-hit input tokens (cacheReadTokens) **输出** — output tokens Costs are calculated from the model's standard price table (CNY per 1M tokens). Unknown models are listed with their token counts but no cost, so you can add/override prices without touching code. Features Reads local DSH session logs (~/.dsh/sessions or $DSH_HOME/sessions). Aggregates by **project** (the session cwd) and by **model**. Adds a 💰 button to the DSH web sideb…

Recommendation signals

59 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
59 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
0
mo. downloads
736
Last push
2026-08-19
Created
2026-08-17

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
billing, cny, cost, deepseek-harness, dsh, dsh-plugin, token-usage

Related plugins

DeepSeek Harness New
Score68

dsh-context

bowenliang123/dsh-context

DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.

☆ 603 ↓ 1.0K Other
DeepSeek Harness New
Score67

dsh-token-usage

LeemanCheung/dsh-token-usage

Local-first four-bucket Token observability: persistent session/provider/model/day dashboards, trends, budget and anomaly signals, public-rate estimates, safe aggregate exports, and explicit opt-in usage or session-trajectory analysis.

☆ 12 ↓ 660 Other
DeepSeek Harness New
Score66

dsh-usage-chart

Max-Samson/dsh-usage-chart

Token, cost, and balance dashboard under the composer: live indicator plus zero-dependency SVG charts for per-turn usage, estimated cost, and DeepSeek account balance.

☆ 8 ↓ 953 Other
DeepSeek Harness New
Score64

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.

☆ 133 ↓ – Other