Skip to content

Repository files navigation

Token Usage Tracker

Extension Screenshot

A SillyTavern extension that tracks and visualizes token usage and price for your chats.

Installation

  1. Open SillyTavern and navigate to the Extensions menu (blocks icon).
  2. Click on Install Extension.
  3. Paste the repository URL into the "Extension URL" field:
    https://github.com/Vibecoder9000/Extension-TokenUsage
    
  4. Click Install for all users or Install just for me.

Usage

Once installed, the extension will automatically start tracking token usage. The GUI will be in the extensions menu.

Features

  • 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.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for details.

About

A SillyTavern extension that tracks and visualizes token usage for your chats.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages