Young4ever33/dsh-token-attention1

dsh-token-attention

Token Check(词元管理)—— DSH 的 token 注意力管理面板插件。

AI 分析

核心用途是监控和管理 Token 使用情况与模型计费。适合需要优化上下文占用、监控 Token 消耗成本并获取优化建议的 DSH 用户。

套件
dsh-token-attention
版本
0.2.0
授權
MIT
最近更新
2026年8月22日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Young4ever33/dsh-token-attention

Configuration

Settings are editable in the panel and saved to SQLite:

SettingDefault
Model pricing (¥ / million tokens, off-peak)flash: hit 0.05 / miss 1.5 / output 4.5
Peak hours (24h, start-inclusive)9–12, 14–18
Context-occupancy advice threshold70%
Turn-count advice threshold40
Hit-rate advice threshold40%