DSH Cost Meter: Snapshot-Anchored Conversation Costs, Balance, and Real-Time Estimation
DSH Cost Meter is a DSH Web client plugin maintained by GameGeek-Saikel that anchors per-turn costs using append-only price snapshots, preventing historical billing drift after official rate changes. The plugin integrates account balance, a Cost view, cost capsules beside replies, and streaming estimation pills, while aggregating spend across the main session and all sub-agent layers. It supports edge-case pricing for peak/off-peak tiers, cache buckets, and web_search. After installing the npm package @gamegeek-saikel/dsh-cost-meter into the web profile via the official CLI, simply launch `dsh web` to get started.
Read Moredsh-cost-meter: DSH Session Cost Panel with Step-Based Peak/Off-Peak Pricing
dsh-cost-meter is a DSH client plugin maintained by BeckChiang. Docked beneath the composer input, it traces the session event stream step by step, recording usage, request start time, and the model in effect at each turn. Billing follows DeepSeek's official peak/off-peak pricing, so historical charges remain anchored regardless of time-of-day shifts or model changes. The panel displays cumulative and per-turn costs, a three-color cost breakdown, and a peak/off-peak countdown. It also evaluates a hand-off (switch to a lower-cost model) using dual criteria—per-step context size and session-cumulative cost in CNY—augmented by trend extrapolation. Install it via `plugin_manager install_bundle` pointing to a local directory or the `@beckchiang/dsh-cost-meter` package, and run a self-check with `test/smoke.mjs`.
Read Moredsh-sidebar-footer-fold: Sidebar Fee Collapse, Panel Editing, and Archive Session Cleanup
dsh-sidebar-footer-fold is a DSH client plugin maintained by eittyneo, depending on dsh-cost-meter. It provides a "Cost Panel" toggle at the bottom of the sidebar (state saved in localStorage), adds an "Edit Sidebar..." option in the "More" menu to control visibility, and provides "Archive Session Cleanup" in the settings to move specific archive directories to the Windows Recycle Bin. Compatible with DSH versions 0.2.1-rc.2 to 0.3.0, the recommended installation command is `dsh plugin --profile desktop add github:eittyneo/dsh-sidebar-footer-fold`. Restart DSH after installation. Licensed under the MIT License, version 0.3.4.
Read Moredsh-cost-meter: Convert DSH session token usage to RMB to estimate costs.
dsh-cost-meter is a display-only DSH plugin maintained by xiaobaijunya. It converts token buckets recorded by harness into estimated RMB costs based on DeepSeek's official pricing and peak/valley hours. It covers the usage pill in the bottom bar, per-round cost and usage popups, and lists Agent Team sub-agent costs separately, providing a total for the main conversation and sub-agents. The plugin includes built-in Flash/Pro pricing and Beijing Time peak/valley determination (peak hours are 9:00–12:00 and 14:00–18:00 on weekdays; the rest are valley hours). It does not initiate model requests, does not write session data, and only writes a status file while registering two localhost routes. It supports three installation methods: market installation, dsh web CLI, and release tarball. It provides estimates only and does not reflect discounts or rounding.
Read Moredsh-spend-guard: Adding rolling window spend circuit breaking for DeepSeek Harness
dsh-spend-guard is a DeepSeek Harness host plugin (admin-security, v0.1.1) maintained by summmmerz. It polls the dsh-cost-meter ledger (ledger.json) to calculate the RMB spend within a rolling window (default 10 minutes) using the daily aggregate cost differential. It triggers a Windows notification upon reaching ¥1 and terminates the current turn via agent.cancel (equivalent to a GUI stop) upon reaching ¥2. Configuration is overridden via cordis.patch.yml. It relies on cost-meter for disk persistence and does not perform circuit breaking if the ledger is unreadable. The article explains the differences regarding budget display between cost-meter and other budget plugins, as well as the rationale for continuing to use aggregate counts when sessions are truncated, along with known limitations.
Read Moredsh-cost-meter: View Session Token and RMB Costs in the DSH Interface
dsh-cost-meter (@max/dsh-cost-meter) is a DSH client plugin maintained by PennChong95. It displays the current session's token breakdown and the equivalent cost in RMB, converted based on DeepSeek's official pricing, below the dialog box and to the right of the context usage indicator. It supports peak/idle pricing periods and a ledger mode. This article covers its positioning, installation commands, configuration options, and known limitations, enabling session-level cost awareness on both Web and Desktop clients.
Read Moredsh-cost-meter: Display session cost of official channel in the DSH bottom readout line
The DSH interface displays token usage at the bottom but does not directly show the RMB cost. DeepSeek's official pricing differentiates between peak/off-peak rates and categorizes tokens into cache hits, cache misses, and output. dsh-cost-meter (repository: dsh-cost-manager) appends "已用人民币 X" (RMB X used) to the end of the native reading line. It tracks costs only for traffic routed through the official provider, applies incremental accounting based on Beijing-time peak/off-peak pricing tiers, and supports session retrospective analysis and per-pricing-version segmentation. Third-party relay traffic is not displayed. This article, based on the README, covers installation commands, the typical interface, configuration options, and usage considerations. Requires DSH ≥ 0.2.0-rc.2. MIT licensed.
Read Moredsh-cost-meter: Real-time Local DeepSeek API Cost Monitoring in DSH
dsh-cost-meter is a community plugin for DeepSeek Harness that captures model completion events within your local DSH installation and calculates pricing per event based on DeepSeek's official rates and Beijing-time peak/off-peak rules (half-price during off-peak hours), displaying session, daily, and cumulative costs in RMB. It supports historical backfill, sub-agents, and networked calls, with the status bar updating every ~3 seconds. Install via `dsh plugin --profile desktop add github:maxwell234smith/dsh-cost-meter#v0.1.0`; the ledger is stored at `$DSH_HOME/storages/cost-meter/`.
Read Moredsh-cost-meter: Persistently displays the cost of the current response and session below the Composer
dsh-cost-meter is a DeepSeek Harness plugin maintained by Lopncod. It displays estimated RMB costs for the "current response" and "total session consumption" below the input box, billed according to official peak and off-peak pricing and the actual "usage" from the assistant/message four-bucket billing mechanism. It supports installation via Plugin Manager, optional custom rates via .dsh-cost.json, a local ledger, and a read-only HTTP status interface. DSH must be restarted after installation. Only conversations initiated after activation are logged. Licensed under MIT.
Read Moredsh-cost-meter: DSH Session and Turn Cost Estimation Plugin
`dsh-cost-meter` is a DeepSeek Harness plugin for monitoring API costs at the session and turn level. It supports price synchronization with models.dev, OpenRouter, and DeepInfra, and provides dual-currency display in USD/CNY along with detailed cost breakdown statistics. It also supports advanced rules such as custom model unit prices, price-sync caching, and holiday calendars, helping developers manage development costs with greater precision. To install it, run `dsh plugin --profile web add -w @guojinpeng/dsh-cost-meter`. Ensure your DSH version is 0.2.0-rc.2 or higher.
Read MoreDeepSeek Harness Plugin: dsh-cost-meter
`dsh-cost-meter` is a DeepSeek Harness plugin designed to address the lack of cost visibility in AI development. It calculates token consumption in real time through incremental streaming telemetry, supports a two-tier pricing engine to access official discounts, and features historical spend anchoring, budget alerts, and cached-savings calculation. The plugin supports both GUI and YAML configurations, covering exchange rates, model routing, and time-zone settings, helping developers optimize strategies based on real-time data to reduce costs.
Read More@steven-wu/dsh-cost-meter: Display real-time dollar cost badges in the DSH Web UI
`@steven-wu/dsh-cost-meter` is a DSH plugin designed to address the lack of real-time cost display in the Web UI. It reads token usage reported by the Provider, combines it with a configurable price table, maps the data to USD costs, and displays them in real-time within the session interface. Core features include cost accumulation based on `session-projection`, distinguishing between uncached input, output, and cache read/write usage to avoid double counting; it displays per-turn costs at the end of assistant messages via a Badge, with a hover revealing detailed usage breakdowns and the session total. Price configuration supports USD per million tokens (USD/1M tokens) and can be specified via local files, environment variables, or inline configuration, including support for default price fallback. Users need to...
Read MoreAdd Session Cost Ledger to DeepSeek Harness Web Interface with dsh-cost-meter
`dsh-cost-meter` is a DeepSeek Harness community plugin maintained by Han-1413141. It counts the session cost, daily total, budget progress and official balance in the Web UI, and synchronizes prices with the official pricing page based on peak-valley pricing. This article verifies the installation command, ledger caliber and permission boundary according to the plugin directory page, GitHub README and `package.json` 1.3.1: the badges are estimates, the exact amount shall prevail based on the local ledger, and the budget only serves as a reminder without blocking.
Read More