How ai-carbon-report works
Large customers, investors and EU sustainability rules are starting to ask what a company’s AI use costs the climate. Most teams either leave it out or guess from the invoice.
ai-carbon-report reads what actually drives the energy: how many tokens each model read, wrote and reasoned. Point it at your own call logs or the usage export from OpenAI or Anthropic, tell it where the models run, and it gives you energy, emissions and water per model, feature and month. Every number has a range, every factor has a source, and the report says which part rests on a known model size and which on an estimate.
It also shows where the energy goes, so you can see whether reasoning tokens, long prompts or a missing prompt cache are the real cost, and fix them.
You get a ready-to-paste Markdown section with the method, boundary and sources, and a CSV for carbon accounting software.
Try it
npx ai-carbon-report usage.jsonl --grid USA --md ai-carbon.md --csv ai-carbon.csv
Free and open source under the MIT license. Need your AI footprint measured and reduced for a report or a customer audit? Book a call.