Young4ever33/dsh-token-attention1

dsh-token-attention

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

AI Analysis

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

Package
dsh-token-attention
Version
0.2.0
License
MIT
Last updated
Aug 22, 2026

Install

$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%