spoon-man569/dsh-token-price2

dsh-token-price

Live token cost + account balance readouts for the DeepSeek Harness Web UI

AI 분석

核心用途是实时监控 API 消耗成本和剩余额度。适合高频调用 API、需要严格控制预算或多模型对比成本的 DSH 用户。

패키지
dsh-token-price
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:spoon-man569/dsh-token-price

Configuration

- id: token-price
  name: dsh-token-price
  config:
    balanceBaseURL: https://api.deepseek.com
    balanceApiKeyEnv: DEEPSEEK_API_KEY
    balanceRefreshIntervalMs: 60000
    referenceRateRefreshIntervalMs: 3600000
    requestTimeoutMs: 5000

balanceApiKeyEnv names the credential holding the DeepSeek API key used for the balance request. The key remains on the host. A failed refresh keeps the last balance sample.