Home // GREEN 2025, The Tenth International Conference on Green Communications, Computing and Technologies // View article


Brains Without Brawn: Evaluating CPU Performance for Code Generation with Large Language Models

Authors:
Miren Illarramendi
Joseba Andoni Agirre
Aitor Picatoste
Juan Ignacio Igartua

Keywords: LLMs; GenIA; GreenComputing; Code Generation; Energy Consumption; Sustainability.

Abstract:
This research presents a comparative analysis of the performance of various Large Language Models (LLMs) for code generation tasks executed on Central Processing Units (CPUs) without the use of dedicated Graphics Processing Units (GPUs). The study evaluates key metrics including inference time, code generation accuracy, CPU and memory usage, and energy consumption. By conducting repeated experiments, we assess the impact of model size and optimization on efficiency in environments lacking GPU resources. Energy consumption is measured using tools like CodeCarbon, focusing on the environmental impact of running these models on CPU-based systems. The findings offer insights into the trade-offs between model precision, resource usage, and energy efficiency, providing valuable guidance for developers and researchers aiming to balance performance and sustainability in low-resource computing environments.

Pages: 8 to 15

Copyright: Copyright (c) IARIA, 2025

Publication date: October 26, 2025

Published in: conference

ISSN: 2519-8483

ISBN: 978-1-68558-311-8

Location: Barcelona, Spain

Dates: from October 26, 2025 to October 30, 2025