dsh-cost:在 DSH Web 界面查看账户余额与会话费用

dsh-cost(dsh-cost-pill)是 DeepSeek Harness 社区客户端插件,在会话 composer 下方统计行最右侧展示峰谷时段、账户余额(需 API key)与会话费用;点击可查看 cache 分桶与按模型明细。内置官方峰谷与 2026 调价、pro→flash 路由规则,key 经 dsh credentials 使用且不落盘。要求 dsh >= 0.2.1-rc.2;安装命令为 dsh plugin add dsh-cost-pill 或 github:Arun1016/dsh-cost。

Read More
dsh-cost:DeepSeek Harness 费用估算插件

`dsh-cost` 是一款 DeepSeek Harness 插件,旨在提供可视化的费用估算。它读取 Token 投影数据,显示本轮及 Session 累计费用、缓存命中率,并支持 DeepSeek 分时段计价。插件仅读取数据,不发送请求,并提供详细的计价明细面板。安装后需重启 Web 进程,重启后即可在对话下方查看费用胶囊及详情。需注意其显示为估算值,以官方账单为准。

Read More
dsh-cost: Cost Display Plugin at the Bottom of DSH Chat

The DSH plugin `dsh-cost` provides fine-grained billing capabilities by calculating “occurrence time × unit price at that time” to achieve precise per-transaction statistics, and supports separate accounting for peak periods, idle periods, and visual inputs. The plugin displays balance and cost details using a pill component and is compatible with specific DSH versions. It is easy to install and supports hot-reloading during development. Note that its precise routing mechanism may allow other processes on the same machine to read balance and cost without credentials under certain configurations.

Read More
dsh-cost: A DeepSeek Harness Plugin for Real-Time Token Usage Statistics and Cost Estimation

The `dsh-cost` plugin is maintained by zydg and is designed to provide precise cost-control capabilities for DeepSeek Harness. By subscribing to the session event stream, it automatically appends a statistics line after each conversation turn, including token consumption, cache hit rate, and cost estimates, while also supporting balance queries. It supports peak/off-peak pricing by automatically identifying time-based billing periods based on the official price list, and it also allows manual adjustment of models and prices. All records are stored locally and support export. Developers need to configure an API key to enable balance queries and should pay attention to routing conflict handling. The project is open source and suitable for fine-grained monitoring of API costs.

Read More
dsh-cost: Real-time calculation of DeepSeek conversation costs next to the DSH input box

`dsh-cost` is a native plugin for the DSH Web platform that calculates and displays DeepSeek conversation costs in real-time. Based on DeepSeek's official pricing schedule and token usage for the `deepseek-v4-flash` and `deepseek-v4-pro` models, it automatically converts costs to CNY or USD and displays a monetary badge next to the input box. The plugin supports hovering to view input/output tokens and detailed costs for flash/pro, with currency selection and language following system settings. Amounts are kept to two decimal places (displayed as `<0.01` if less than 0.01). Its core features include: pricing only for official built-in providers without estimating third-party model prices; and separating the calculation of cache hits, misses, and writes.

Read More
dsh-cost: Evidence-First Token Cost Ledger for DeepSeek Harness

dsh-cost is a plugin for DeepSeek Harness (DSH), designed to address the ambiguity of cost accounting caused by the mixing of information from different sources, by establishing an evidence-first token cost ledger based on persisted `assistant/message.usage` events. This plugin separates routing splits, evidence completeness, budget status, and current context pressure snapshots for clear presentation, and provides explicit fail-open/fail-closed budget checking mechanisms. Its core features include offline CLI cost calculation, a built-in stdio MCP server (exposing `cost_report` and `cost_check` interfaces), and a user-maintained price book support, with prices calculated per million tokens and differentiated between input and output.

Read More