67
2

Carbon Footprint Evaluation of Code Generation through LLM as a Service

Main:9 Pages
1 Figures
Bibliography:3 Pages
4 Tables
Abstract

Due to increased computing use, data centers consume and emit a lot of energy and carbon. These contributions are expected to rise as big data analytics, digitization, and large AI models grow and become major components of daily working routines. To reduce the environmental impact of software development, green (sustainable) coding and claims that AI models can improve energy efficiency have grown in popularity. Furthermore, in the automotive industry, where software increasingly governs vehicle performance, safety, and user experience, the principles of green coding and AI-driven efficiency could significantly contribute to reducing the sector's environmental footprint. We present an overview of green coding and metrics to measure AI model sustainability awareness. This study introduces LLM as a service and uses a generative commercial AI language model, GitHub Copilot, to auto-generate code. Using sustainability metrics to quantify these AI models' sustainability awareness, we define the code's embodied and operational carbon.

View on arXiv
@article{vartziotis2025_2504.01036,
  title={ Carbon Footprint Evaluation of Code Generation through LLM as a Service },
  author={ Tina Vartziotis and Maximilian Schmidt and George Dasoulas and Ippolyti Dellatolas and Stefano Attademo and Viet Dung Le and Anke Wiechmann and Tim Hoffmann and Michael Keckeisen and Sotirios Kotsopoulos },
  journal={arXiv preprint arXiv:2504.01036},
  year={ 2025 }
}
Comments on this paper

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from. See our policy.