DSH Cost Meter: Round-based Cost Tracking for the DSH Web GUI

DSH Cost Meter is a cost tracking plugin for the DeepSeek Harness Web GUI, designed to address the issue of historical session cost recalculation caused by price adjustments. Its core mechanism employs price snapshot anchoring to ensure that the cost of each completed response round is fixed at the price applicable at the time of usage, unaffected by subsequent changes. Key features include snapshot-based cost display per round and per message, real-time account balance retrieval and caching, real-time cost estimation during streaming (replaced with precise values upon settlement), peak-valley pricing support, sub-agent cost aggregation, and a bilingual interface. The plugin offers interface components such as Composer dock readings, a cost view tab, and real-time estimation in the header, and supports manual refresh interfaces, but access is restricted to local or trusted hosts only. Users can quickly install it to the Web profile via the DSH CLI, and it is compatible with DSH.

Read More