121212165/dsh-plugin-relay-quota ↗★ 0

dsh-plugin-relay-quota

dsh plugin: read remaining quota and usage from any OpenAI-compatible relay (billing surface), via /quota and the quota_check tool. 适合使用第三方中转API并需要监控余额的用户。

Package
dsh-plugin-relay-quota
Compatibility
Unverified
Cordis peer range
>=4.0.0
Version
0.1.0
License
MIT
Last updated
Oct 1, 2026

Install

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

配置

- insert:
    - id: relay-quota
      name: dsh-plugin-relay-quota
      config:
        enabled: true
        providers:
          - name: my-relay
            baseUrl: http://localhost:3002/v1
            apiKeyEnv: RELAY_API_KEY   # key 放环境变量,不落配置
            listModels: true