DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Usage Center — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
U

dsh-usage-center

Usage Center

Native DSH settings page for daily provider usage, subscription quotas, and API price estimates.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Tieboyh/dsh-usage-center#aac41d51000a9b499a42bf120e5cca632c294365
READMECompatibilityVersions

Compatibility and provenance

Usage Center is published as dsh-usage-center and currently resolves to version 0.5.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/13/2026

Versions

0.5.0stable
9/13/2026
0.4.2stable
8/27/2026
0.4.0stable
8/24/2026
Show 1 more versionCollapse versions
0.3.0stable
8/24/2026

Related plugins

Loading related plugins…

Latest
0.5.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
9/13/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with the current session provider's today usage on the sidebar entryWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

dsh-usage-center

English · 简体中文

A native usage and cost dashboard for DeepSeek Harness Web. It adds a dedicated Usage & Cost section to DSH Settings and keeps provider usage, subscription quotas, balances, API estimates, and annual activity in one place.

Usage overview with annual token activity heatmap

Provider usage, balance, and subscription quota details

Features

  • Daily input, cached-input, and output token usage grouped by provider and model.
  • A 365-day token activity heatmap with total tokens, peak daily tokens, current streak, and longest streak.
  • DeepSeek account balance, including available, topped-up, and granted balances.
  • Z.ai Coding Plan quota percentages for the current session window, weekly window, and billing cycle.
  • Kimi Code membership tier plus rolling 5-hour and weekly quota percentages.
  • API-equivalent cost estimates calculated from public model rates.
  • Persistent snapshots with stale-while-revalidate loading for instant repeat visits.
  • English and Chinese UI that follows the active DSH language setting.
  • Local-only aggregation and a loopback-only read API.

Estimate vs. actual charge

API estimates answer: “What would the same token usage cost at public API rates?” They are not invoices and are not treated as subscription charges.

  • Metered providers show today’s estimated API cost and any supported account balance.
  • Subscription providers show quota consumption percentages plus an API-equivalent estimate.
  • Pricing source links and effective dates are shown directly in the UI.
  • Rates come from the public models.dev catalog, cached for 12 hours and revalidated conditionally; DSH_USAGE_CENTER_CATALOG_URL points it at another source.
  • A model the catalog knows needs no configuration at all. An entry in src/pricing.js dated later than the catalog entry wins, so hand-verified rates (and DeepSeek’s off-peak figures, which bill double during peak hours) stay authoritative.
  • If the catalog cannot be fetched, the last cached copy is used and the local table still covers known models. Prices fall back to the model name, so the same model reached through a proxy such as LiteLLM still prices.

Requirements

  • DeepSeek Harness Web with plugin support.
  • Node.js >= 22.19.0.

Quick install

dsh plugin --profile web add dsh-usage-center

Restart DSH Web after installing:

dsh web

The npm package and repository include a prebuilt plugin bundle, so installation does not require pnpm allowBuilds configuration. To install directly from GitHub, use github:Tieboyh/dsh-usage-center as the package name.

Install from source

git clone https://github.com/Tieboyh/dsh-usage-center.git
cd dsh-usage-center
npm install
npm run check
dsh plugin --profile web add "$PWD"

Use the source workflow when developing or modifying the plugin. Restart DSH Web after installing, upgrading, or removing it.

Credentials

The plugin reuses DSH credentials. API keys are resolved only by the server process and are never returned to the browser or written into the snapshot.

CredentialPurpose
DEEPSEEK_API_KEYReads the DeepSeek account balance.
ZAI_CODING_CN_API_KEYReads quota windows for a China-region Z.ai Coding Plan.
ZAI_API_KEYFallback credential for a Z.ai Coding Plan.
ZAI_API_REGIONOptional Z.ai region override.
KIMI_CODING_API_KEYReads the Kimi Code membership tier and subscription quota windows.

Data and refresh behavior

Usage is derived locally from DSH session events. Repeated cumulative usage samples for the same turn and step replace earlier samples instead of being double-counted.

  • Live sessions are read incrementally through ctx.sessions snapshotEvents; stored sessions through sessionPersistence open/read, skipping any session whose revision and read cursor are unchanged.
  • Forked sessions are counted from inheritedEventCount, so inherited parent history is never counted twice.
  • A refresh reads only newly appended events; the first cold pass reads the full history once, and later refreshes normally finish in tens of milliseconds.
  • The last successful result is saved to <DSH_HOME>/storages/usage-center-snapshot.json.
  • Opening the page or restarting DSH immediately displays the current-day snapshot.
  • Snapshots older than one minute remain visible while a refresh runs in the background.
  • A manual refresh answers with the current data immediately and updates in the background.
  • If an upstream balance or quota request fails, the last successful snapshot remains available.
  • The snapshot contains aggregated usage and displayed balance/quota results, but no API keys.
  • A stored session that cannot be read (an older on-disk format, for instance) is warned about once and not retried until its revision changes.
  • The fetched model rates are cached at <DSH_HOME>/storages/usage-center-catalog.json and not downloaded again within 12 hours.

Privacy and security

  • The overview endpoint accepts read-only GET requests from loopback clients only.
  • Session contents and raw event logs are not exposed to the browser.
  • Credentials stay behind the DSH credentials service.
  • The only outbound request besides provider balance/quota checks is a read-only GET for public model rates; no local data is uploaded.
  • No external analytics or telemetry are included.

Development

npm install
npm run check
npm run build

npm run check performs syntax checks and runs the Node test suite. npm run build updates the committed DSH client and server bundle in lib/; the committed bundle makes the GitHub one-line install work without dependency build approval.

License

MIT