Skip to content

DeepSeek-Harness-billing-plugin

⭐ 9 · ✅ active · plugin

Type plugin Category Developer tools
Stars ⭐ 9 Status ✅ active
Author WilliamLIiii Updated 2026-08-14
Subcategory 💰 Cost & billing Capabilities observability

One-liner

Account balance plus per-model remaining-task estimator with a session cost ledger.

About

一个 DeepSeek Harness 插件,在 Web 会话头部直接显示你的 DeepSeek 账户余额,以及大概还能跑多少个任务。

✨ Key Features

  • 会话头部徽标 —— 剩余余额(剩余额度:¥X)加上「按当前模型预计还能跑多少任务」。
  • 详情面板 —— 每个模型一行:还能跑多少任务,或「暂无消耗记录」/「按消耗能跑不足 1 个任务,该充钱了」。
  • 刷新 —— 按需重新拉取余额并重新折叠用量。

📦 Install

dsh plugin --profile web add @deepseek-ai/dsh-llm-billing @deepseek-ai/dsh-client-ui-billing

🚀 Quick Start

- insert:
    - id: llm-billing
      name: '@deepseek-ai/dsh-llm-billing'
    - id: ui-billing
      name: '@deepseek-ai/dsh-client-ui-billing'

📚 Learn more

1. 安装包

dsh plugin --profile web add @deepseek-ai/dsh-llm-billing @deepseek-ai/dsh-client-ui-billing > 这两个包位于本仓库的 packages/ 工作区内;需要先把它们发布到 npm > (@deepseek-ai 或你自己的 scope),dsh plugin add 才能从 registry 解析。

3. 配置你的 DeepSeek API key

二选一:在网页「模型」页填入(会把 DEEPSEEK_API_KEY 写入 ~/.dsh/.credentials.yaml),或导出环境变量: export DEEPSEEK_API_KEY=sk-...