DSH Plugin dsh-monitor: Monitor Daily Token Usage and Peak/Off-Peak Costs for DeepSeek Sessions

dsh-monitor is a native DSH plugin designed for real-time monitoring of DeepSeek session daily token consumption, peak/off-peak priced costs, and interaction status without requiring browser extensions. Its core features include real-time cumulative tracking of input, cache, and output tokens, calculating today's costs based on official pricing (half-price during off-peak hours), counting interaction frequency, average consumption, and quota progress, as well as providing a floating window displaying peak/off-peak status, Beijing time, and one-click report copying. Data is polled every 2 seconds by default, persistently stored in a local JSON file, with historical data retained for 90 days, and data access is provided via the GET /api/dsh-monitor endpoint. Installation requires placing the source code in the profile directory and configuring references and loading items in package.json and cordis.patch.yml.

Read More