CodeCarbon

2 min read Original article ↗

Track & reduce Co2 emissions from your computing

AI can benefit society in many ways, but given the energy needed to support the computing behind AI, these benefits can come at a high environmental price. Use Code Carbon to track and reduce your CO2 output.

What we are

  • A lightweight, easy to use python library
  • Open source, free & community driven
  • Effective visual outputs

Review 1

Seamless integration

Only a few lines of code

Computer emits co2. we started measuring how much

A single datacenter can consume large amounts of energy to run computing code. An innovative new tracking tool is designed to measure the climate impact of artificial intelligence. Kana Lottick, Silvia Susai, Sorelle Friedler, and Jonathan Wilson. Energy Usage Reports: Environmental awareness as part of algorithmic accountability. NeurlPS Workshop on Tackling Climate Change with Machine Learning, 2019.

How It Works

Dashboard

Visualizing the outputs & insights

Put emissions in context with real-world equivalents.

Compare emissions based on infrastructure and power consumption.

See live emissions as your code runs.

Call to Action

Use, contribute and spread the word!

Use it!

We look forward to developers and researchers using the tool and sharing their feedback

Contribute!

We look forward to developers contributing to CodeCarbon development <3<3<3

Spread the love!

Spread the word about CodeCarbon among your colleagues, peers, conferences, and developer forums

CodeCarbon is maintained by amazing contributors

Here's the team that helped build Code Carbon

Benoît Courty

Benoît Courty

Data Scientist

Amine Saboni

Amine Saboni

Deep Learning Engineer

Sasha Luccioni

Sasha Luccioni

Researcher

Hugging Face

Iñigo Imaz

Iñigo Imaz

Software Developer

Luis Blanche

Luis Blanche

Machine Learning Engineer

Patrick

Patrick

Software developer

Want to contribute?

Join us and help us improve CodeCarbon!

© 2025 Codecarbon. All rights reserved.