Lottle7/dsh-quota1

dsh-quota

DeepSeek Harness Web 的多服务商配额、余额与 Token 消耗看板,包含可拖拽挂件、用量分析、本地定价和路由诊断。

AI 分析

核心用途是多服务商配额与 Token 消耗监控。适合需要精细化管理 API 成本、监控多渠道余额并进行路由诊断的 DSH Web 用户。

套件
dsh-quota
版本
0.5.1
授權
MIT
最近更新
2026年8月25日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Lottle7/dsh-quota

Configuration

The Host settings namespace is dsh-quota:

dsh-quota:
  enabled: true
  refreshIntervalMs: 60000
  warningBalanceBelow: 10
  warningQuotaRemainingBelow: 0.2

  # Use an explicit mapping when a custom route name cannot be identified.
  routeMappings:
    my-company-openrouter: openrouter

  providerEnabled:
    minimax-cn: true
    minimax-intl: true
    deepseek-official: true
    openrouter: true
    siliconflow: true
    moonshot: true
    zhipu: true
    alibaba-bailian: true
    volcengine-ark: true
    together: true
    fireworks: true

  pricing:
    default:
      inputCacheHitPerMTokCNY: 0
      inputCacheMissPerMTokCNY: 0
      outputPerMTokCNY: 0
    overrides: {}
    peakHours:
      weekdays: []
      windows: []
      timezone: Asia/Shanghai

Prices are estimates only and never modify a provider bill. An empty peakHours.windows disables time-based discounts. Browser price overrides stay in localStorage, take precedence over the matching Host model price, and contain no credentials.