le-soleil-se-couche/dsh-token-cost0

@deepseek-ai/dsh-token-cost

DSH Web 插件:统计单会话及总体的 Token 使用量、缓存命中情况与费用,支持价格方案自动切换。

AI 分析

核心用途是帮助用户精确掌握 DeepSeek API 的消耗成本与 Token 细节。适合需要精细化控制 API 预算、分析缓存优化效果的个人或企业用户。

套件
@deepseek-ai/dsh-token-cost
版本
0.1.0
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:le-soleil-se-couche/dsh-token-cost

Configuration

KeyTypeDefaultMeaning
enabledbooleantrueMaster switch (dock chip + summary card)
currency'cny''usd''cny'
priceMode'auto''scheme-a''scheme-b'
customPricesstring (JSON)''Per-model price overrides
keyAliasesstring (JSON)''Provider > API key alias map

All editable from the card's Settings tab; a "Rescan session logs" action forces a full re-parse.