Manuscript Offprint

arXiv:2608.28667

GreenBench: Benchmarking Energy Efficiency and Carbon Footprint of Open-Source LLM Inference on Apple Silicon

Rajeswari Kannan, Raj Firke, Shreya Bengle, Srushti Deshmukh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1st1^{st} Rajeswari Kannan

Pimpri Chinchwad College

of Engineering

Pune, India

2nd2^{nd} Raj Firke

Red Hat

Pune, India

rfirke@redhat.com

3rd3^{rd} Shreya Bengle

Independent Researcher

Pune, India

shreya.bengle@gmail.com

4th4^{th} Srushti Deshmukh

Independent Researcher

Pune, India

krushtideshmukh952918@gmail.com

kannan.rajeswari@pccoepune.org

Abstract—The rapid proliferation of Large Language Models (LLMs) has raised concerns about their environmental impact during inference. While Green AI research has focused on datacenter GPUs and embedded platforms, the energy profile of LLM inference on Apple Silicon, with its unified memory architecture, remains unstudied. This paper presents GreenBench, a benchmarking framework that evaluates the energy efficiency, throughput, and carbon footprint of five open-source LLMs (3–9B parameters) across three NLP tasks on an Apple M4 Pro with 48 GB unified memory. Using macOS powermetrics for direct power measurement and Ollama's nanosecond-precision timing, we find that the M4 Pro draws only 0.47 W of CPU+GPU package power during sustained inference, with total system power of 8–12 W, achieving 30–40× better energy efficiency per token than datacenter GPUs in single-user deployment. Smaller models (3–3.8B) deliver 2.6–4.2× higher throughput and up to 62% less energy per token than larger models (7–9B). Pareto analysis identifies Qwen 2.5 (7B) as the optimal accuracy-efficiency trade-off at 57% MMLU and 59 tokens/s, while Llama 3.2 (3B) suits latency-critical applications at 175 tokens/s. We provide per-token energy at package and system levels with CO₂ estimates for India and US grids. Taken together, these results show Apple Silicon delivering a 30–40× per-token energy advantage over datacenter GPUs in single-user deployment, positioning consumer hardware as a credible platform for sustainable LLM inference and arguing for energy-per-token to join accuracy and throughput as a standard benchmarking metric.

Index Terms—Green AI, Large Language Models, Energy Efficiency, Apple Silicon, Sustainable AI, Edge Computing, Carbon Footprint, LLM Inference, Ollama

I. INTRODUCTION

Large Language Models (LLMs) now drive a wide spectrum of production workloads, routinely handling code generation [1], summarization [2], question answering [3], and conversational AI [4]. These models, initially confined to cloud-based APIs, are increasingly being deployed on consumer devices for privacy-sensitive, latency-critical, and offline applications [5].

While significant attention has been paid to the energy costs of training large models (Strubell et al. [6] estimated that training a single Transformer model emits as much CO2CO_{2} as five cars over their lifetimes, and Patterson et al. [7] documented that training GPT-3 consumed 1,287 MWh), the cumulative environmental impact of inference is increasingly dominant [8]. Luccioni et al. [9] estimated that inference accounts for 60–90% of the total lifecycle energy of deployed ML systems, a proportion that grows as models serve millions of daily queries.

Recent work has begun quantifying inference energy, revealing enormous variation across hardware and models. In datacenter settings, energy consumption varies by over 70×70\times across 30 commercial LLMs, with reasoning models consuming over 33 Wh per long prompt [10]. At the other end of the scale, small quantized models on a Raspberry Pi 4 draw about 2.61 J per token [11]. Decoding takes up most of the energy budget across all hardware types. Stopping generation early when tokens are not needed can cut energy use by 44–89% [12]. Because of this, researchers argue that energy-per-token should be a standard metric alongside throughput and accuracy [13], [14].

Missing this edge data creates a blind spot. Strict data residency rules in healthcare and finance force models to run locally rather than in the cloud [5]. Furthermore, developers overwhelmingly use tools like Ollama and llama.cpp for local prototyping [15]. Second, energy cost is often the decisive factor when choosing between cloud and edge deployment, yet no per-token energy data exists for the consumer hardware that these users actually rely on. Without such measurements, Green AI recommendations derived from datacenter benchmarks risk irrelevance for the fastest-growing segment of LLM adoption.

Despite this growing body of work, one widely deployed platform has received no attention: Apple Silicon. M-series processors now power tens of millions of developer and consumer machines worldwide [16], yet no study has systematically profiled LLM inference energy on this hardware. This gap is worth closing because Apple Silicon's unified memory architecture (UMA) departs sharply from discrete-GPU designs: CPU, GPU, and Neural Engine all share one physical memory pool, with no PCIe or NVLink bus in the data path. In practice, UMA removes the memory-transfer overhead that limits discrete-GPU inference, permits zero-copy data sharing across compute units, and lets quantized models that would exhaust GPU VRAM on NVIDIA hardware run comfortably within a single pool [17].

Our work fills this gap through four contributions:

  1. GreenBench, a reproducible energy benchmarking framework for open-source LLM inference on Apple Silicon. Its methodological contribution is a dual-source measurement pipeline that fuses direct hardware power readings from macOS powermetrics with Ollama's nanosecond-precision per-call timing to attribute energy at both CPU+GPU package and full-system granularity, a level of decomposition absent from prior work that relies solely on wall-power meters or manufacturer TDP ratings. We evaluate five architecturally diverse model families across three NLP tasks, amassing over 1,500 inference runs.

  2. Direct power measurements obtained with macOS powermetrics, showing that the M4 Pro's CPU+GPU package consumes just 0.47W during sustained inference while the full system draws an estimated 8–12 W.

  3. Per-token energy figures at both package and system granularity, alongside CO₂-equivalent estimates computed from the Indian grid (708 g CO₂/kWh) and the US grid (390 g CO₂/kWh) to support region-aware comparisons.

  4. Pareto-optimal deployment guidance that weighs accuracy against speed and energy cost. On balance, Qwen 2.5 (7B) offers the best trade-off, while Llama 3.2 (3B) is the model to choose when raw efficiency is the only thing that matters.

References (34)