deepseek-cost-usage-status-plugin
DSH web UI plugin that displays live DeepSeek session cost, usage, burn rate, balance, model, and Beijing-time peak status.
Install
$ dsh plugin --profile web add deepseek-cost-usage-status-pluginPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Adds a colored status line in the `conversation.composer.dock` UI slot.
- Shows Beijing-time peak or off-peak status using documented time windows.
- Accumulates per-session token usage from completed `llm/stream` calls and calculates session cost.
- Displays estimated cost per minute, current model, and reasoning effort.
- Polls DeepSeek `/user/balance` every 60 seconds using DSH's `DEEPSEEK_API_KEY`.
- Converts CNY-derived costs to the account balance currency using a live FX rate with an optional fixed fallback.
- Exposes a host snapshot through `GET /deepseek-cost/api` and refreshes the client display every two seconds.
Useful For
- Monitor approximate DeepSeek spending during a DSH conversation.
- Compare session cost with the available DeepSeek account balance.
- See whether a session falls in the configured Beijing-time peak or off-peak period.
- Track the active model and estimated cost burn rate in the DSH web composer.
Who It Fits
- DeepSeek Harness web UI users
- Developers monitoring DeepSeek API usage and costs
- Users with a configured DeepSeek provider and API key in DSH
Documented Limitations
- Requires DSH 0.1.0-rc.6+ with the web UI and a configured DeepSeek provider.
- Balance display requires `DEEPSEEK_API_KEY` in `~/.dsh/.credentials.yaml`; without it or on network failure, balance is unavailable.
- The plugin invokes `curl.exe` with the API key in an Authorization-header command argument, which the README notes may be visible to other local processes.
- Cost calculations use the repository's embedded pricing table and must be updated when DeepSeek pricing changes.
- Currency conversion depends on the balance response plus a live FX fetch or configured fallback; otherwise costs remain in CNY.
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 0 runtime, 6 development, 4 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- Zenjibad/deepseek-cost-usage-status-plugin
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 4d3de23 · 2026-08-30
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
- 2GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-08-28
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
A bilingual DeepSeek Harness cost-tracking plugin with session and daily costs, budgets, pricing management, balance lookup, and coding-plan quota displays.
View plugin →Token balance monitor and whale-girl animated companion plugin with peak-valley pricing tracking for DeepSeek Harness.
View plugin →A DeepSeek Harness Web UI sidebar for tracking artifacts and browsing workspace files, with a pop-out tab view.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive components and charts inline from assistant responses.
View plugin →