Sttrevens/dsh-cost-meter

Plugin ⭐ 1 MIT web-ui

dsh plugin: per-turn USD cost badge in the Web UI (session total + per-message footer, hover breakdown) from token usage x a configurable pricing table.

Install

The plugin reads `~/.dsh/cost-pricing.json` on boot (override the path with the
`DSH_COST_PRICING` env var or the row's `config.pricingPath`). On first run it
writes the default table to that path; edit it and restart `dsh web` to apply
changes. A model without a `models` entry falls back to `default` (zero cost
when no `default` is present).

## Install

The package declares a `dsh.bundle` manifest, so `dsh plugin add` installs it
**and** adds it to the profile's bundle layers automatically — no manual patch
edit:

Add Sttrevens/dsh-cost-meter to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.