WilliamLIiii/DeepSeek-Harness-billing-plugin--packages-llm-billing ↗★ 2
@deepseek-ai/dsh-llm-billing
独立的 DeepSeek 账户余额与剩余任务估算插件,通过计费 Remote 暴露
AI 分析
核心用途是获取 DeepSeek 账户余额并根据不同模型单价(区分高峰/非高峰期)估算剩余可执行任务量。适合需要监控 API 额度消耗与预算规划的用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
apiKeyEnv | DEEPSEEK_API_KEY | Credential-reference (environment-variable) name resolved per call. |
baseURL | $DEEPSEEK_BASE_URL then https://api.deepseek.com | Endpoint base; /user/balance is appended. |
models | V4 Flash + V4 Pro | Advisory display rows, in presentation order. |
billing.peakHours | 09:00–12:00, 14:00–18:00 (Beijing) | Peak-hour windows; all other hours are off-peak. |
billing.models | Published V4 rates | Per-model peak/off-peak price rows (cacheHitInput, cacheMissInput, output, in CNY per 1M tokens). |
Override one model without dropping the others by supplying a non-empty billing.models list; an empty or omitted list falls back to the published defaults.