dsh-web-billing
A DSH web plugin that records per-message token costs, displays billing summaries, and fetches DeepSeek account balances in CNY or USD.
Install
$ dsh plugin --profile web add github:<owner>/dsh-web-billingRepository Intelligence
AI-assisted, source-grounded explanation based on the public repository snapshot. It does not replace compatibility or security verification.
Key Capabilities
- Calculates token costs per assistant message from usage data.
- Maintains a persistent local ledger with session, daily, monthly, cumulative, and per-model summaries.
- Supports CNY and USD display, with automatic currency selection based on interface language or a forced display currency.
- Includes configurable official-policy pricing schedules, peak/off-peak windows, user price overrides, and policy overrides.
- Fetches account balance through the configured provider balance endpoint.
- Adds read-only GET /billing/state and GET /billing/session/<id> endpoints.
- Adds browser-side message cost badges and a session billing panel.
Useful For
- Tracking DeepSeek token spending in dsh web conversations.
- Reviewing costs by session, time period, or model.
- Displaying token costs in Chinese- or English-language DSH web interfaces.
- Comparing locally calculated usage costs with reported account balances.
- Customizing pricing rules for models or future pricing-policy changes.
Who It Fits
- DeepSeek Harness dsh web users.
- Teams or individuals monitoring token usage and spending.
- Developers operating a DSH web profile with DeepSeek provider credentials.
Documented Limitations
- Requires Node.js 20 or later according to package metadata.
- Takes effect after restarting dsh web.
- Only one instance should use the same DSH_HOME because instances can write to the same ledger file.
- Billing endpoints default to loopback-only access; disabling loopbackOnly exposes unauthenticated routes consistent with other GUI routes.
- Account-balance retrieval depends on configured provider credentials and may silently degrade when requests fail or time out.
- The README states that built-in pricing schedules are curated from official announcements and should be checked against the official pricing page.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 2 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
A root package.json was captured and can be inspected by the registry.
GitHub reports the repository license as MIT.
Public GitHub source metadata is available for this registry snapshot.
package.json declares 2 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
A root package.json was captured and can be inspected by the registry.
GitHub reports the repository license as MIT.
Public GitHub source metadata is available for this registry snapshot.
package.json declares 2 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
A root package.json was captured and can be inspected by the registry.
GitHub reports the repository license as MIT.
Public GitHub source metadata is available for this registry snapshot.
package.json declares 2 runtime, 0 development, 0 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
A root package.json was captured and can be inspected by the registry.
GitHub reports the repository license as MIT.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Traceable source and registry metadata for this entry, kept separate from runtime verification.
- Source repository
- bpc-oss/dsh-web-billing
- Registry source
- Public GitHub repository
- Source snapshot
- 2aa522044004
- Artifact type
- plugin
- AI enrichment
- gpt-5.6-terra · 2026-08-14
- Prompt version
- dsh-plugin-enrichment-v3
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-08-14
- Last release
- 2026-08-14
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Schedule standalone coding tasks in fresh DeepSeek Harness Agent sessions, with workspace-scoped controls and durable run history.
View plugin →一个适用于deepseek-harness的插件,功能是显示当前账户余额以及当前会话预估的费用消耗 | A plugin for deepseek-harness that displays the current account balance and the estimated cost consumption of the current session.
View plugin →Connects a WeCom AI Bot to persistent DeepSeek Harness agents for text, images, files, commands, and session-based conversations.
View plugin →DSH snapshot and rollback plugin for configuration changes, with WebUI controls, chat actions, and offline PowerShell recovery tools.
View plugin →