rayadesune/DeepSeek-Harness-chat-billing ↗★ 2
@rayadesu/dsh-billing
DeepSeek Harness billing plugin: account balance and this session's billed spend with a session-header badge.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:rayadesune/DeepSeek-Harness-chat-billing说明文档
阅读完整 README ↗Configuration
Both packages ship sane defaults; everything below is optional.
Host (llm-billing)
| 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.1 Flash (deepseek-flash) + V4 Flash + V4 Pro + V4 Flash Vision Exp + MiMo-V2.5 series | Advisory display rows, in presentation order; they mirror DSH's llm-deepseek catalog. |
billing.peakHours | 09: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.models | Published V4 + MiMo rates | Per-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. |