Willow Token Tracker
Open-source desktop dashboard that tracks tokens, estimated costs, and sessions for AI coding agents from local usage logs.
At a Glance
MIT-licensed open-source desktop dashboard for tracking AI coding usage; Windows x64 installer available, macOS builds from source.
Engagement
Available On
Listed Nov 2026
About Willow Token Tracker
Willow (柳) is an open-source, MIT-licensed desktop app, published by the GitHub user hey-pu, that gathers local usage logs from AI coding agents into one dashboard. It reports tokens, estimated costs, and sessions for tools such as Claude Code, Codex CLI, and Kimi CLI. The latest release listed is v0.4.0, with a Windows x64 installer; macOS is built from source.
What It Is
Willow is a token and cost tracker for AI coding tools. It scans usage logs on your device, normalizes them, and stores them in a local SQLite database. You can compare input, output, and cache tokens, view estimated costs by day or model, and look up individual sessions. A quick panel opens from the Windows system tray or the macOS menu bar.
How Usage and Costs Are Calculated
Parsing and billing logic is ported from ccusage. Pricing comes from LiteLLM data, with an embedded offline snapshot and a daily online refresh. Estimates account for long-context pricing, cache-write and cache-read rates, fast/priority tier rates, and dated price changes. Stored estimates are recalculated when prices change. Cost modes are auto, calculate, and display. The README notes that figures are estimates and that the provider's dashboard is the source for official billing.
Supported Sources and Views
Adapters cover Claude Code, Codex CLI, Gemini CLI, OpenCode, OpenClaw, GitHub Copilot CLI, Qwen Code, Kimi CLI, Amp, Droid, Goose, Kilo, Codebuff, Hermes Agent, and pi-agent. Windows also supports Qoder IDE, Qoder CN, and WorkBuddy. Sources with no local data stay empty. The app offers daily, weekly, and monthly trend charts, 5-hour billing blocks with burn rate, a menu bar ticker, light and dark themes, and English and Chinese interfaces. Token units can display in Chinese (e.g. 1.5亿) or international (150M) format.
Setup Path
Windows users download the unsigned x64 installer from GitHub Releases. On macOS, build from source with Node.js, pnpm, Rust, and the Tauri prerequisites; no macOS installer is currently published. The app is built with Tauri v2 and React 19.
Community Discussions
Be the first to start a conversation about Willow Token Tracker
Share your experience with Willow Token Tracker, ask questions, or help others learn from your insights.
Pricing
Open Source
MIT-licensed open-source desktop dashboard for tracking AI coding usage; Windows x64 installer available, macOS builds from source.
- MIT License
- Multi-agent usage tracking (Claude Code, Codex CLI, Kimi CLI and more)
- Cost estimates and 5-hour billing blocks
- Local SQLite storage of usage data
- Windows x64 installer (unsigned); macOS build from source
Capabilities
Key Features
- Multi-agent usage tracking
- Estimated cost calculation with long-context, cache, and priority-tier pricing
- Menu bar and system tray quick panel
- 5-hour billing blocks with live burn rate
- Daily, weekly, and monthly trend charts by agent, model, and token type
- Session lookup
- Local SQLite storage of usage data
- Daily online pricing refresh with offline snapshot
- Chinese and international token unit formats
- Light and dark themes with English and Chinese interface