rayadesune/DeepSeek-Harness-chat-billing2

@rayadesu/dsh-billing

DeepSeek Harness billing plugin: account balance and this session's billed spend with a session-header badge.

包名
@rayadesu/dsh-billing
版本
0.3.12
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:rayadesune/DeepSeek-Harness-chat-billing

Configuration

Both packages ship sane defaults; everything below is optional.

Host (llm-billing)

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.1 Flash (deepseek-flash) + V4 Flash + V4 Pro + V4 Flash Vision Exp + MiMo-V2.5 seriesAdvisory display rows, in presentation order; they mirror DSH's llm-deepseek catalog.
billing.peakHours09:00–12:00, 14:00–18:00 (Beijing, weekdays)Peak-hour windows, applied weekdays (Mon–Fri) only; weekends and all other hours are off-peak.
billing.modelsPublished V4 + MiMo ratesPer-model price rows (cacheHitInput, cacheMissInput, output, in CNY per 1M tokens) with an optional inclusive effectiveFrom; several rows sharing a model are its rate revisions.