gdy01/dsh-token-cost
gdy01★ 0JavaScript最后同步: 2026-08-17
DSH plugin: per-project LLM token usage and RMB cost (input / cache-hit / output) based on model standard prices.
README 摘要
dsh-token-cost A DSH plugin that shows per-project LLM token usage and converts tokens to RMB cost , split into: - 输入(未命中) — uncached input tokens - 命中 — cache-hit input tokens ( cacheReadTokens ) - 输出 — output tokens Costs are calculated from the model's standard price table (CNY per 1M tokens). Unknown models are listed with their token counts but no cost, so you can add/override prices without touching code. Features - Reads local DSH session logs ( /.dsh/sessions or $DSH HOME/sessions ). - Aggregates by project (the session cwd ) and by model . - Adds a 💰 button to the DSH web sidebar footer; the panel shows project totals and expandable model-level breakdown. - Zero runtime npm dependencies: uses Node's built-in node:zlib Zstandard decoder. - Loopback-only HTTP API ( /dsh-token-cost/ ). Install Install the subdirectory dsh-token-cost , not the parent dsh plugin folder. The parent folder has no package.json , so installing it produces no sidebar button. Use the absolute path (the path contains a space, so quote it ): Or, from inside this directory: If you previously installed the wrong folder, remove it first: Then restart dsh web and refresh the browser. A 💰 button appears a…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 145,755
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 11,175
awesome-dsh-plugin/awesome-dsh-pluginA curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 7,291