Skip to content

Triedge-sys/Extension-TokenUsage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token Usage Tracker

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

Features

  • 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
🆕 New Features (click to expand)

Extension Screenshot 1

Extension Screenshot 2

Extension Screenshot 3

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/Triedge-sys/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.

Credits

This extension is a fork of the original Extension-TokenUsage by Vibecoder9000.

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 91.8%
  • CSS 8.2%