TheTianzz/dsh-billing ↗★ 6

dsh-billing

DeepSeek Harness plugin: 账户余额 + 会话费用(命令/工具 + Web UI 悬浮显示) 关注 API 花费的用户适用;可自定义各模型单价与峰谷价。

パッケージ
dsh-billing
互換性
未検証
バージョン
0.4.1
ライセンス
MIT
最終更新
2026/08/14

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

配置(全部可选)

config.pricing 按模型覆盖单价(元/百万 tokens),支持峰谷价自动切换(见 host.js 顶部默认值)。例如:

config:
  pricing:
    deepseek-v4-pro:
      cacheHit: 0.025
      cacheMiss: 3
      output: 6
      schedules:
        - effectiveAt: '2026-08-17T00:00:00+08:00'
          timezoneOffsetMinutes: 480
          peakWindows: [[9, 12], [14, 18]]
          offPeak: { cacheHit: 0.15, cacheMiss: 4.5, output: 13.5 }
          peak: { cacheHit: 0.30, cacheMiss: 9.0, output: 27.0 }