← 返回列表

dsh-plugin-ds-balance

DeepSeek Harness 其他 低风险

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.

怎么安装

DeepSeek Harness 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'…

推荐参考

49 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
用户关注 · 参考最近的查看、安装命令复制和外链访问
49 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
0
月下载
最近更新
2026-08-26
创建于
2026-08-25

链接

GitHub ↗ npm ↗ 报告问题 ↗

基础安全检查

检查结果
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin

同类推荐

DeepSeek Harness 新上架
推荐72

dsh-ui-usage-billing

kenz1117/dsh-ui-usage-billing

侧边栏计费仪表盘:从会话日志聚合真实用量(按模型/按日统计调用、Token、缓存),按最新多厂商官方价格估算人民币费用,订阅套餐(coding/token/agent)通道豁免计费,并带各厂商健康状态圆点。

☆ 19 ↓ 8.6K 其他
DeepSeek Harness 新上架
推荐70

dsh-context

bowenliang123/dsh-context

DSH 上下文洞察面板:Context 仪表盘 + /context命令 + Context 浏览器,查看 Context的分类组成、内容详情、演进趋势、压缩/注入事件、统计等一站式 Context 全生命周期管理。

☆ 1.1K ↓ 1.0K 其他
DeepSeek Harness 新上架
推荐69

dsh-spend

nonewind/dsh-spend

DSH Web 用量与费用统计插件:右下角悬浮窗,按模型/按天/按会话多维聚合与预计花费。

☆ 10 ↓ 3.4K 其他
DeepSeek Harness 新上架
推荐69

dsh-usage-billing

940842546/dsh-usage-billing

用量与消费统计:8/17 调价前后峰谷计费,主界面汇总面板、按会话明细与日/周/月/年/累计用量热力图。

☆ 10 ↓ 2.6K 其他