DSH usage and cost statistics
LaoYueHanNi/dsh-token-usage · tools
A dsh usage plugin that displays model token usage right in the Web UI.
★ 5GitHub stars
1Forks
2026-08-15Last updated
TypeScriptLanguage
—License
Project overview
Cloud feed shape (currency must be RMB; both modelId and every alias become matchable keys; timeRules / contextTiers / dailySlots all take part in billing):
Flat pricing.json shape (keys are model ids matching the recorded model exactly; inputPerMillion and outputPerMillion required, cacheReadPerMillion / cacheWritePerMillion optional and falling back to the input rate):
link: installs a symlink: rebuild the plugin and restart dsh web to apply changes. Update Remove
Install command
dsh plugin --profile web add github:LaoYueHanNi/dsh-token-usage