future007s/dsh-peak-indicator ↗★ 4

dsh-peak-indicator

估算Token费用、显示余额与峰谷时段 适合使用DeepSeek API并需要实时监控人民币费用、余额和峰谷折扣的用户。

套件
dsh-peak-indicator
相容性
待驗證
Harness 依賴範圍
0.2.1-rc.2
Cordis 依賴範圍
~4.0.5
版本
0.1.33
授權
MIT
最近更新
2026年10月23日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:future007s/dsh-peak-indicator

可选价格配置

默认无需配置。pricesCny 的单位为 人民币 / 百万 tokens;原有 prices 始终表示美元。 如需美元计价,显式设置 currency: USD,默认 CNY。

- insert:
    - id: peak-indicator
      name: dsh-peak-indicator
      config:
        currency: CNY
        pricesCny:
          my-model:
            input: 1
            output: 3
            cacheHitInput: 0.1

自定义未知模型不套用 DeepSeek 峰谷折扣。宿主的 peakWindows、holidayDates 等可选配置只影响费用投影; 浏览器徽标仍使用内置官方时段与价格。