healing1/dsh-balance-meter ↗★ 0

dsh-balance-meter

DeepSeek account balance and usage readout for the dsh web GUI: queries the official Get User Balance endpoint and shows current remaining balance and spend on the page. 在输入框旁直观展示 DeepSeek 官方账户余额。适合使用官方 API 且需要随时监控账户额度剩余的 DSH 用户,需配置有效 API 密钥。

패키지
dsh-balance-meter
호환성
미검증
Harness peer 범위
^0.1.0-rc.6
버전
0.1.0
라이선스
BSD-3-Clause
최근 업데이트
2026. 8. 15.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:healing1/dsh-balance-meter

Configuration

The plugin is zero-config by default (uses DEEPSEEK_API_KEY and the official pricing page). Optional composition settings:

- insert:
    - id: balance
      name: 'dsh-balance-meter'
      config:
        model: flash        # 'flash' (default) or 'pro'
        pricingRefreshHours: 6
KeyTypeDefaultMeaning
model'flash' | 'pro'flashPricing preset used until the auto-fetched page overrides it
pricingRefreshHoursnumber6Hours between automatic official-pricing refreshes
apiKeyEnvstringDEEPSEEK_API_KEYCredential ref storing the DeepSeek API key
baseUrlstringhttps://api.deepseek.comAPI base URL (gateway/compat override)
refreshIntervalSecondsnumber30Minimum seconds between balance queries