Preface

The DSH plugin ecosystem emphasizes “everything is a plugin.” In agent development, costs, token usage, and subscription quotas are often scattered across different platforms: sessions can track input, cache, output tokens, and costs, but checking the DeepSeek balance, OpenCode GO, Kimi For Coding, GLM Coding Plan, Volcengine Ark, and other quotas still requires separate checks.

dsh-quota-dashboard aggregates this information into a single Web dashboard while retaining session cost tracking capabilities. Below is an introduction to its positioning, core features, installation methods, and usage limitations.

What is it

dsh-quota-dashboard is a DeepSeek Harness plugin maintained by CyBerKitTen0009, categorized under Cost, Web UI, and Observability, licensed under MIT.

It primarily addresses two things:

  1. Session Cost Tracking: Displaying input, cache, and output tokens along with costs, and supporting statistics for daily costs, budgets, balances, and history.
  2. Unified Quota Dashboard: Viewing DeepSeek balance, OpenCode GO, Kimi For Coding, GLM Coding Plan, and Volcengine Ark subscription quotas on the Settings page.

This plugin overlaps with dsh-cost-meter functionality; they are mutually exclusive. Do not install both.

Core Features

Session Cost Tracking

Verified statistical capabilities include:

  1. Session Cost Badges: Displaying input, cache, and output tokens separately, along with costs; the position is configurable (below the input area or in the session title bar).
  2. Display Daily Costs, Budget Boxes, Official Account Balance, and History: Budget boxes include the budget, percentage used, and progress bars.
  3. Peak/Valley Pricing: Supports peak/off-peak pricing, with documentation indicating DeepSeek has two tiers starting from 2026-08-17; supports one-click synchronization with official prices.
  4. Token Usage: Provides a 26-week token usage heatmap, token bucketing by model, and bilingual support (Chinese/English).

Unified Quota Dashboard

The dashboard entry point is Settings → Quota Dashboard · Quota. It defaults to 5 Providers:

  • DeepSeek Balance
  • OpenCode GO
  • Kimi For Coding
  • GLM Coding Plan
  • Volcengine Ark

The quota dashboard configuration can be enabled/disabled or modified as needed. Dashboard behavior is as follows:

  1. Each row can be expanded to view progress bars and reset countdowns.
  2. Auto-refresh defaults to 5 minutes and is configurable; pauses when the page is hidden.
  3. Rows without configured credentials display neutral prompts and do not block other Providers.
  4. Failed queries are highlighted in red with error messages.
  5. All Providers are queried in parallel; a single row failure does not affect others.

Installation and Enablement

  1. Install using local source code, replacing the path with the actual repository directory:
dsh plugin --profile web add link:/absolute/path/to/dsh-quota-dashboard
  1. Restart dsh web after installation for changes to take effect.
  2. Go to Settings → Quota Dashboard · Quota to view the dashboard.

Configuration and Credentials

The quota dashboard configuration is stored in the ledger configuration, defaulting to 5 Providers which can be enabled/disabled or modified as needed.

The credential resolution priority order is:

DSH 凭据库(ctx.credentials) → 环境变量

Verified compatible usage includes:

  • OpenCode GO supports OPENCODE_API_KEY (legacy name) and opencode CLI login state.
  • Kimi supports KIMI_API_KEY, and Kimi Code CLI login state.

Security and Compatibility

  • Compatible with DeepSeek Harness >= 0.1.0-rc.5, verified with current rc.6; Node >= 20.
  • Depends on @deepseek-ai/dsh-credentials, @deepseek-ai/dsh-home-paths, and zod.
  • Credentials are only parsed in the host process and do not enter the browser or logs.
  • Dashboard data is delivered via same-origin /quota-dashboard-api/state, with documentation stating the use of loopback Host + custom headers as dual guards.
  • Volcengine Ark AK/SK are signed using Volcengine SigV4; keys do not appear in URL / command line.
  • Ledger and configuration are written only to DSH_HOME/storages/quota-dashboard/ledger.json, using atomic writes.
  • Network permission declarations are limited to the following addresses:
https://api.deepseek.com
https://api-docs.deepseek.com
https://opencode.ai
https://api.kimi.com
https://open.bigmodel.cn
https://api.z.ai
https://open.volcengineapi.com

Applicable Scenarios and Notes

Suitable for DSH users who need to view quotas from multiple Providers simultaneously, track session costs, and manage budgets via the Web interface. Notes before use:

  1. This plugin is mutually exclusive with dsh-cost-meter (overlapping functionality/same ledger/service); do not install both.
  2. The plugin runs with the current dsh process permissions; check source code and license before installing.
  3. Rows without configured credentials display neutral prompts and do not block other Providers.
  4. Network permission declarations only cover the addresses listed above.
  5. The community directory is an independent site with no official affiliation with DeepSeek / High-Flyer.

Conclusion

The value of dsh-quota-dashboard lies in putting scattered session costs, token usage, and multi-platform quotas into a single DSH Web dashboard. If local testing is all that is needed, you can integrate using the link installation process above; if public citation is needed, please refer to the directory page and repository below.

  • Directory Page: https://www.skillhub.cn/plugins/CyBerKitTen0009/dsh-quota-dashboard
  • GitHub: https://github.com/CyBerKitTen0009/dsh-quota-dashboard