zhu1090093659/dsh-web-ui--packages-dsh-live-stats ↗★ 3.6k
@linxin666/dsh-live-stats
Live token estimates and generation throughput for DSH Web
AI 분석
核心用途是实时监控和估算大模型对话中的 Token 消耗与生成速度。适合需要控制 API 成本或评估模型响应性能的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhu1090093659/dsh-web-ui#aeaaca8692376f442a1761e56273c574027ce96d&path:packages/dsh-live-statsConfiguration
| 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 |