dsh-token-cost

侧栏里实时显示 token 用量与估算费用:当前任务与全部会话合计、这份账目的截至时刻、逐会话时间明细(运行时长/轮步/首token/模型与工具耗时/解码速度),鼠标悬停某个对话还能看到逐轮用量与每轮费用。

插件介绍

侧栏里实时显示 token 用量与估算费用:当前任务与全部会话合计、这份账目的截至时刻、逐会话时间明细(运行时长/轮步/首token/模型与工具耗时/解码速度),鼠标悬停某个对话还能看到逐轮用量与每轮费用。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:wojiao42/dsh-token-cost

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。