dsh plugins中文
← Back to popular plugin directory

meter · DSH Usage and Cost Panel

J-Chien/dsh-meter · skills

Per-session billing plugin for DeepSeek Harness: Token Buckets, Cache Hit Ratio and Peak Perceived Cost in Session Headers + Pricing Setup Page

★ 6GitHub stars
0Forks
2026-08-17Last updated
TypeScriptLanguage
—License

Key features

  • There is a resident fee logo in the upper right corner of each session (new sessions show ¥0.00)
  • Current modelThe line below the title displays the provider/model of the current session (including reasoning effort, small text in monospaced font)
  • Group by registered providerread the provider and its model directory in real time from ctx.llm, collapse and expand the group (all collapsed by default, arrow button is on the right side of the title), no need to manually add models
  • Attribution period based on request time: Each request uses the persistence time (epoch ms) of its assistant/message event to check the idle/peak price of the model for the day - accurate for each request, and accurate for replays/historical sessions
  • Unregistered PriceWhen the model used in the session does not have a configured price, the logo displays the "Unregistered Price" label (amber rounded corner label) instead of ¥0.00

Requirements

  • Host changes do not have hot reloading and require a restart (framework limitation).
  • Peak hours are determined according to the local time zone of the running machine: host folding uses the host time zone, and client tags use the browser time zone

Install command

dsh plugin --profile web add github:J-Chien/dsh-meter
View GitHub repository ↗Back to popular plugin directory