A SillyTavern extension that tracks and visualizes token usage and price for your chats.
- Token Tracking: Automatically tracks input/output tokens for each message
- Cost Calculation: Set custom prices per model and see real-time cost estimates
- Currency Conversion: Display costs in your preferred currency (340+ currencies supported)
- Time-based Stats: View usage by day, week, month, or custom range
- Model Breakdown: See token usage and costs per AI model
- Interactive Chart: Visual bar chart with daily token usage breakdown
- Clickable Details: Click on Week/Month/All Time cards for detailed per-model popups
- Open SillyTavern and navigate to the Extensions menu (blocks icon).
- Click on Install Extension.
- Paste the repository URL into the "Extension URL" field:
https://github.com/Triedge-sys/Extension-TokenUsage - Click Install for all users or Install just for me.
Once installed, the extension will automatically start tracking token usage. The GUI will be in the extensions menu.
This extension is a fork of the original Extension-TokenUsage by Vibecoder9000.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.


