ネイティブ DSH プラグイン。DeepSeek Harness の UI 内にセッション/当日費用、予算、公式+カスタムプロバイダー残高、トークンヒートマップを表示。`dsh plugin --profile web add dsh-cost-meter` でインストール。dsh web の再起動が必要。Node.js ≥ 20 が必要。
DSH 統合
ネイティブ実行
作者による申告
安全性監査
未監査
最終検証日
2026-08-23
ライセンス
MIT
01どんなタスクに使えるのか?
Track DeepSeek Harness session and daily API cost, budget and official balance in the UI
Per-session and daily cost badges, budget %, official/custom-provider balance bars, a 26-week token-usage heatmap, and a history ledger — all in the sidebar and settings
DeepSeek Harness users who want real-time spend visibility, peak/off-peak pricing alerts and multi-vendor Coding Plan quota tracking
02DeepSeek Harness への導入方法
前提条件
- Node.js ≥ 20
- DeepSeek Harness with the `dsh plugin` command (`npm install -g @deepseek-ai/dsh`)
インストール手順
- 01
Run `dsh plugin --profile web add dsh-cost-meter` (or pin a tag: `dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.5.41`)
$ dsh plugin --profile web add dsh-cost-meter
- 02
Restart `dsh web` for the plugin rows, Typert manifest and client bundle to be scanned at startup
$ dsh web
導入成功の確認
作者は未記載
ロールバック
- Uninstall with `dsh plugin --profile web remove dsh-cost-meter`.
03DSH 統合と能力の範囲
Native DSH plugin (web profile) that shows session/daily cost, budgets, balances and token usage inside the DeepSeek Harness UI.
Cost & balance dashboard
DSH session usage (input/cache/output tokens)→Per-session and daily cost, budget %, official balance (3-segment bar), custom-provider balance via configurable HTTP
Balance queries go only to the official domain (api.deepseek.com); the API key is never sent to non-official baseURLsPeak/off-peak pricing + alerts
Real-time usage timestamps→Peak windows (UTC 01:00–04:00, 06:00–10:00) with popup + system-notification alerts before switching; weekend all-off-peak rule from 2026-08-23
Budget and overspend alerts only notify; they do not block callsMulti-vendor billing
provider+model usage across OpenAI/Anthropic/Gemini/Mistral etc.→Per-provider/per-model isolated billing with a 90+ model price catalog and auto-matching; 8 Coding Plan quota queries
Price sync can overwrite official same-name model prices; custom model entries are unaffected
04誰に向いているのか?使うべきでない場面は?
向いている用途
- DeepSeek Harness users who want real-time spend visibility, peak/off-peak pricing alerts and multi-vendor Coding Plan quota tracking
不向きな用途
- Per-model history backfill depends on the host session log still being on disk; calls whose log was cleaned can only be reconstructed as an 'unassigned model' residual row.
05互換性・メンテナンス・セキュリティ上の注意
- After installing or updating the plugin you must restart `dsh web` for the plugin rows, Typert manifest and client bundle to load.
- Balance queries require network access to api.deepseek.com and a valid API key; the key is only ever sent to the official domain, and requests to a non-official baseURL are refused for balance.
- Per-model history backfill depends on the host session log still being on disk; calls whose log was cleaned can only be reconstructed as an 'unassigned model' residual row.
MIT · 由 facts pack 抓取(README 分支 master)
06よくある質問
dsh-cost-meter のインストール方法は?
`dsh plugin --profile web add dsh-cost-meter`(またはリリースタグを固定)を実行し、`dsh web` を再起動します。プラグイン行とクライアントバンドルは起動時にスキャンされます。
API キーはどこへ送信されますか?
残高照会はモデルリクエストと同じ API キーで公式ドメイン(api.deepseek.com)のみへ送信されます。baseURL が非公式ドメインの場合、残高照会は拒否されますがモデルリクエストは影響を受けません。
ピーク/オフピーク料金とは?
2026-08 以降、ピーク時間は UTC 01:00–04:00 と 06:00–10:00(ピーク価格)で、それ以外は半額のオフピークです。2026-08-23 以降は週末全日がオフピーク。切り替え前にポップアップやシステム通知で通知できます。
予算超過時に呼び出しをブロックしますか?
いいえ。予算と超過の通知はあくまで通知のみで、モデルの呼び出しを防ぐことはありません。
07関連する DSH ワークフロー
dsh-usage-stats
by ychris12138
DSH Web GUI 向けトークンヒートマップ、モデル別内訳、DeepSeek 残高
tokdash
by jingbiaomei
セッションとクォータ使用量の可視化ダッシュボード。ヒートマップ、コスト追跡、トークンカウント
dsh-balance-meter
by ghost011118
DSH Web GUI に DeepSeek 残高とセッションコスト表示
dsh-plugin-langfuse
by linyp
Langfuse 可観測性:GenAI semconv の OTel trace を Langfuse OTLP へ
08データと出典
DeepSeek Harness 会话费用统计插件(界面中英双语)
dsh plugin --profile web add dsh-cost-meter
このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-23。誤りを見つけた場合は、修正を送信してください。
dsh プラグイン おすすめ
最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。
