Seedlabs
Source research

Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency

Erik Johannes Husom, Arda Göknil, Merve Astekin, Lwin Khin Shar, Andre Kåsen, Sagar Sen et al. · 2025 · 99 citationsRead the paper

Deploying Large Language Models (LLMs) on edge devices presents significant challenges due to computational constraints, memory limitations, inference speed, and energy consumption. Model quantization has emerged as a key technique to enable efficient LLM inference by reducing model size and computational overhead. In this study, we conduct a comprehensive analysis of 28 quantized LLMs from the Ollama library, which applies by default Post-Training Quantization (PTQ) and weight-only quantization techniques, deployed on an edge device (Raspberry Pi 4 with 4 GB RAM). We evaluate energy efficiency, inference performance, and output accuracy across multiple quantization levels and task types. Models are benchmarked on five standardized datasets (CommonsenseQA, BIG-Bench Hard, TruthfulQA, GSM8K, and HumanEval), and we employ a high-resolution, hardware-based energy measurement tool to capture real-world power consumption. Our findings reveal the trade-offs between energy efficiency, inference speed, and accuracy in different quantization settings, highlighting configurations that optimize LLM deployment for resource-constrained environments. By integrating hardware-level energy profiling with LLM benchmarking, this study provides actionable insights for sustainable AI, bridging a critical gap in existing research on energy-aware LLM deployment.

What the full text shows

Working prototype
  • Quantization significantly reduces energy consumption per response for LLaMA3.2_1b and qwen2.5_0.5b. — 52% and 54% reduction vs. fp16 (Deployed on Raspberry Pi 4)
  • qwen2.5_0.5b is the most energy-efficient model family. — 2.61 J/token (Averaged across five benchmark datasets)
  • Gemma2_2b is the least energy-efficient model family. — 9.35 J/token (Averaged across five benchmark datasets)
  • qwen2.5_0.5b is significantly more efficient than other model families. — 3–3.5 times more efficient (Based on energy per token)
  • Idle power consumption of the edge device was measured as a baseline. — 2.85W (Raspberry Pi 4 measured over 104 minutes)
Setup
Raspberry Pi 4 (4GB RAM, quad-core Cortex-A72 1.5 GHz), Joulescope power analyzer, and five datasets (CommonsenseQA, BIG-Bench Hard, TruthfulQA, GSM8K, HumanEval).
How
The researchers deployed 28 quantized LLMs from the Ollama library on a Raspberry Pi 4, using a Joulescope power meter for hardware-level energy profiling. They evaluated energy efficiency, latency, and accuracy across five standardized datasets using Post-Training Quantization (PTQ) and weight-only quantization.
Limitations
Extreme compression (q3/q4) can degrade performance in complex reasoning tasks. · Energy measurements include background processes, requiring baseline subtraction.

Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it