mag123c/toktrack
Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)
Toktrack helps developers track their spending on AI coding assistants like Claude Code, Gemini CLI, and OpenCode. It takes the usage logs from these tools and provides a unified dashboard showing token usage and costs across all of them. This is for developers who use multiple AI coding CLIs and need a clear, persistent record of their expenses.
Use this if you use AI coding assistants and need to monitor your token usage and costs, especially if you use multiple different CLIs or are concerned about losing historical data.
Not ideal if you only use one AI coding assistant and its built-in tracking features are sufficient for your needs.
Stars
56
Forks
3
Language
Rust
License
MIT
Category
Last pushed
Mar 10, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/mag123c/toktrack"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
jmuncor/tokentap
Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track...
AgentOps-AI/tokencost
Easy token price estimates for 400+ LLMs. TokenOps.
Merit-Systems/echo
The User Pays AI SDK
Ruthwik000/tokenfirewall
Scalable LLM cost enforcement middleware for Node.js with budget protection and multi-provider support
adarshxs/TokenTally
Estimate Your LLM's Token Toll Across Various Platforms and Configurations