Saikel-Orado-Liu/dsh-cost-meter
Saikel-Orado-Liu★ 1TypeScriptLast synced: 2026-08-16
Cost tracking plugin for the DeepSeek Harness Web GUI — snapshot-anchored per-turn pricing, account balance, and live cost estimates.
README excerpt
DSH Cost Meter English · 简体中文 DSH Cost Meter is a DeepSeek conversation cost-tracking plugin for the DeepSeek Harness (DSH) Web GUI — price-snapshot-anchored per-turn cost (peak/off-peak aware), account balance , a cost view tab , per-message cost chips , and a header pill with live streaming estimates . Every step's cost, price band, and snapshot version are computed once from the pricebook snapshot effective at the usage event's own time and then never recomputed — a later price change never rewrites an already-written conversation row. - Host half ( src/ ): DeepSeek GET /user/balance query, the persisted snapshot-anchored pricebook, the sessionCost projection, subagent cost aggregation, and the trust-fenced /cost-meter route. - Client half ( src/client/ ): composer-dock readout, Cost tab, per-reply chip, header pill, and the plugin configuration card — in Simplified Chinese and English. Installation The plugin is published on npm as @gamegeek-saikel/dsh-cost-meter and ships as an official DSH plugin bundle (both halves — host and browser — are mounted by a single cordis.patch.yml row). Install it into a web profile with the official DSH CLI (via npx — no global insta…
View full README on GitHub →