dsh-session-cost: Understanding Session Costs in DSH

DSH Client Plugin: Displays the current session's estimated cost, itemized cost breakdown, cache hit rate, daily spending, account balance and balance changes, and OpenCode Go subscription quota in the status bar, with support for custom unit pricing and peak/off-peak rate conversion.

Read More
dsh-session-cost: See Exactly How Much This Session Cost, Right Beside the Chat

dsh-session-cost is a DeepSeek Harness client plugin that converts the usage of each model request within a session into RMB based on peak/off-peak pricing. It displays cumulative cost, a bucketed ledger, peak/off-peak ratio, and the current unit price table, pinned to the top-right corner of the conversation. Requires Harness 0.2.2+; no runtime dependencies. Supports installation via local directory, plugin_manager install_bundle, and Market source. Pricing is hardcoded in client.js. Only estimates events within the loaded window; does not account for statutory holidays.

Read More
dsh-session-cost: Display Inference Costs by Turn and Session in DSH

dsh-session-cost is a model inference cost-tracking plugin for DeepSeek Harness, maintained by LIAB-BB, that displays cumulative session and per-turn token costs in the web chat interface. The same usage is calculated in parallel against the DeepSeek official API (USD price capsule, CNY per-turn line for the China region) and OpenCode Go subscription quotas, supporting peak/off-peak blended pricing per request and expandable cost breakdowns. Installation requires DSH 0.2.2-rc.1 or later; add the plugin directory via Settings or run install_bundle. Price constants are located in client.js. Only DeepSeek Flash and Pro models are billed; sub-agents are tracked in separate accounts. Display is subject to limitations for statutory holidays and weekly quota wait states.

Read More
dsh-session-cost: Real-time DSH Session Cost Reading (CNY Estimate)

dsh-session-cost is a DSH client plugin maintained by current1990. It displays the cumulative token cost (CNY) for the current session and sub-agents below the composer. The cost is accumulated item by item from the assistant/message usage in session logs, pushed via the host's sessionCost projection, and supports peak-valley pricing based on ERAS effective dates. Only deepseek-official/deepseek-account is counted toward the amount. Compatible with DSH Desktop 0.2.x, it can be used by adding it via Settings → Plugins and refreshing the page. The displayed amount is an estimate rather than an official bill.

Read More
dsh-session-cost: Real-time View of Session Spending in DSH Desktop

dsh-session-cost is a DSH client plugin maintained by ytftu. It displays the total spend of the current session in the bottom bar of the input box and allows switching between credit metrics; it shows the per-turn cost next to each reply; and it shows peak/trough, balance, and today’s usage in the window’s top-right corner. Click to view a line chart of per-turn costs or the last seven days. Session costs are recomputed from session.v4.jsonl.zstd, while balance and today’s usage are sourced from the API or account sampling. To install, register the plugin in your ~/.dsh plugin directory’s profile and restart DSH. MIT licensed; requires Node ≥ 20.

Read More
dsh-session-cost: DeepSeek Harness Session Cost Monitoring

dsh-session-cost is a client plugin for DeepSeek Harness designed to address the lack of intuitive cost display in existing status bars. It adds a “cost pill” to the Session bottom status bar, showing real-time segmented costs based on model catalog pricing; clicking it reveals a detailed breakdown grouped by model and billing window. The plugin supports fetching pricing from the Harness model catalog or DeepSeek’s official routing, and allows manual overrides. Installation is simple, configuration requires manual input, and hot updates are supported.

Read More
dsh-session-cost: DeepSeek Harness Web Session Cost Plugin

dsh-session-cost is a plugin for the DeepSeek Harness web interface that monitors DeepSeek API call costs in real time. It activates only when the current session uses a DeepSeek model, shows the accumulated cost next to the input box, and displays a hover popup containing a detailed cost table, today's usage, and account balance. The plugin supports DeepSeek's official time-window-based dynamic pricing and has well-optimized performance. Installation requires running a command and configuring an API key; be mindful of package name casing. It is suitable for developers who need intuitive cost monitoring.

Read More
dsh-session-cost: Track Token Usage by Session and Display Costs in CNY

The DeepSeek Harness (DSH) plugin `dsh-session-cost` parses token data from session logs to provide developers with per-session usage and estimated CNY costs. It supports command-line queries (`/session-cost`), Agent tool calls, and sidebar display. Users need to override the price list in the configuration file to match actual settlement rates. During installation, pay attention to the pnpm build script authorization prompt. The plugin addresses a key cost-tracking need in agent development, with accurate data sources.

Read More
dsh-session-cost: Add balance and session cost readings to DSH Web GUI

ljcscp/dsh-session-cost is a DeepSeek Harness (DSH) Web GUI plugin (MIT, v0.1.0) that displays account balance and the current session's estimated cost directly below the session statistics row in the composer dock, eliminating the inconvenience of switching to the official billing page to check. The balance is obtained via the official `/user/balance` API endpoint, and API keys are retained only on the host side and are not sent to the browser. The cost is calculated based on token usage multiplied by official pricing, which is updated from the official source every 6 hours.

Read More
@kidli1412/dsh-session-cost: View session costs and balance in real-time on the DSH Web stats panel

# Introduction When running sessions with the DSH (DeepSeek Harness) Web client, the built-in statistics row below the input box only displays the number of turns, duration, and token count. It is only by checking the official platform that you know exactly how much this round cost; you won't usually keep an eye on your remaining balance, often only noticing when a request fails due to insufficient funds. `@kidli1412/dsh-session-cost` solves these two problems by incorporating the estimated token cost for the current session (priced in CNY per model entry) and the DeepSeek API balance into the built-in statistics row. Below is an introduction to its implementation, installation, and configuration. # What is it?

Read More
dsh-session-cost: Display current API costs in a DSH session

`dsh-session-cost` is a dedicated plugin designed specifically for DeepSeek Harness (DSH) to display model invocation costs in real-time, addressing the difficulty of verifying single-session costs when relying solely on billing records. The plugin displays session cumulative costs and per-turn costs in RMB without requiring API key configuration or setting modifications, taking effect immediately after installation and restart. Its core features include distinguishing between cache hits, misses, and output tokens, applying peak (2x) or off-peak pricing based on request time, and supporting the recalculation of historical session costs from full logs. The plugin includes up-to-date RMB pricing for DeepSeek-V4-Flash and Pro, ensuring data accuracy and preventing double billing. Users can conveniently install and uninstall the plugin via the `dsh` CLI or source code. It is suitable for use with DSH.

Read More
dsh-session-cost: Display Real-Time Session Cost Estimation at the Bottom of the DSH Web GUI

dsh-session-cost is a DSH plugin that displays real-time cost estimates for DeepSeek API usage in the current session via a bottom status bar in the Web GUI. Maintained by ChengChe106 and released under the MIT license, its core features include displaying four cost figures—cost, hits, misses, and output—by reading token usage data from DSH sessions and calculating according to the official billing methodology (cache writes are billed at the miss unit price). The plugin supports automatic peak/off-peak pricing starting from August 17, 2026, defaults to the deepseek-v4-flash model, and uses the "≈" symbol to indicate that amounts are estimates. Typography and color schemes follow official specifications to achieve theme adaptation. There are two installation methods: if dsh is globally installed, run `dsh plu

Read More