Back to feed
Dev.to
Dev.to
6/25/2026
How I built a free tool that shows where Claude Code burns tokens

How I built a free tool that shows where Claude Code burns tokens

Short summary

Tokenwise is a free, open-source CLI tool that audits token usage in AI coding agents like Claude Code and Cursor by scanning configuration files and session logs. It identifies token waste and projects monthly costs, helping developers optimize API spending without sacrificing context quality. Available now on npm with zero API calls required.

  • Free CLI tool for auditing token usage in Claude Code, Cursor, and other AI agents
  • Analyzes config files and session logs to identify waste and project costs
  • Helps reduce API spend through actionable optimization recommendations

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more