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.
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.
Download package
Embed the code
Run and track
Visualize results
Put emissions in context with real-world equivalents.
Compare emissions based on infrastructure and power consumption.
See live emissions as your code runs.
We look forward to developers and researchers using the tool and sharing their feedback
We look forward to developers contributing to CodeCarbon development <3<3<3
Spread the word about CodeCarbon among your colleagues, peers, conferences, and developer forums
Here's the team that helped build Code Carbon
Data Scientist
Deep Learning Engineer
Researcher
Hugging Face
Software Developer
Machine Learning Engineer
Software developer



© 2025 Codecarbon. All rights reserved.