Manuscript Offprint

arXiv:2611.12128

Toward Sustainable Agentic AI: Carbon Tradeoffs Across Iterative Self-Refinement and Tool-Augmented Coding

Boris Ruf, Adrien de Mailly Nesle, Marcin Detyniecki

Abstract

Agentic language model systems can improve performance either by iterating on their own outputs or by using external tools in grounded environments. While these strategies can reduce error rates and substitute for larger models in some settings, their environmental cost remains relatively underexplored. We present two complementary empirical studies that estimate the energy and carbon footprint of agentic AI across settings of increasing complexity. Study 1 evaluates iterative verbal self-refinement: GPT-4.1-mini at k=1−5k=1-5 steps versus a GPT-4.1 single-pass baseline on two MATH benchmark splits. Study 2 evaluates tool-augmented agentic coding: GPT-4.1-mini, Claude Opus 4.6, and GPT-5.3-codex on SWE-bench Lite, where agents operate inside Docker-isolated environments with access to code execution and file editing tools. In Study 1, k=3k=3 refinements close a 16-percentage-point accuracy gap to within 1 point, but nearly triple the carbon footprint relative to the cheap single-pass baseline while remaining below the GPT-4.1 single-pass baseline under the current token-based carbon scenario. In Study 2, GPT-5.3-codex achieves the highest resolution rate in this sample (81.2%), ahead of Claude Opus 4.6 (68.9%) and GPT-4.1-mini (25.0%), but resolved-task-normalized efficiency remains mixed: GPT-4.1-mini is lowest on estimated carbon and cost per resolved task, while GPT-5.3-codex delivers substantially higher task success. All carbon estimates cover output-token inference only; prompt tokens, which exceed 99% of tokens in Study 2, and tool execution are not charged, so the figures are lower bounds on the full agentic footprint.

Keywords

sustainable AI, LLM inference energy, carbon emissions accounting, agentic AI benchmarking

References (20)

  • iterative refinement with self-feedback, in: Proceedings of the 37th International Conference on Neural Information Processing Systems, NIPS, Curran Associates Inc., 2023
  • Language agents with verbal reinforcement learning, in: Neural Information Processing Systems, Neural Information Processing Systems Foundation, Inc. (NeurIPS), 2023, pp. 8634–8652
  • Synergizing reasoning and acting in language models, in: The 11th International Conference on Learning Representations, 2023
  • An open platform for AI software developers as generalist agents, in: The 13th International Conference on Learning Representations, 2025
  • a survey on current challenges and way forward, in: Proceedings of the 33rd International Joint Conference on Artificial Intelligence, IJCAI, 2024
  • Can language models resolve real-world GitHub issues?, in: International Conference on Learning Representations, 2024
  • Proceedings of the 33rd International Joint Conference on Artificial Intelligence, IJCAI, 2024
  • a framework for automatic agent generation, in: Proceedings of the 33rd International Joint Conference on Artificial Intelligence, IJCAI, 2024
  • A. Korhonen, D. Traum, L. Márquez (Eds.), Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Association for Computational Linguistics, 2019, pp. 3645–3650
  • Environmental awareness as part of algorithmic accountability, Workshop on Tackling Climate Change with Machine Learning at NeurIPS
  • Ligozat, Evaluating the carbon footprint of NLP methods: A survey and analysis of existing tools, SUSTAINLP 27 (2021) 11–21
  • Carbon Emissions and Large Neural Network Training
  • Benchmarking the energy costs of large language model inference, in: 2023 IEEE High Performance Extreme Computing Conference (HPEC), IEEE, 2023, pp. 1–9 (opens the publisher in a new tab)
  • Watts driving the cost of AI deployment?, in: The 2024 ACM Conference on Fairness, Accountability, and Transparency, FAccT '24, ACM, 2024, pp. 85–99 (opens the publisher in a new tab)
  • Evaluating the environmental impacts of generative ai, Journal of Open Source Software 10 (2025) 7471
  • Quantifying compute in image generation, in: The 2026 ACM Conference on Fairness, Accountability, and Transparency, 2026, pp. 8029–8050
  • Profiling the energy footprint of input tokens in large language models, HotCarbon / SIGENERGY Energy Informatics Review
  • How to use large language models while reducing cost and improving performance, Transactions on Machine Learning Research
  • B. Kim, Y. Yue, S. Chaudhuri, K. Fragkiadaki, M. Khan, Y. Sun (Eds.), International Conference on Learning Representations, 2024, pp. 32808–32824
  • International Conference on Advanced Infocomm Technology, IEEE, 2023, pp. 423–427