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

@linxin666/dsh-live-stats

Live token estimates and generation throughput for DSH Web

AI Analysis

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

Package
@linxin666/dsh-live-stats
Version
0.1.19
License
Apache-2.0
Last updated
Aug 17, 2026

Install

$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