StackMap
Subscribe

ai-token-monitor vs cc-lens

Menu-bar/tray app for macOS and Windows that reads Claude Code, Codex and OpenCode session logs and shows live token spend — per-model pricing with cache reads, plan-limit bars, webhook alerts. — versus — npx cc-lens: local analytics dashboard over ~/.claude — sessions with replay, cost and cache breakdowns, insights and budgets, team-adoption mode, a yearly Wrapped card. No cloud, no telemetry.

The curated verdict

Both read local session logs to answer 'what is Claude Code costing me' — ai-token-monitor as a glanceable menu-bar counter with plan-limit alerts, cc-lens as a full browser dashboard with history, insights and budgets.

ai-token-monitorcc-lens
Stars280568
Forks4676
LanguageTypeScriptTypeScript
LicenseMIT
Last activity3 days ago19 days ago
Topicscodingcoding
Curated connections32

ai-token-monitor — the curator's take

Zero-setup observability for the coding-agent bill: no API keys, no proxy — it prices the session logs your CLIs already write (cache reads included) and puts today's spend next to the clock, with live 5-hour-session and weekly plan bars that ping Discord/Slack/Telegram before you hit the wall. Offline by default; the leaderboard and chat are strictly opt-in. NOT enforcement or routing — it measures, it doesn't reduce; pair it with a gateway or harness caching fixes when the number scares you. macOS/Windows only, and note the repo currently ships no license file.

cc-lens — the curator's take

The zero-friction option among Claude Code dashboards: one npx command, loopback-bound by default, and v0.4's Insights tab actually recommends actions — cache, model choice, compaction, plan-fit and budget opportunities mined from your own usage — instead of just charting it. Team mode (shared-folder push hub + terminal digest) is a real differentiator for leads tracking adoption. Costs are estimates from a local pricing table (`~/.cc-lens/pricing.json` to override) — treat them as directional and keep the table current. Claude-only; for subagent forensics and ticket linking, claude-code-karma digs deeper; for a number next to your clock, ai-token-monitor.