zhu1090093659/dsh-web-ui--packages-dsh-live-stats3.6k

@linxin666/dsh-live-stats

为 DSH 网页端提供实时 Token 消耗估算和生成吞吐量统计的插件。

AI 分析

核心用途是实时监控和估算大模型对话中的 Token 消耗与生成速度。适合需要控制 API 成本或评估模型响应性能的用户。

套件
@linxin666/dsh-live-stats
版本
0.1.19
授權
Apache-2.0
最近更新
2026年8月17日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhu1090093659/dsh-web-ui#aeaaca8692376f442a1761e56273c574027ce96d&path:packages/dsh-live-stats

Configuration

KeyTypeDefaultMeaning
charsPerTokennumber4Approximate text characters represented by one token
blockOverheadnumber4Fixed framing tokens assigned to each content block
roleOverheadnumber4Fixed framing tokens assigned to each message or assistant response