﻿# M5 MacBook Air: two sustained inference tests and their limits

Owner tests show M5 Air generation slowing under continuous load. Keep the MLX and Metal methods separate when interpreting throughput and thermal effects.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/m5-macbook-air-sustained-mlx-metal-owner-tests/
Language: en

A fanless M5 MacBook Air can finish short inference requests quickly while settling to a lower rate under continuous work. Two owner-published measurements illustrate that distinction, but they use different machines, runtimes and timing windows. Their percentages should remain separate observations rather than becoming one universal thermal derating factor.

## The MLX experiment measures a sustained trajectory

[Zach Rattner's report](https://zachrattner.com/projects/ai-mac-cluster/fanless-benchmarking) uses an M5 Air with 32 GB and MLX. In ten-minute Qwen3-30B-A3B 4-bit decode cells, rounded throughput falls from 57 to 44 tokens/s on battery and from 57 to 39 on mains. Decode uses a 512-token prompt and 256 generated tokens. The reported rates compare opening and final 30-second buckets, rather than a single isolated request.

The author observes a decline that settles during the run. That supports sizing continuous work from a sustained region of this trace; it does not establish that every M5 Air or model retains the same fraction. A battery-versus-mains difference is also an observed association here, not a controlled identification of a particular charging component as the cause.

## The Metal experiment has another denominator

The [privateSLM measurement](https://www.privateslm.dev/blog/local-llm-speed-m5-macbook-air.html) uses a 24 GB M5 Air, macOS 26.5 and llama.cpp b10488 with layers on Metal. Its five-minute continuous-generation test reports Qwen2.5 Coder 7B falling from 27.7 tokens/s in the first 15-second window to 16.1 in the final minute. Context is emptied when full, and that reset time is excluded.

The same article's short-burst table selects the fastest pass after repeated measurement. That table therefore answers another question than the prolonged run. Different models, memory capacities, software and aggregation rules prevent treating the privateSLM decline as a replication of Rattner's exact percentage. The shared practical observation is that a brief speed table can overstate prolonged generation capacity.

## Separate heat from compilation, caching and memory pressure

The [published MLX harness and evidence](https://gist.github.com/zachrattner/05783d4f493fe42f490986a392bcea12) document prebuilt prompts, discarded compilation warmup and subsequent cooling before measurement. They also retain swap and free-memory observations. These controls address alternative explanations for a changing rate; they are part of the experiment, not incidental setup details.

For a local reproduction, record the actual model artifact, quantization, software versions, power mode and duty cycle. Log prompt processing separately from token generation. Track context length, cache reuse and paging alongside throughput. The [benchmark-method guide](/journal/inference-benchmark-method/) explains why a decline cannot be attributed to heat merely because it appears over time. Ambient conditions and repeated sessions would strengthen a thermal comparison; these reports do not provide a controlled ambient-temperature sweep.

## Translate the observation into the intended workload

An interactive task with reading pauses does not continuously load the system like a back-to-back generation loop. Conversely, an automated translation queue may spend much of its execution after the initial burst. Measure completion time for the actual request mix, keeping cooling pauses inside the boundary if they are part of normal use.

Neither report establishes a universal actively cooled comparison or measured full-discharge battery lifetime. Preserve that limit when using its results. Keep the runtime and workload record with later comparisons, following the [software-stack reproducibility guide](/journal/software-stack-reproducibility/). The useful acceptance result is a throughput-over-time trace for the intended operation, accompanied by its conditions, rather than a single cold number presented as long-session performance.
