DSH Plugins
返回列表
dsh-token-plan-quota

dsh-token-plan-quota

联网工具 更新于 2026.09.15

在终端中运行以下命令:

dsh plugin install xinghe-1018/dsh-token-plan-quota

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install xinghe-1018/dsh-token-plan-quota 即可安装本插件,源码地址为 https://github.com/xinghe-1018/dsh-token-plan-quota 。

插件介绍

In DeepSeek Harness you may juggle several API providers but never see how much is left on the one you are actually using. This was especially true for Alibaba Cloud and Qianwen Token Plan, which carry subscription quotas yet expose no public query endpoint, so most quota plugins in the ecosystem simply skipped them. dsh-token-plan-quota bakes that console-quota contract in and also wires up the official balance APIs for DeepSeek, Moonshot/Kimi, OpenRouter, and Alibaba Cloud Billing Center.

The plugin follows one strict rule: if an official endpoint exists, report the true value, and only draw a progress bar and percentage when a denominator is available; when no official endpoint exists, report only the tokens and call counts measured through your local instance, never convert credits, never extrapolate from history, never show a percentage. Zero configuration is required; on install the plugin auto-detects your active route, and the badge updates instantly as you switch models. The detail panel can be dragged into a floating window, and when a console cookie expires the official card turns into an error card while the measured-usage fallback stays pinned to the badge.

It is built for developers who hang several API providers in Harness and want a single glance to answer how much is left on this one, especially anyone using Qianwen or Alibaba Cloud Token Plan who has been unable to find a working quota readout.

截图预览

使用场景

  • 切换模型时快速查看当前供应商剩余额度
  • 监控千问 Token Plan 订阅用量与进度条
  • 多 API 供应商环境下统一管理额度视图

适合人员

  • 同时挂载多家 API 供应商的开发者
  • 依赖千问或阿里云 Token Plan 的团队
  • 不想手动打开控制台查余额的 Harness 用户