DeepSeek Harness plugin

dsh-meter

Token usage and cost metering for dsh: per-session and aggregate statistics with configurable pricing and reports.

Jump to install

Source facts

Repository
kouyichi/dsh-plugins
Latest update
Aug 21, 2026
Category
Tools & Capabilities
GitHub stars
0

Install

Start with a prompt that asks an agent to read the source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to read the page and repository first.

Do not install anything yet. Read this DeepSeek Harness plugin and explain what it does, which files, networks, or credentials it can access, and how to install and remove it.

Plugin page: https://deepseekplugins.org/plugins/kouyichi/dsh-plugins~23dsh-meter
GitHub: https://github.com/kouyichi/dsh-plugins/tree/main/dsh-meter
Plugin: dsh-plugins#dsh-meter
Author: kouyichi
Install command: dsh plugin --profile web add github:kouyichi/dsh-plugins#path:/dsh-meter

Do not run the install command until I confirm.

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

dsh-meter — Token 用量 / 成本统计

Web UI 侧计费组件已内卷(20+ 重复),但模型侧的用量分析是空的。meter 解码会话日志,聚合 Token(未缓存输入/缓存读/输出)、缓存命中率与估算成本。

工具

工具功能
meter_summary总览:命中率/成本/按天/Top 会话
meter_session单会话明细
meter_report生成 markdown 报告(~/.dsh/meter/reports/)

价格默认值为估算,可在 ~/.dsh/meter/pricing.json 覆盖:

{ "input_per_mtok": 0.5, "cache_read_per_mtok": 0.1, "output_per_mtok": 1.5 }