GLM Quota+: A Multi-Provider Quota Dashboard for DeepSeek Harness

Introduction

When developing agents with DeepSeek Harness (DSH), you need to manage balances, subscription quotas, and spending across multiple providers simultaneously. Manually checking official websites or web portals is not only fragmented but also prone to missed expiration deadlines. DSH natively lacks a unified quota overview entry point, and while the upstream DSH Quota+ plugin covers mainstream providers, it does not directly support quota queries for the GLM Team Plan. This article introduces GLM Quota+, a plugin forked from DSH Quota+ that focuses on providing a multi-provider quota and usage dashboard, with added support for GLM Team Plan queries.

Plugin Positioning

GLM Quota+ is a quota dashboard plugin for DeepSeek Harness Desktop, maintained by icedkong on top of DSH Quota+. It retains most of the upstream functionality (balance and subscription window queries for providers such as DeepSeek, GLM, MiniMax, OpenAI, etc.), adds GLM Team Plan quota queries, removes the Models tab that duplicates DSH’s official Models page, and optimizes the display of remaining quotas.

Core Features

Multi-Provider Quota Dashboard

The plugin provides a unified quota management interface supporting the following providers:

  • DeepSeek API: Top-up balance and granted balance
  • DeepSeek Account: Separately displays top-up wallet and bonus wallet
  • GLM Coding Plan (China/Global): Subscription window
  • GLM Team Plan (China/Global): Team plan quota, displayed alongside the personal plan, queried via the ?type=2 monitoring endpoint
  • GLM Standard API (China): CNY balance and resource packs
  • Z.AI Standard API (Global): Status detection only, no balance display
  • OpenAI API: Organization spending, aggregated by UTC today, yesterday, 7 days, 30 days, with per-API-key breakdown
  • OpenAI Codex: Subscription window and reported Credits
  • OpenCode Go: 5-hour / weekly / monthly windows
  • MiniMax China M Plan: Remaining quota

The plugin does not display missing data as zero; Credits are a unit of usage, not an API cash balance.

GLM Team Plan Quota Query

GLM Team Plan quota is an optional feature. Once enabled, a Team row appears on the GLM / Z.AI quota page, displayed alongside the personal Coding Plan. This feature uses the official ?type=2 team monitoring endpoint and carries the bigmodel-organization and bigmodel-project request headers, consistent with the official team usage page requests. The plugin reads the organization ID and project ID from the request headers, stores them in the plugin configuration, and uses them only as request headers during quota queries—they do not appear in quota rows or logs. If no project scope is provided, the monitoring endpoint returns empty data, and the plugin identifies this as “scope required.”

To enable: Open the quota page → GLM / Z.AI → Additional settings → GLM Team Plan, check the Coding Plan route, enter the organization ID and project ID, and save.

Remaining Quota Card and Energy Ring

In the DSH editor’s summary bar, the current provider’s 5-hour quota is displayed as a circular progress indicator (14px, consistent with DSH’s built-in ContextMeter), with color shifting between green, orange, and red based on the remaining percentage. Clicking the ring opens a “Remaining Quota” card showing:

  • Countdown for the 5-hour pool
  • Reset date for the long-term pool
  • Progress bar for remaining quota
  • Personal / Team toggle
  • A “More ›” link that navigates to the official dashboard

Agent Tools

The plugin exposes three Agent tools that can be invoked in scripts:

  • provider_quota(provider, route): Retrieve the quota status for a specified provider and route
  • quota_color_settings(): Retrieve quota color threshold configuration
  • provider_company_rules(): Retrieve company rules data

Other Changes

  • Removed the Models tab to avoid duplicating management with DSH’s official Models page
  • Saved Team Plan inputs persist across window switches without resetting
  • Name and icon updated to GLM Quota+, package name is dsh-glmteam-quota

Installation and Activation

The plugin requires DeepSeek Harness Desktop version >=0.2.2-rc.1 <0.2.3-0. Install using the official command:

dsh plugin --profile desktop add https://github.com/icedkong/dsh-glmteam-quota.git

You can also use a local checkout path:

dsh plugin --profile desktop add /path/to/checkout

After installation, restart DSH and refresh the page. If the upstream dsh-quota-cordis is already installed on the system, it must be uninstalled first, as both register the same provider-quota entry and cannot be enabled simultaneously. Configuration is stored in the DSH profile’s cordis.patch.yml and persists after switching plugins.

Typical Usage

  1. After installing the plugin, open the quota page in the DSH interface to view balances and subscription windows for each provider.
  2. If you use the GLM Team Plan, go to the quota page → GLM / Z.AI → Additional settings → GLM Team Plan to enable it, and enter the organization ID and project ID.
  3. In the editor, observe the energy ring in the summary bar to gauge the remaining percentage of the 5-hour pool by color.
  4. Click the ring to open the remaining quota card, toggle between Personal / Team views, or navigate to the official dashboard.

Use Cases and Notes

GLM Quota+ is suitable for DSH users who need to manage quotas, subscription windows, and spending across multiple API providers simultaneously, especially those using the GLM Team Plan or OpenAI organization spending. The plugin runs with the permissions of the current DSH process; all credentials are stored only in the local Host and are never uploaded to any server. Quota queries are read-only operations using fixed official HTTPS endpoints, with redirects rejected. The plugin does not read CLI credentials, Cookies, or refresh tokens, and does not refresh authorizations or run inference.

Before use, it is recommended to review the plugin source code and license (MIT) to ensure compliance with your personal or project security policies. The plugin is maintained by the community; the upstream repository is still maintained by WXYS1209. This repository preserves the upstream commit history and copyright notices.

Conclusion

Building on DSH Quota+, GLM Quota+ adds GLM Team Plan quota queries, optimizes the display of remaining quotas, and removes the redundant Models tab, providing a lightweight and customizable dashboard for multi-provider quota management. For more details and source code, see the plugin directory page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye