Motivation
Since I decided to run Bonsai (llama-server) on my Mac mini 24/7, I suddenly became curious about how much electricity it actually uses, so I looked into it. In addition to Apple's official specifications, I also performed actual measurements using the powermetrics command, so I will summarize the results and compare them with common home appliances.
Apple's official specifications
According to Apple's official spec sheet (M4, 16GB/256GB model), the values are as follows.
Idle: 4W
Maximum load: 65W
The M4 Pro model is slightly higher, at 5W when idle and 140W at maximum load.
Trying actual measurements: powermetrics command
If you want to know more accurate figures, you can check the real-time power consumption using the powermetrics command.
sudo powermetrics --samplers cpu_power,gpu_power -i 1000
cpu_power: Power consumption around the CPU
gpu_power: Power consumption around the GPU
-i 1000: Specify the sampling interval in milliseconds (every 1 second)
As a result of sampling several times, the following values were obtained.
CPU Power: 58–111 mW
GPU Power: 86–98 mW
ANE Power: 0 mW (Neural Engine is completely stopped)
Combined Power: 146–206 mW (roughly 0.15–0.2W)
Looking at the residency of the CPU usage, it was mostly over 90% idle, which was truly a snapshot of it in standby mode.
Note: This is not the 'power consumption from the wall'The values displayed here are strictly the power consumption of the SoC's internal CPU/GPU/ANE dies only. The following are not included.
Memory (RAM)
SSD
Wi-Fi/Bluetooth module
Power circuit conversion loss
Power supply to peripherals via USB ports
Therefore, the difference between Apple's official rating of "4W at idle" and the measured "around 0.2W" is not a contradiction; it is simply because the measurement scope is different. The idea is that the SoC core itself uses very little power, while the rest is consumed by peripheral circuits, memory, and the SSD.
Comparing with familiar home appliances
I have listed some reference power consumption values.
Smartphone charger (standby): 0.1–0.5W
Mac mini (M4, at idle): around 4W
Wi-Fi router: 5–10W
1 LED light bulb: 5–10W
Laptop (in use): 20–60W
Electric fan: 30–60W
Mac mini (M4, at full load): max 65W
Refrigerator (compressor running): 100–200W
Desktop PC (standard): 100–300W
LCD TV (40–50 inches): 100–150W
Rice cooker (during cooking): 700–1300W
Air conditioner (cooling, for 6-tatami room): 500–800W (higher during startup)
Microwave oven: 600–1500W
Hair dryer: 1000–1200W
Electric kettle: 1200–1400W
Where the Mac mini stands
When lined up like this, you can see that the Mac mini's 4W idle power consumption is about the same level as the standby power of a smartphone charger, making it quite low among home appliances. Even at full load of 65W, it is about 1/20th that of an electric kettle or hair dryer.
Based on the measured power consumption of the SoC core (0.15–0.2W), the "actual additional power consumption" while running Bonsai is minimal, feeling like less than that of a single Wi-Fi router in standby.
Cost perspective when running 24 hours a day
Here is the calculation assuming Bonsai is run 24 hours a day, 365 days a year at an average of about 10W (somewhere between idle and a slightly loaded state).
Annual power consumption: 10W × 24h × 365 days = 87.6kWh
Electricity cost (calculated at approx. 31 yen per 1kWh): approx. 2,700 yen/year
Compared to the annual electricity cost of a single refrigerator (roughly around 10,000 yen), this is calculated to be quite inexpensive. I felt that as a server running constantly, it is a very excellent choice in terms of electricity costs as well.
Summary
Apple's official values are 4W at idle and 65W at maximum (for M4)
When measured using the powermetrics command, the SoC core alone is about 0.15–0.2W (the range differs from power consumption from the wall)
Compared to home appliances, the Mac mini's idle power consumption is at the same level as the standby power of a smartphone charger and is quite low
Even if run 24 hours a day, 365 days a year, the annual electricity cost is expected to be within a few thousand yen
I found that the Mac mini is quite excellent in terms of power consumption as a server that runs constantly.