Skip to content

jpdlr/tokenforge

Repository files navigation

Tokenforge

Tokenforge is a local-first dashboard that tracks AI token usage and cost across OpenAI, Anthropic, and Gemini. Pull live usage where possible, import CSVs when APIs aren’t available, and export clean reports for teams or billing.

Why Tokenforge

  • One place to see usage across providers
  • Local storage by default (no backend required)
  • CSV presets for quick imports
  • Clear summaries and exportable reports

Quick start

npm install
npm run dev

Build

npm run build
npm run preview

Usage

  • Add providers and API keys in the Settings card.
  • Pull usage for OpenAI and Anthropic (browser requests may be blocked by CORS).
  • Import CSV exports for Gemini or offline data.
  • Export JSON/CSV snapshots for reporting.

Notes

  • Provider APIs often restrict browser requests. If pulls fail, import CSV or run a local proxy.
  • All data is stored locally in your browser.

Tests

npm test

About

Local-first dashboard to track AI token usage and cost across OpenAI, Anthropic, and Gemini.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors