bobcat848/dsh-calculator1

dsh-calculator

DeepSeek Harness web plugin: DeepSeek API spend (per session / all sessions) and account balance in the aside panel. Only deepseek-official routes are billed; third-party models are reported as unbilled.

AI 분석

核心用途是统计单会话或全会话的 DeepSeek 官方 API 消耗金额并展示余额。适合需要精细化控制 API 成本的用户。必要条件是配置官方 DEEPSEEK_API_KEY。

패키지
dsh-calculator
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bobcat848/dsh-calculator

配置

The plugin needs no configuration beyond your DeepSeek API key, which DSH already stores through its credentials service (the Models page writes it to ~/.dsh/.credentials.yaml as DEEPSEEK_API_KEY, or you can export it in the launching environment). The balance feature reads that same credential.

If the key is missing, the balance card shows a friendly error and the cost panel keeps working.