mahiro6/dsh-billing0

dsh-billing

DeepSeek Harness 计费插件:持久化账本精确计费(每次模型调用)、官方余额、预算、今日/本月/累计汇总、会话明细与历史记录、峰谷计价、官方价格同步,界面中英双语。Billing plugin for DeepSeek Harness: persistent ledger with exact per-call cost, official balance, budget, today/month/total summaries, per-session details and history, peak/off-peak pricing, official price sync — bilingual (zh/en).

AI 分析

核心用途为 API 额度与开销监控。适合需要精确控制 DeepSeek 接口预算、查看会话消费明细及同步官方价格的用户。

パッケージ
dsh-billing
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mahiro6/dsh-billing

ドキュメント

README 全文を読む ↗

配置

字段默认值说明
localeauto界面语言:auto(跟随浏览器)/ zh / en
statsLinetrue会话统计行显示余额、今日费用与本会话费用
sidebartrue侧边栏底部显示余额、今日费用与预算进度条
currencyCNY费用显示币种(CNY/USD/EUR/GBP/JPY/HKD/TWD)
symbol¥货币符号
decimals4金额小数位
exchangeRate7.2汇率(1 USD = ?)
peakEnabledtrue启用峰谷计价
peakEffectiveAt2026-08-16T16:00:00Z峰谷计价生效时间(UTC)
peakWindows[{1,4},{6,10}]峰时段窗口(UTC 小时)
prices内置 DeepSeek 官方价每模型 cacheHit/cacheMiss/output + 可选 offPeak/peak(美元 / 1M tokens)
budget{enabled:false, amount:100, period:'month'}预算:启用/额度(显示币种)/周期(day/month/all/custom)/自定义区间
balance{display:'both', refreshMinutes:5}余额显示位置与自动刷新间隔
historyDays180账本保留天数(7–3650)