What happened
Claude Code has introduced a new skill, ‘tare’, that allows developers to monitor token usage within their Claude Code sessions.
The core functionality revolves around logging every request made by the skill itself, which then provides a record of what’s being consumed during a session. This data is readily accessible through simple commands and doesn't require any complex dashboards or configuration.
Why it matters
Understanding token consumption is crucial for managing costs when using Claude Code, especially as usage scales.
Developers can identify bottlenecks in their applications, optimize prompts to reduce unnecessary requests, and ultimately avoid unexpected charges. This feature directly addresses the issue of "token debt," a common concern among users trying to understand the mechanics behind Claude’s pricing.
But, but, but…
The skill's efficacy hinges on accurate logging, and early reports show that it might not always capture every request.
For instance, certain background processes or interactions with other APIs could be missed, potentially skewing usage data. Furthermore, relying solely on the skill’s logs presents a single point of failure – if the skill itself encounters an error, the token tracking mechanism will break down.
“Tare: the weight of the container, subtracted to find what's inside.”
— Dr Non
The counter-take
The reliance on internal logging for tracking usage presents a fundamental challenge – it’s a second-order observability problem. Existing tools primarily focus on external metrics; this approach adds another layer of abstraction that can obscure the true source of token consumption. It's not a bad start, but relying solely on ‘tare’ doesn’t solve the root cause.
The AI angle
This tooling introduces an asymmetry by empowering developers with the ability to proactively manage their AI spending. The upgraded monitoring provides a tangible feedback loop for optimizing prompts and resource utilization, increasing efficiency and reducing potential costs associated with Claude's pay-per-token model.
