le-soleil-se-couche/dsh-token-cost ↗★ 0
@deepseek-ai/dsh-token-cost
DSH web GUI plugin: token usage (input/output), cache hit/miss and cost statistics per conversation and in aggregate, with auto-switching DeepSeek pricing schemes
AI 分析
核心用途是帮助用户精确掌握 DeepSeek API 的消耗成本与 Token 细节。适合需要精细化控制 API 预算、分析缓存优化效果的个人或企业用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:le-soleil-se-couche/dsh-token-costドキュメント
README 全文を読む ↗Configuration
| Key | Type | Default | Meaning |
|---|---|---|---|
enabled | boolean | true | Master switch (dock chip + summary card) |
currency | 'cny' | 'usd' | 'cny' |
priceMode | 'auto' | 'scheme-a' | 'scheme-b' |
customPrices | string (JSON) | '' | Per-model price overrides |
keyAliases | string (JSON) | '' | Provider > API key alias map |
All editable from the card's Settings tab; a "Rescan session logs" action forces a full re-parse.