analytics
Token-Monitor: Track AI Costs
Get real-time token and cost insights with Token-Monitor, a multi-device sync widget for AI tools, designed for founders using Claude Code, Codex, and more.
1,599 stars144 forksJavaScriptHealth Score 9/10Updated 8/22/2026100% free · open source
What it does
Token-Monitor provides real-time insights into token and cost usage for AI tools like Claude Code and Codex, with multi-device sync capabilities.
Install / run
git clone https://github.com/Javis603/token-monitor.git && cd token-monitorWhen to use it
- •When you need to track and manage AI token usage across multiple devices and team members
- •When you want to monitor and limit AI costs in real-time to avoid unexpected expenses
- •When you are using multiple AI tools and need a unified dashboard to monitor token and cost usage
Quick start
- 1Run `npm install` to install required dependencies
- 2Configure your AI tool credentials in the `config.json` file
- 3Start the Token-Monitor server with `npm start`
- 4Access the Token-Monitor dashboard at `http://localhost:3000`
- 5Configure multi-device sync by following the instructions in the `README.md` file
Ready-to-paste prompt
Open `config.json` and add your Claude Code API key: `{ "claudeCode": { "apiKey": "YOUR_API_KEY_HERE" } }`Heads up: Make sure you have Node.js (version 16 or higher) installed on your system, as Token-Monitor requires it to run
Saves to your device
Topics
ai
ai-tools
antigravity
claude-code
codex
cursor
deepseek
deepseek-harness
dsh
hermes-agent
linux
llm
local-first
macos
openclaw
opencode
self-hosted
token-tracker
token-usage
windows
How Token-Monitor: Track AI Costs works
Codeflow
Free to inspect
Token-Monitor: Track AI Costs is a very large JavaScript project (~78k lines across 257 code files, plus 286 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.
Size
Very large codebase
~78k lines · 257 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Node.js
Needs API keys (.env)
JavaScript 91%CSS 4%HTML 2%Swift 2%
Where to start reading
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3package.jsonDependencies and the commands it exposes
- 4.env.exampleThe API keys and settings you must provide
- 5src/electron/main.jsInside src/ — the main logic begins here
What's in each folder
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Details
Creator
Javis603
Language
JavaScript
Category
analytics
Published
5/19/2026
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More analytics tools founders pair with this one.
analytics★ 113,574
D3
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
analytics★ 110,807
TypeScript: Cleaner JS Code
Get reliable JavaScript output with TypeScript. For founders using JavaScript.
analytics★ 92,972
Fast Design with Open-Design
Get native app design with web, desktop, mobile prototypes. For founders needing local-first design tools.
analytics★ 90,206
Vue Element Admin
:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
analytics★ 76,463
Grafana: Unified Insights
Get unified metrics and monitoring for your startup with Grafana, a platform used by many, ideal for founders needing data visibility.
analytics★ 74,560
Superset: Data Insights
Get data visualization and exploration with Superset, a platform for founders in data-driven startups, with 74k+ GitHub stars.