dsh-calculator
DeepSeek Harness 网页插件:在侧边栏显示 DeepSeek API 消耗量与账户余额。
AI 分析
核心用途是统计单会话或全会话的 DeepSeek 官方 API 消耗金额并展示余额。适合需要精细化控制 API 成本的用户。必要条件是配置官方 DEEPSEEK_API_KEY。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bobcat848/dsh-calculator說明文件
閱讀完整 README ↗配置
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.