dsh pluginsEnglish
← 返回热门插件目录

cost ledger · DSH 用量与成本面板

suimi8/dsh-cost-ledger · 生产力

DeepSeek Harness 的跨会话持久成本分类账:将每个 LLM 代币使用情况记录到 SQLite 并公开记录/查询/预算工具。

★ 2GitHub 星标
0分支
2026-08-15最近更新
TypeScript开发语言
MIT许可证

主要功能

  • 集成令牌使用捕获 · API:ctx.on('llm/stream', (options, next) => AsyncIterable) — 每个模型调用周围的 Cordis 瀑布 · 状态: 有线
  • deepseek-v4-flash — 输入 0.10/输出 3.0/cacheRead 9.0(峰值层)
  • 写入的文件位于 dsh-cost-ledger/ledger.db 的一个 SQLite 数据库(可通过 dbPath 配置的路径,相对于 DSH 工作目录)及其 WAL/SHM sidecar 文件。
  • 没有其他东西触及文件系统。
  • 配置文件在 dsh Web(完整 UI + HTTP API + 仪表板)和 dsh --profile headless 下加载(仅令牌捕获 + 工具

安装命令

dsh plugin --profile web add github:suimi8/dsh-cost-ledger
查看 GitHub 仓库 ↗返回热门插件目录