Introduction

The web interface (dsh web) for DeepSeek Harness is primarily used for model interaction, but it often lacks an intuitive local view for usage statistics, multi-provider balance queries, and cost control. The dsh-usage-stats plugin is designed to solve this problem. It is a local plugin that provides official balances, token usage, contribution heatmaps, and hourly billing statistics for DeepSeek Harness Web. The plugin is maintained by wannanbigpig.

Core Capabilities

The plugin provides the following core features:

  1. Usage Query Center: Centrally displays token usage and cost information.
  2. Multi-Provider Accounts: Supports displaying balances and package quotas for multiple providers.
  3. Time and Model Analysis: Provides analysis across time and model dimensions.
  4. Costs and Limits: Supports cost estimation and limit configuration.
  5. Local Data Boundary: All statistics ledgers, settings, and alerts are stored locally.

Data and Privacy Notes

When using this plugin, note the following data and privacy characteristics:

  • Query Panel: The query panel remains read-only and does not modify host settings.
  • Settings Location: All settings are located in “Settings → Usage and Billing.”
  • API Key Handling: API keys are parsed only in the server-side credential service; the plugin does not use a local tokenizer to estimate token counts.
  • Statistical Logic: Request counts are tracked as independent samples and do not double-count streaming intermediate samples; statistics ledgers, settings, and alerts are stored locally.

Installation and Activation

Run the following command in the command line to install the plugin:

dsh plugin --profile web add github:wannanbigpig/dsh-usage-stats

After installation, you can find the usage query entry in the sidebar or main panel of DeepSeek Harness Web.

Applicable Scenarios

This plugin is suitable for developers who need fine-grained cost management for DeepSeek Harness Web usage, especially users who need to view multiple provider quotas or track long-term token consumption.


Project address: GitHub | Community directory

Note: The DeepSeek Harness Community directory has no official affiliation with DeepSeek / High-Flyer.