dsh-api-balance
Displays DeepSeek API balance, run costs, and token prices directly in the DSH web GUI sidebar footer.
Install
$ dsh plugin --profile desktop add /path/to/dsh-api-balancePlugin 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
- Queries and displays DeepSeek API account balance in the web GUI sidebar footer
- Tracks accumulated token usage and per-run costs based on model chunk metrics
- Applies official pricing models with peak and off-peak Beijing time tier accounting
- Supports custom holiday dates and manual pricing table overrides via Cordis configuration
- Enforces strict security invariants: in-process fetch only, strict origin/header checks, and official endpoint restrictions
Useful For
- Monitoring DeepSeek API spending in real time directly inside the DSH desktop interface
- Tracking per-run token costs during long agentic or conversational sessions
- Ensuring secure API balance checks without exposing credentials to child processes or external proxies
Who It Fits
- DeepSeek Harness desktop users using official DeepSeek API keys
- Developers wanting cost transparency across model interactions
- Security-conscious AI practitioners tracking balance without sandbox permissions
Documented Limitations
- Only supports the official api.deepseek.com endpoint; custom gateway and mirror base URLs are rejected by design
- Cost tracking covers the current process run and does not import previous external billing history
- Requires manual configuration of Chinese public holidays to apply off-peak rates accurately on holiday weekdays
- Only displays the primary currency entry from the balance_infos API response
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, 0 development, 1 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as Apache-2.0.
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
- CH2008445/dsh-api-balance
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 03230c8 · 2026-10-18
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-10-05
- Last release
- 2026-10-05
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Compatibility bridge running unmodified Pi ecosystem extensions natively on DeepSeek Harness.
View plugin →Agent-native multi-market trading terminal and quantitative research plugin bundle for DeepSeek Harness.
View plugin →