kll-92/dsh-usage-cost: See Exactly How Much Each Conversation Turn Costs in DSH

dsh-usage-cost is a client plugin for DeepSeek Harness that displays estimated cost and token counts on each response action row. The left sidebar provides daily, monthly, and yearly summaries, a pricing table, monthly budget tracking, account balance, and CSV export. Billing is calculated based on official unit prices and tokens reported by the service provider, without sending additional requests to the model. To install, simply paste `github:kll-92/dsh-usage-cost` on the plugin page. Verified on the macOS desktop build 0.2.2-rc.5; the ledger is stored locally in localStorage and sessions are read-only. Ideal for developers who need local usage visualization. Note that estimated figures are for reference only—always refer to official billing for accurate charges.

Read More
DSH Usage Cost: Display Token-to-Cost Conversion in the DSH Usage Dialog

dsh-usage-cost is a DSH client plugin maintained by O789Real. It displays CNY amounts to the right of each token line and appends a total in the built-in "Current Round Usage" and session-level "Token Usage" popups. Pricing follows DeepSeek's official CNY rate card and peak/off-peak schedules; the current round popup determines pricing based on the timestamp of the occurrence, sharing the same logic as dsh-whale-widget. The installation command is `dsh plugin --profile desktop add dsh-usage-cost`. It supports runtime price adjustments via `usage-cost-pricing.json` and self-diagnostics via `health/report`.

Read More
dsh-usage-cost: Real-Time Monitoring Plugin for DeepSeek Session Usage and Costs

`dsh-usage-cost` is a local usage-monitoring plugin for DeepSeek Harness that addresses the tedium of manual accounting. It does not upload data; all calculations are performed locally. The plugin provides a persistent status-bar capsule and a detail panel that display the model name, token count, and current/cumulative cost in real time. It combines streaming estimation with authoritative calibration after each request completes, and supports custom price lists. Current session data is persisted in projection mode, while today’s/this month’s and per-model cumulative data are written to JSON files, so they are retained after restarts. After installation, restart DSH to use it.

Read More
dsh-usage-cost: Lightweight API Cost Statistics Plugin for DeepSeek Harness

`dsh-usage-cost` is a lightweight plugin for DeepSeek Harness developed by fflow2023, used to calculate API costs. It follows the "everything is a plugin" philosophy, providing read-only cost estimates by replaying persistent session logs. It does not inject any content into the model, ensuring zero impact on token consumption and KV Cache. The plugin supports displaying the current session cost at the bottom of the session and shows a statistics list of global cumulative totals, peak/off-peak splits, and breakdowns by model (V4 Pro/Flash) and session in the settings page. Billing is based on peak/off-peak prices effective on 2026-08-17, with unpriced models counted in `unpricedTokens`. Its implementation is pure JavaScript with zero build steps and zero runtime dependencies, and the Host side event handling complexity is O(1). Users can access it via GitHu...

Read More
dsh-usage-cost: Calculate DeepSeek API cost per session per round

`dsh-usage-cost` is a DeepSeek Harness plugin designed to calculate API costs in real-time on the Web, round by round, per session. By projecting `usageTimeline` on the server side, the plugin records the token usage (including misses, outputs, and cache read/writes) and timestamps for each assistant turn. It provides cost readings across four dimensions in the chat interface: Conversation, Workspace, Today, and Last 5 Hours. Its core advantage is the automatic adaptation to the peak and valley pricing logic implemented since August 17th, which switches rates based on timestamps; if historical sessions lack timeline data, it falls back to flat-rate calculation. The plugin is distributed as an official bundle, requiring no additional building when installed from the Git repository—users simply need to execute the install command, restart the Web app, and refresh the page. Users can customize settings by editing `lib/client.js`.

Read More