WilliamLIiii/DeepSeek-Harness-billing-plugin--packages-llm-billing2

@deepseek-ai/dsh-llm-billing

独立的 DeepSeek 账户余额与剩余任务估算插件,通过计费 Remote 暴露

AI 分析

核心用途是获取 DeepSeek 账户余额并根据不同模型单价(区分高峰/非高峰期)估算剩余可执行任务量。适合需要监控 API 额度消耗与预算规划的用户。

套件
@deepseek-ai/dsh-llm-billing
版本
0.1.0-rc.5
授權
MIT
最近更新
2026年8月14日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

FieldDefaultMeaning
apiKeyEnvDEEPSEEK_API_KEYCredential-reference (environment-variable) name resolved per call.
baseURL$DEEPSEEK_BASE_URL then https://api.deepseek.comEndpoint base; /user/balance is appended.
modelsV4 Flash + V4 ProAdvisory display rows, in presentation order.
billing.peakHours09:00–12:00, 14:00–18:00 (Beijing)Peak-hour windows; all other hours are off-peak.
billing.modelsPublished V4 ratesPer-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.