dsh-plugin-ds-balance
DeepSeek 余额与逐次调用成本追踪:基于真实 usage 的持久化成本账本,支持官方高峰/低谷定价(北京时间 ×2),60 秒余额轮询,侧栏底部显示余额与今日消耗。
DeepSeek API balance + per-call cost tracker: durable per-call cost ledger from real usage chunks with official Beijing peak/off-peak (x2) pricing, 60 s balance polling, and a sidebar footer action showing balance and today's spend.
怎么安装
dsh plugin add ds-balance 简介
ds-balance A dsh plugin that tracks your **DeepSeek API balance** and **per-call cost** live in the sidebar. It is a dual-face ("双面") dsh plugin built on the standard Cordis extension mechanism — no private dsh APIs: **Host half** (lib/index.js, Node) wraps the llm/stream waterfall, prices every successful DeepSeek call from the provider-reported usage chunk into a durable per-call ledger, polls the official balance endpoint, and exposes a JSON snapshot route /api/ds-balance. **Client half** (lib/client.js, browser) injects an action into the sidebar.footer.action slot showing balance + today'…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-08-26
- 创建于
- 2026-08-25
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
同类推荐
dsh-ui-usage-billing
kenz1117/dsh-ui-usage-billing
侧边栏计费仪表盘:从会话日志聚合真实用量(按模型/按日统计调用、Token、缓存),按最新多厂商官方价格估算人民币费用,订阅套餐(coding/token/agent)通道豁免计费,并带各厂商健康状态圆点。
dsh-context
bowenliang123/dsh-context
DSH 上下文洞察面板:Context 仪表盘 + /context命令 + Context 浏览器,查看 Context的分类组成、内容详情、演进趋势、压缩/注入事件、统计等一站式 Context 全生命周期管理。
dsh-usage-billing
940842546/dsh-usage-billing
用量与消费统计:8/17 调价前后峰谷计费,主界面汇总面板、按会话明细与日/周/月/年/累计用量热力图。