A SillyTavern extension that tracks and visualizes token usage and price for your chats.
- 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/Vibecoder9000/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.
- Automatic pricing derived from Openrouter, accounting for cache hit rate, provider usage share, and model varient matching.
- Manual pricing is also an option.
- Per day, week, month, and all time tokens in, tokens out, requests total, and cost.
- Tracks quiet and background requests.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.
