A comparative study of AI and human programming on environmental sustainability
Nolan H. Woo
Saratoga Hospital
Key points
From the paper's conclusion- We calculated AI emissions from usage and embodied impacts, while human emissions were estimated using average computing power consumption.
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 eq than humans, underscoring a much greater trade-off between efficiency and environmental cost than previously understood.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Toward Sustainable Agentic AI: Carbon Tradeoffs Across Iterative Self-Refinement and Tool-Augmented CodingarXiv · 2026
- Toward Sustainable AI: A Scoping Review of Carbon Footprint and Environmental Impacts Across Training and Inference StagesIEEE Access · 2026
- Beyond State-of-the-Art: Standardising Environmental Impact Metrics for AI ResearcharXiv · 2026
- More than carbon: Cradle-to-grave environmental impacts of GenAI training on the Nvidia A100 GPUEnvironmental Impact Assessment Review · 2026
- Economic efficiency and climate mitigation of large language models depend on different leversScientific Reports · 2026
- Generative AI impact assessment through a life cycle analysis of multiple data center typologiesApplied Energy · 2025