Show HN

AI Meter

by @zeko1195

[Problem] I wanted to track how many tokens I am burning and it's estimated energy and water impact. [WHAT THIS IS] A local token usage tracker that works across different coding harnesses and estimates energy and water impact [MY EXPERIENCE] Tracking this really put things into perspective. My personal usage is close to 1 MWh in the past three months which I had no idea about. This does not include my AI usage at work which is probably 10x. [DEMO] If you are interested in tracking these numbers locally, try out: https://ai-meter.app - It reads historical data if the files are present. Works completely locally (except to check if there is an update for the widget) - No login. No analytics. No tracking. ---- [On estimates] AI Meter measures tokens from local AI coding-tool logs, then estimates: Electricity: tokens ÷ 1M × 0.39 kWh, calibrated from Oviedo et al.’s production-scale inference model. Direct cooling water: electricity ÷ 1.20 PUE × 0.45 L/IT-kWh, using LBNL’s U.S. data-center WUE scenario. These are adjustable estimates, not provider measurements. They exclude training, hardware manufacturing, electricity-generation water, and local-device energy. ---- Hope you find this interesting! Please feel free to give feedback, would love to make this better!

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app