Claude Code Widget Counts Tokens in Food
The X5 Club team, together with the Trend Surfers agency, has developed a widget for Claude Code that converts token consumption into portions of food products.
The project is available on GitHub and allows you to track the resource usage of AI agents in familiar units of measurement.
Main conversion parameters:
- 1000 tokens equal one pack of buckwheat
- Milk, bananas, dumplings, and baguettes are also taken into account
The interface displays the amount of "eaten" food after each model response above the input field. This clearly demonstrates the costs associated with processing requests.









