@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 Moredsh-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