Back to directory

dsh-cache-billing

In a curated listMaintenance: Active

better-er/dsh-cache-billing

Shows step, turn, and session token/cost estimates inside DSH's context usage panel.

View on GitHub
$ dsh plugin --profile web add dsh-cache-billing

18

stars

0

forks

TypeScript

Language

MIT

License

2026-08-28

Created

2026-10-02

Last push

A DSH context-ring billing panel using local usage-based estimates and fixed Flash pricing.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-10-18

License

MIT

01What can it help you accomplish?

  • See estimated DSH conversation costs in context

    Current-step, current-turn and session totals beside context usage

    DSH users deciding when to switch conversation windows

02How to install into DeepSeek Harness

Installation steps

  1. 01

    Run `dsh plugin --profile web add dsh-cache-billing`, then restart DSH Web.

    $ dsh plugin --profile web add dsh-cache-billing

Verify the integration

  • Open the context ring to the right of the input; the bill appears at the bottom of its popup.

Rollback

  • Run `dsh plugin --profile web remove dsh-cache-billing`, then restart DSH Web.

03DSH integration and capability boundaries

DSH integrationNative runtime

DSH host/client plugin that adds estimated bills to the context-ring popup

  • Three billing scopes

    API-call usage within a conversation→Shows the current API step, the current turn total and the session cumulative total.

  • Token and cost breakdown

    Usage in each billing scope→Lists cached input, uncached input and output with token counts and estimated amounts.

04Who is it for? When not to use it?

Good for

  • DSH users deciding when to switch conversation windows

Not for

  • All estimates use DeepSeek-V4.1-Flash prices, including models outside the name whitelist. The display identifies those as estimates; actual charges follow the provider bill.
  • Official and third-party routes must report usage. Accounting uses input, cacheRead, cacheWrite and output tokens for local estimation.

05Compatibility, maintenance and safety notes

  • All estimates use DeepSeek-V4.1-Flash prices, including models outside the name whitelist. The display identifies those as estimates; actual charges follow the provider bill.
  • Official and third-party routes must report usage. Accounting uses input, cacheRead, cacheWrite and output tokens for local estimation.
2026-08-282026-10-02v0.1.5

README declares MIT; charges shown are local estimates.

06Frequently asked questions

Where do I find the bill in DSH?

Open the context ring on the right of the input; billing is at the bottom of the popup.

Does it show the actual amount charged by my DSH provider?

No. It estimates locally using Flash prices; the provider bill determines actual charges.

Can third-party DSH routes be counted?

Yes, if they report usage. Estimates use input, cacheRead, cacheWrite and output tokens.

08Data and sources

github.com0f2bba9Not specified by the author
  • Author-claimedgithub.com0f2bba94b522…

    两种方式装完都会自动挂载,重启 DSH web 后启用,无需手工编辑任何文件。

  • Author-claimedgithub.com0f2bba94b522…

    是**标准形态的 dsh 主机加客户端双半身插件**

  • Author-claimedgithub.com0f2bba94b522…

    [MIT](./LICENSE)

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-10-18. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.