A new study questions the assumption that asking a language model to optimize code will reduce energy use. The researchers measured both the model’s optimization process and the resulting program, comparing eleven open models across four configurations on 1,000 problems.
In 42 of 44 configurations, the generated code consumed more energy per problem than the human reference solution. The two exceptions offered small gains with very large execution counts needed to recover the optimization cost. These are benchmark findings, not a verdict on every coding assistant.
For engineering teams, speed and energy need separate measurements. Watch workload-specific profiling and the expected number of future executions before treating an AI-generated performance change as a sustainability improvement.
Was this useful?
Help Pagish understand which AI stories are worth covering more deeply.
Tell Pagish if this story was useful.