https://github.com/solomonneas/usage-tracker
Token usage and cost analytics for OpenClaw sessions with multi-model breakdown
https://github.com/solomonneas/usage-tracker
ai-tools analytics api-usage cost-tracking llm monitoring
Last synced: about 1 month ago
JSON representation
Token usage and cost analytics for OpenClaw sessions with multi-model breakdown
- Host: GitHub
- URL: https://github.com/solomonneas/usage-tracker
- Owner: solomonneas
- License: mit
- Created: 2026-02-09T06:17:54.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-20T22:55:38.000Z (about 1 month ago)
- Last Synced: 2026-04-21T00:38:21.512Z (about 1 month ago)
- Topics: ai-tools, analytics, api-usage, cost-tracking, llm, monitoring
- Language: HTML
- Homepage: https://usage-tracker-zeta.vercel.app
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 💰 Solomon's Usage Tracker
**AI model usage and cost tracker with visual theme switching.**
Monitor spending across AI providers, calculate ROI per session, and track costs over time. A single HTML file with zero dependencies, five visual themes, and localStorage persistence.
## Quick Start
```bash
git clone https://github.com/solomonneas/usage-tracker.git
cd usage-tracker
python3 -m http.server 5200
```
Open [http://localhost:5200](http://localhost:5200) or just open `index.html` directly.
## Features
- 💵 Track costs across multiple AI providers (OpenAI, Anthropic, Google, etc.)
- 📊 Per-session cost breakdown with input/output token counts
- 📈 Spending trends over time with interactive charts
- 🧮 ROI calculator comparing cost vs. time saved
- 🎨 Five visual themes (dark, light, cyberpunk, ocean, forest)
- 💾 All data stored in localStorage, no backend needed
- 📤 Export data as JSON for backup or analysis
- 🔍 Filter and search by provider, model, or date range
- ⚡ Zero dependencies, single index.html file
## Tech Stack
| Layer | Technology | Purpose |
|-------|-----------|---------|
| Markup | HTML5 | Page structure |
| Styling | CSS3 | Themes and responsive layout |
| Logic | Vanilla JavaScript | All interactivity and calculations |
| Storage | localStorage | Client-side data persistence |
| Charts | Canvas API | Spending visualizations |
## Why This Exists
AI API costs add up fast and most providers only show billing at the account level. Usage Tracker gives you granular, per-session visibility into what you are spending and whether the investment is paying off.
## License
MIT