dsh pluginsEnglish
← 返回热门插件目录

费用 · cost meter

Creakono/dsh-cost-meter · 技能

自动按配置的价目表算价格花费。

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

主要功能

  • 底部统计行追加累计花费注册到 conversation.composer.dock,随会话切换与新一轮计费自动刷新
  • 既然都知道输入输出的token数目了,为什么不自动计算价格呢?
  • 时段使用本地时间 HHmm,start end 表示跨午夜(如 22:00–06:00)
  • 费用条目保存在 DSH 自有 storage-domain 侧车表(dsh-cost-meter domain,sessions 表),按会话隔离,不写入 settings.yaml
  • 悬停显示模型、已计费轮次、峰谷时段与各分项明细

安装命令

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