dsh-spend: DSH Token Usage and Cost Monitoring Plugin

dsh-spend is a web plugin for DeepSeek Harness (DSH), maintained by nonewind under the MIT license. It is designed to address the fragmented monitoring of Token usage, latency, costs, and quotas across multiple providers and models. By replaying session logs from `$DSH_HOME/sessions`, it provides a floating window and detailed panel in the Web UI. Core features include: multi-dimensional statistics by provider, model, time, and session; time-series charts for today, 24 hours, 7 days, and a 52-week activity heatmap; a built-in price database covering 17 providers and 131 models with automatic recognition of Code or Token billing plans, and support for DeepSeek's peak-valley pricing. It also reads real-time data from DeepSeek, M...

Read More