dsh-token-billing
Token billing plugin for DeepSeek Harness — per-call cost readout under the web composer
jianzhexu
@jianzhexu
⬇ 2
★ 0
main
安装
dsh plugin --profile web add github:jianzhexu/dsh-token-billing
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Token billing plugin for DeepSeek Harness — per-call cost readout under the web composer
该插件未提供要点说明,请参考仓库 README。
billingdeepseekdeepseek-harnessdeepseek-harness-plugindsh-plugintoken-usage
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/jianzhexu/dsh-token-billing |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-19 |
| 收录日期 | 2026-09-19 |
| 分类 | 工具与能力 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-token-billing English | [中文](README.zh.md) A token billing plugin for DeepSeek Harness: records every model call at DeepSeek's official pricing and shows a billing readout row in the ambient stats band under the Web UI input box. ## Features - Three-level cost totals — current session / owning workspace / all sessions (call count, input/cache-hit/output tokens, cost) - Separate peak / off-peak pricing (Beijing time 9:00-12:00 and 14:00-18:00 are peak; off-peak is half the peak price) - The ledger persists in the `token_billing` storage-domain domain and survives restarts - Hover the readout row for the full breakdown: session and global cost, token usage, per-model stats, workspace list, price table ## Install Requires a profile composing the web app (e.g. `dsh --profile web`; the plugin injects the `webServer` and `storageDomain` services and registers in the browser plugin table, all provided by the `dsh-web-app` bundle): ```sh dsh plugin --profile add github:jianzhexu/dsh-token-billing ``` Installing activates it: the plugin row mounts through the bundle's own patch layer — no manual config editing. The plugin is plain JavaScript with no build step, so git installs need no pnpm build authorization (`allowBuilds`). ## Uninstall & override ```sh dsh plugin --profile remove dsh-token-billing ``` To override config or disable the row, target row id `token-billing` in your profile's own `cordis.patch.yml`. ## Pricing source (prices are built into the plugin and updated per release; models not listed on the pricing page are not billed) ## License MIT
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。