{"id":{"repo_id":"buffalo","oai_identifier":"oai:ubir.buffalo.edu:10477/90336"},"canonical_url":"https://search.ndltd.org/etd/buffalo/oai:ubir.buffalo.edu:10477/90336","repository":{"repo_id":"buffalo","name":"Buffalo","base_url":"https://ubir.buffalo.edu/oai/request"},"display":{"title":"Energy Efficiency of AI Generated Code","abstract":"Recent advances in AI have created new prospects for improving software development, particularly through the usage of Large Language Models (LLMs) for code generation. The increasing integration of code generation models into software development has heightened the need to evaluate not only the correctness but also the efficiency and sustainability of AI-generated code. More efficient code can significantly enhance the performance and execution efficiency of software developed using LLM-assisted programming. In this work, we investigate the energy efficiency of code generated by several well-known LLMs. We use EFFIBENCH dataset containing 1000 LeetCode problems with the most efficient solutions known as canonical solutions. Our research aims to determine which models provide not only functionally correct but also energy-efficient code, thus contributing to more sustainable software development processes. We perform the analysis using perf to report the energy consumption in Joules. The results of this study can be used in the development of novel code generation and refactoring techniques to improve the overall energy efficiency of the code generated by LLMs.","abstract_html":"Recent advances in AI have created new prospects for improving software development, particularly through the usage of Large Language Models (LLMs) for code generation. The increasing integration of code generation models into software development has heightened the need to evaluate not only the correctness but also the efficiency and sustainability of AI-generated code. More efficient code can significantly enhance the performance and execution efficiency of software developed using LLM-assisted programming. In this work, we investigate the energy efficiency of code generated by several well-known LLMs. We use EFFIBENCH dataset containing 1000 LeetCode problems with the most efficient solutions known as canonical solutions. Our research aims to determine which models provide not only functionally correct but also energy-efficient code, thus contributing to more sustainable software development processes. We perform the analysis using perf to report the energy consumption in Joules. The results of this study can be used in the development of novel code generation and refactoring techniques to improve the overall energy efficiency of the code generated by LLMs.","abstract_has_math":false,"creators":["Jonnala, Devi Varaprasad Reddy"],"institution":"State University of New York at Buffalo","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Kosar, Tevfik","Computer Science and Engineering"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-19T07:11:02Z","subjects":["computer science"],"languages":["eng"],"rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10477/90336","outbound_label":"Handle","outbound_source":"dc:identifier","record_url":"https://hdl.handle.net/10477/90336","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Abuffalo%3Aoai%3Aubir.buffalo.edu%3A10477%2F90336","prefix":"oai_dc"},"source_record":{"url":"https://ubir.buffalo.edu/oai/request?verb=GetRecord&metadataPrefix=qdc&identifier=oai%3Aubir.buffalo.edu%3A10477%2F90336","prefix":"qdc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Kosar, Tevfik","Computer Science and Engineering"]},{"key":"dc:creator","label":"Author","values":["Jonnala, Devi Varaprasad Reddy"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-02-26T00:48:13Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-02-26T00:48:13Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-02-26T00:48:13Z"]},{"key":"dc:date.issued","label":"Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["State University of New York at Buffalo"]},{"key":"dc:type","label":"Dc Type","values":["Text","Thesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["computer science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://hdl.handle.net/10477/90336"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Recent advances in AI have created new prospects for improving software development, particularly through the usage of Large Language Models (LLMs) for code generation. The increasing integration of code generation models into software development has heightened the need to evaluate not only the correctness but also the efficiency and sustainability of AI-generated code. More efficient code can significantly enhance the performance and execution efficiency of software developed using LLM-assisted programming. In this work, we investigate the energy efficiency of code generated by several well-known LLMs. We use EFFIBENCH dataset containing 1000 LeetCode problems with the most efficient solutions known as canonical solutions. Our research aims to determine which models provide not only functionally correct but also energy-efficient code, thus contributing to more sustainable software development processes. We perform the analysis using perf to report the energy consumption in Joules. The results of this study can be used in the development of novel code generation and refactoring techniques to improve the overall energy efficiency of the code generated by LLMs.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"]},{"key":"dc:title","label":"Title","values":["Energy Efficiency of AI Generated Code"]}]}],"canonical_facts":{"dc:contributor":["Kosar, Tevfik","Computer Science and Engineering"],"dc:creator":["Jonnala, Devi Varaprasad Reddy"],"dc:date":["2026-02-26T00:48:13Z"],"dc:date.available":["2026-02-26T00:48:13Z"],"dc:date.created":["2026-02-26T00:48:13Z"],"dc:date.issued":["2025"],"dc:description.abstract":["Recent advances in AI have created new prospects for improving software development, particularly through the usage of Large Language Models (LLMs) for code generation. The increasing integration of code generation models into software development has heightened the need to evaluate not only the correctness but also the efficiency and sustainability of AI-generated code. More efficient code can significantly enhance the performance and execution efficiency of software developed using LLM-assisted programming. In this work, we investigate the energy efficiency of code generated by several well-known LLMs. We use EFFIBENCH dataset containing 1000 LeetCode problems with the most efficient solutions known as canonical solutions. Our research aims to determine which models provide not only functionally correct but also energy-efficient code, thus contributing to more sustainable software development processes. We perform the analysis using perf to report the energy consumption in Joules. The results of this study can be used in the development of novel code generation and refactoring techniques to improve the overall energy efficiency of the code generated by LLMs.","**To request an accessible version of the file(s) associated with this item, contact library@buffalo.edu. Please include the item's persistent URL [http://hdl.handle.net/. . .] in your request.**"],"dc:identifier":["http://hdl.handle.net/10477/90336"],"dc:language":["eng"],"dc:publisher":["State University of New York at Buffalo"],"dc:rights":["Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions."],"dc:subject":["computer science"],"dc:title":["Energy Efficiency of AI Generated Code"],"dc:type":["Text","Thesis"]},"updated_at":"2026-11-19T07:11:02Z"}