Provider-reported tokens
Codex and Claude Code token counts are read from local provider records, deduplicated, and combined on your Mac.
AI Meter shows your Codex and Claude Code token usage, electricity, and water estimates in the macOS menu bar. No accounts. No AI telemetry. No usage data leaves your Mac.
$ curl -fsSL https://raw.githubusercontent.com/yash1195/ai-meter/main/install.sh | shReads local provider files. The only network request is a public update check.

AI Meter follows a SCI for AI-aligned consumer boundary. These are local scenarios based on published research—not measurements from OpenAI, Anthropic, or their data centers.
Codex and Claude Code token counts are read from local provider records, deduplicated, and combined on your Mac.
The default inference factor is 0.39 facility kWh per million tokens, with an indicative 0.20–0.75 kWh uncertainty range.
Direct cooling water uses a 1.20 PUE and 0.45 L per IT kWh site WUE. Both assumptions are adjustable inside AI Meter.
What is excluded: model training, embodied hardware, off-site electricity water, grid carbon, networking, and user-device energy.
Read the full methodology