A comparative study of AI and human programming on environmental sustainability

Despite rising concerns over AI's environmental impact, a recent article claimed human writers emit 130 to 1,500 times more greenhouse gases than AI. While the study utilized life cycle assessment methodology, it overlooked a critical factor: output quality. Unlike AI, which instantly generates content, human writers work for months, producing superior results. To provide a more objective comparison, we analyzed the environmental impacts of human and AI programmers generating functionally equivalent code. Using the USA Computing Olympiad database, we developed infrastructure to evaluate multiple GPT-based models. To our knowledge, this is the first study to correctness-control and quantitatively assess AI's environmental impact in code generation. To address AI's inaccuracies, we built a multi-round correction process to iteratively fix responses. We calculated AI emissions from usage and embodied impacts, while human emissions were estimated using average computing power consumption. Our case study results show that smaller models can match the environmental impact of human programmers when they succeed, though they often fail. However, standard, widely-used models are far more environmentally strenuous. For example, GPT-4 emitted between 5 and 19 times more [Formula: see text]eq than humans, underscoring a much greater trade-off between efficiency and environmental cost than previously understood.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-11-10
DOI
https://doi.org/10.1038/s41598-025-24658-5
Citations
1
Primary Topic
Green IT and Sustainability
Type
article
Field-Weighted Citation Impact
0.73
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A comparative study of AI and human programming on environmental sustainability

Nolan H. Woo
1 citations
Scientific Reports
Green IT and Sustainability
0.73
article

A comparative study of AI and human programming on environmental sustainability

Nolan H. Woo
article en
1 citations

Abstract

Despite rising concerns over AI's environmental impact, a recent article claimed human writers emit 130 to 1,500 times more greenhouse gases than AI. While the study utilized life cycle assessment methodology, it overlooked a critical factor: output quality. Unlike AI, which instantly generates content, human writers work for months, producing superior results. To provide a more objective comparison, we analyzed the environmental impacts of human and AI programmers generating functionally equivalent code. Using the USA Computing Olympiad database, we developed infrastructure to evaluate multiple GPT-based models. To our knowledge, this is the first study to correctness-control and quantitatively assess AI's environmental impact in code generation. To address AI's inaccuracies, we built a multi-round correction process to iteratively fix responses. We calculated AI emissions from usage and embodied impacts, while human emissions were estimated using average computing power consumption. Our case study results show that smaller models can match the environmental impact of human programmers when they succeed, though they often fail. However, standard, widely-used models are far more environmentally strenuous. For example, GPT-4 emitted between 5 and 19 times more [Formula: see text]eq than humans, underscoring a much greater trade-off between efficiency and environmental cost than previously understood.

Scientific ReportsVol. 15(1)
Saratoga Hospital (US)
Openalex Percentile: Top 22%
Green IT and Sustainability
0.73
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.