Toktrack
Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)
By mag123c. Free and open source for Windows, macOS, Linux. Latest version v2.18.0, released 2026-11-13.
Is Toktrack safe?
Trust score 57/100: Use caution. Some warning signs. Read the notes, check the reviews, and verify the file before you run it.
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
Things to watch:
- Small community (196 stars): fewer people are watching the code
- No OpenSSF Scorecard report yet, so security practices are unverified
- No checksums or signatures published: you can't verify the download
196 GitHub stars · 1.9k downloads.
Download Toktrack
- toktrack-darwin-arm64.tar.gz (macOS, 3.1 MB)
- toktrack-darwin-x64.tar.gz (macOS, 3.4 MB)
- toktrack-linux-arm64.tar.gz (Linux, 3.1 MB)
- toktrack-linux-x64.tar.gz (Linux, 3.7 MB)
- toktrack-win32-x64.exe (Windows, 8.2 MB)
Downloads come straight from github.com/mag123c/toktrack.
About Toktrack
Track usage across all your AI coding CLIs — Claude Code, GitHub Copilot CLI, Codex CLI, Gemini CLI, Qwen Code, OpenCode, PI Agent, Antigravity, and Grok CLI — in one dashboard. Built in Rust, so it stays fast even on huge histories (simd-json + rayon).
No Rust toolchain required. Downloads the correct binary for your platform automatically.
Show today's AI spend right in your prompt, updated after every command:
toktrack can include Codex session logs from SSH servers by syncing remote JSONL files into a local snapshot and parsing them with the existing Codex parser. It uses your existing ssh/rsync setup and never stores SSH passwords or keys.
Similar apps
- Rtk: CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies (Good, 69/100)
- OpenCodex: Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, an (High trust, 75/100)
- Open Cowork: Open-source AI agent desktop app for Windows & macOS. One-click install Claude Code, MCP tools, and Skills — with sandbox isolation, multi-m (Use caution, 51/100)
- Token Tracker: Local-first AI token usage & cost tracker for 31 coding tools incl. Claude Code, Codex, Cursor, Gemini & DeepSeek Harness—with native apps. (Good, 65/100)
- WhereMyTokens: Local-first Windows tray app for monitoring Claude Code and Codex tokens, costs, sessions, and rate limits (Use caution, 56/100)
- CodeBurn: Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Codex, Gemini and more), by model, (Good, 70/100)
Questions
Is Toktrack safe to download?
Toktrack has an OpenShelf trust score of 57/100 (Use caution). Some warning signs. Read the notes, check the reviews, and verify the file before you run it. Main thing to watch: Small community (196 stars): fewer people are watching the code.
Is Toktrack free?
Yes. Toktrack is free and open source under the MIT license. The source code is public at github.com/mag123c/toktrack.
Does Toktrack work on Windows, macOS and Linux?
Toktrack is available for Windows, macOS, Linux. Ready-made downloads exist for Windows, macOS, Linux.
How do I install Toktrack?
Download the official file from the project's GitHub releases (for example toktrack-win32-x64.exe) and run it.
What are alternatives to Toktrack?
Similar open-source apps: Rtk (trust 69/100), OpenCodex (trust 75/100), Open Cowork (trust 51/100), Token Tracker (trust 65/100).