dsh plugins中文
← Back to popular plugin directory

DeepSeek Harness Chat Billing

rayadesune/DeepSeek-Harness-chat-billing · skills

A DeepSeek Harness plugin that shows your DeepSeek account balance, this session's (this conversation's) billed spend, and today's total spend across all sessions directly in the web session header

★ 3GitHub stars
0Forks
2026-09-05Last updated
TypeScriptLanguage
MITLicense

Key features

  • The panel ends with a today session-spend ranking: sessions sorted by today's spend, highest first (names come from the log's Chinese titles and follow renames automatically
  • Balance stays manual — the balance is account-level data, queried only on mount, session switch, the manual refresh action, or a browser reload
  • Each assistant/message event reports three billed token buckets: cache-hit input, cache-miss input (uncached input + cache writes), and output (including reasoning).
  • at most the top 10 rows, with a "…N more sessions" hint).
  • turns without DeepSeek usage (zero cost) or failed loads stay hidden.

Requirements

  • DeepSeek Harness (dsh) — the plugin runs inside a dsh profile.
  • A DeepSeek API key — the balance is read from the DeepSeek API, so every user needs their own key.

Install command

dsh plugin --profile web add github:rayadesune/DeepSeek-Harness-chat-billing
View GitHub repository ↗Back to popular plugin directory