Zhangw1998/dsh-usage-dashboard ↗★ 0

dsh-usage-dashboard

Token 用量与花费面板:按 provider / 项目统计 token 与调用次数,按官方峰谷价估算费用,并显示 DeepSeek 账户余额。Usage & cost dashboard for DeepSeek Harness. 适合需要跨项目、跨模型统计 Token 消耗并估算 API 费用的用户。

패키지
dsh-usage-dashboard
호환성
미검증
버전
0.0.1
라이선스
MIT
최근 업데이트
2026. 10. 22.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zhangw1998/dsh-usage-dashboard

dsh-usage-dashboard

English · 简体中文

A usage and cost dashboard for DeepSeek Harness (DSH): token and call counts broken down by project, provider and model, cost estimated from your local price config, and your DeepSeek account balance — all on one screen inside Settings → Usage & Cost.

Screenshots use synthetic demo data — no real account information.

Overview

Features

  • Two primary KPIs plus one composition bar — estimated cost, total tokens, and the input / output / cache-read split in a single glance.
  • Ranges — Today, rolling 24H, 7D, 30D, 90D, All, custom. 24H is a rolling window and is not the same as "today".
  • Three combinable filters — project, provider, model. Click a provider row or a project row to drill in.
  • Trend chart — toggle between tokens and cost; toggle cache in or out (cache is usually >95% of all tokens, so hiding it is the only way to see the input/output shape).
  • Provider breakdown — input / output / cache / call count per provider, with the bar segmented by composition.
  • Project table — expand a row to see which providers that project used, with tokens and cost each.
  • Balance — DeepSeek API-key wallet and logged-in account wallet on separate rows, with top-up and bonus listed apart.
  • Floating card — pinned bottom-right on the chat page, collapsed to a Today ¥3.42 · 1.2M pill; expand for today's breakdown and balance. Draggable, position remembered.
  • Refresh policy — refreshes only when you open the settings page, expand the card, or click refresh. No background polling: a full scan costs ~12s, so an idle page must not burn CPU. Data older than 10 minutes is dimmed as a staleness cue.

More screenshots

Trend and provider breakdown

Project detail

Install

Requires a DSH build that ships the dsh plugin subcommand (tested on 0.2.1-rc.2).