jiuge2467/DSH-WhaleDeck--plugins-dsh-live-stats ↗★ 1
@linxin666/dsh-live-stats
为 DSH 网页端提供实时 Token 消耗估算和生成吞吐量统计的插件。
AI 分析
核心用途是实时监控和估算大模型对话中的 Token 消耗与生成速度。适合需要控制 API 成本或评估模型响应性能的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jiuge2467/DSH-WhaleDeck#8e07677ce20db6d88bc27945d89e5989df1b55ad&path:plugins/dsh-live-stats说明文档
阅读完整 README ↗Configuration
| Key | Type | Default | Meaning |
|---|---|---|---|
charsPerToken | number | 4 | Approximate text characters represented by one token |
blockOverhead | number | 4 | Fixed framing tokens assigned to each content block |
roleOverhead | number | 4 | Fixed framing tokens assigned to each message or assistant response |