← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-api-balance

Displays DeepSeek API balance, run costs, and token prices directly in the DSH web GUI sidebar footer.

VisionUI & ProductivityTerminal & TUIDeveloper ToolsBrowser & WebSecurity & PolicyRemote Execution
2GitHub Stars0ForksUpdated2026-10-05

Install

$ dsh plugin --profile desktop add /path/to/dsh-api-balance

Plugin 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.

source-grounded
dsh-api-balance is a lightweight UI and monitoring plugin for DeepSeek Harness that integrates account balance checks and real-time run cost calculations into the web GUI sidebar footer. Built with strict security invariants, it resolves API keys in the host process using native fetch without shell execution, sandbox bypasses, or proxy leakage, and calculates usage costs based on official peak and off-peak CNY token pricing tiers.

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.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 0 runtime, 0 development, 1 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as Apache-2.0.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

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
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app