DSH Cost Estimate
Yvesgao/dsh-cost-estimate · productivity
DSH Plugin: pre-assess token usage and DeepSeek API costs before answering, then show actual billing (Web chat embedded)
★ 3GitHub stars
0Forks
2026-08-30Last updated
JavaScriptLanguage
MITLicense
Key features
- Pre-estimationShow prestimated input token, output token and cost ranges before the model is generated
- Prefer using username (inputTokens / cacheReadTokens / carcheWriteTokens) for precise anchoring of each request
- Pure client realizationEstimates and renderings are done entirely on the Web Client (Conversion NodeDefinion + transfer.chat.node slot).
- The estimate is for information purposes only and is based on the actual DeepSeek deductions.
- After reconciliationafter the answer (takes the provider real usage), the same line flips to actual token and cost, and displays a cache hit rate
Install command
dsh plugin --profile web add github:Yvesgao/dsh-cost-estimate