Sev7een/ds-api-usage: Checking API Balance and Usage in the DeepSeek Harness Settings Page
Sev7een/ds-api-usage is a community plugin for DeepSeek Harness (DSH), designed to allow users to monitor their DeepSeek API balance and usage directly within the DSH settings page. It eliminates the need for additional key configuration by reusing the existing `DEEPSEEK_API_KEY`. The plugin's core functionality includes displaying the total balance, a breakdown of gifted versus topped-up amounts, estimated consumption over the past 24 hours (in CNY), input/output token counts, and API request numbers. It also provides timeline charts with hourly and daily granularity, enabling users to switch between views for cost, token usage, and request counts. The plugin supports real-time refresh, automatically updating every 60 seconds on the host and every 30 seconds on the page, along with manual refresh capability. Data is stored locally in `$DSH_HOME/storage`.
Read More