UI & Interfacedsh-plugin
Stars
9
Forks
1
Open issues
2
Last push
Nov 6, 2026
Latest release
—
24h Growth
+0
7d Growth
+0
Installation
dsh plugin --profile web add dsh-usage-billingOverview
A build-free two-sided DeepSeek Harness plugin that automatically records DeepSeek model calls across all local sessions, prices them by tiered official rates, and adds chart-based usage and cost panels to the main interface and settings page.
- Listens to llm/stream so every model call in every session is recorded with input, output, cache-hit and cache-miss tokens.
- On first launch, backfills historical usage and cost by scanning local session logs, attaching session titles.
- Segments billing by Beijing time into pre-adjustment, peak and off-peak bands, with built-in 2026 and 2027 holiday schedules editable in settings.
- Sends desktop toast alerts when spend crosses 80% and 100% budget thresholds, with progress bars turning orange and red.
- Configurable price tables, peak hours, adjustment dates and USD exchange rate, with one-click restore to defaults.
- Built-in standard pricing for third-party models such as GLM, Grok, Hunyuan, OpenAI, Claude, Kimi, Gemini and Doubao, editable in settings.
- Exports usage data as CSV (by day or by session) or JSON for reconciliation.
- Provides the usage_billing dynamic tool so the model can query spend by today/month/all with grouping by band, model, session or day.