dsh-quota-monitor: A Multi-Provider Quota Monitoring Plugin for DeepSeek Harness

mouse33333/dsh-quota-monitor

Models & ReasoningVerified
Listed on 2026-08-17
Page last updated 2026-09-16

A DSH plugin that adds a quota monitor window at the bottom-left of the UI, showing OpenCode Go plan, DeepSeek API balance, MiniMax Token Plan usage, and task token consumption with cost estimates.

dsh-quota-monitor is a quota monitoring plugin for DeepSeek Harness (DSH) that provides a real-time monitoring window in the bottom-left corner, displaying OpenCode Go plan, DeepSeek API balance and usage, and MiniMax Token Plan quotas. It solves the problem of scattered quota information across providers through a self-built ledger and provider abstraction, letting you track all plan consumption and cost estimates directly in the harness. Core capabilities include real-time sync, cost conversion, and security design, with support for custom providers and low-balance thresholds, ideal for developers who need fine-grained management of AI quotas.

How to Install

install
npmdsh plugin --profile web add dsh-quota-monitor
Category
Models & Reasoning
Platform
DSH Plugin
Author
mouse33333
Distribution
Plugin

dsh-quota-monitor Key Features

Real-time quota monitoringMulti-provider supportCost estimationSelf-built usage ledgerSecure key management
Listed on dsh-plugin.org

dsh-quota-monitor Repo Summary

What Does It Do?

dsh-quota-monitor is a DSH plugin for DeepSeek Harness that provides a real-time quota monitoring window in the bottom-left corner of the interface, displaying OpenCode Go plan, DeepSeek API balance and usage, and MiniMax Token Plan quotas. It solves the problem of scattered quota information across multiple providers, letting you track all plan consumption and cost estimates directly in the harness. Core capabilities include self-built metering ledger, provider abstraction, real-time synchronization, and cost conversion.

Core Features

  • Real-time monitoring: 60-second auto-polling, focus refresh, and manual refresh, showing current model, plan tags, balance, and progress bars.
  • Self-built metering: records llm/stream waterfall usage in a local JSONL ledger with 90-day retention, independent of DSH projection cache.
  • Provider abstraction: supports balance and windows model types, with built-in presets for deepseek-official, opencode-go, new-api, and sub2api, plus configurable parsers.
  • Cost estimation: converts API unit price × usage to USD→CNY, with daily auto-refresh of prices and exchange rates, reflecting DeepSeek price changes the next day.
  • Security design: API keys stay only on the host, error messages are token-masked, and the ledger contains no keys or message content.

How to Use This Plugin?

After enabling it in DSH, a draggable status bar card appears in the bottom-left corner; clicking it expands a 384px monitoring panel. Switching between DeepSeek and OpenCode Go automatically syncs the card to the corresponding plan view. You can override or add providers via the package entry's config, setting low-balance thresholds, custom gateways, etc. OpenCode tokens are read from opencode auth.json or environment variables, and DeepSeek keys from DSH credentials or environment variables.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: mouse33333/dsh-quota-monitor. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ