bobcat848/dsh-calculator1

dsh-calculator

DeepSeek Harness 网页插件:在侧边栏显示 DeepSeek API 消耗量与账户余额。

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.