LLMCarbon: Modeling the end-to-end Carbon Footprint of Large Language Models

Ahmad Faiz, S. Kaneda, Ruhan Wang, Rita Osi, Parteek Sharma +2 more
2/12/2026

Official code: SotaroKaneda/MLCarbon (54 stars, Apache-2.0, last commit 2025-05-22).

Abstract

The carbon footprint associated with large language models (LLMs) is a significant concern, encompassing emissions from their training, inference, experimentation, and storage processes, including operational and embodied carbon emissions. An essential aspect is accurately estimating the carbon impact of emerging LLMs even before their training, which heavily relies on GPU usage. Existing studies have reported the carbon footprint of LLM training, but only one tool, mlco2, can predict the carbon footprint of new neural networks prior to physical training. However, mlco2 has several serious limitations. It cannot extend its estimation to dense or mixture-of-experts (MoE) LLMs, disregards critical architectural parameters, focuses solely on GPUs, and cannot model embodied carbon footprints. Addressing these gaps, we introduce \textit{\carb}, an end-to-end carbon footprint projection model designed for both dense and MoE LLMs. Compared to mlco2, \carb~significantly enhances the accuracy of carbon footprint estimations for various LLMs. The source code is released at \url{https://github.com/SotaroKaneda/MLCarbon}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

End-to-end carbon footprint mod- eling tool

544PythonJul 26, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{faiz2026llmcarbon,
  title  = {LLMCarbon: Modeling the end-to-end Carbon Footprint of Large Language Models},
  author = {Ahmad Faiz and S. Kaneda and Ruhan Wang and Rita Osi and Parteek Sharma and Fan Chen and Lei Jiang},
  year   = {2026},
  eprint = {2309.14393},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.14393},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.14393.svg)](https://codeofpaper.com/paper/2309.14393)

Discussion