dsh-api-ledger: View Conversation API Usage and Cost Estimation in DSH
dsh-api-ledger, a DSH community plugin (admin-security) maintained by LAwLi3tCoding, displays token usage and estimated costs by route/model within conversations, settings, Composer, and the sidebar. It supports CNY/USD display and local pricing configuration. Requires Node.js 20+. Desktop users can install via an install.mjs link, while CLI users can add it from GitHub or npm via their profile. All data is processed locally; the plugin does not read API keys or upload ledgers. Please note that costs are estimates, not actual billing statements.
Read More