Can a MacBook Air M5 (15-inch), 16GB run local LLMs?
Yes — 12 of the 48 current models on this site fit in its 10.5 GB of usable memory, and two more if you keep the window shorter than 32k. The strongest it holds, Gemma 4 12B, runs at 14 tok/s with a 32k window, worked out from memory bandwidth. Whether that saves you money is a different question: at $1,499 and 500k tokens a day, it pays back in 118 years.
Run the numbers on this machine
What the MacBook Air M5 (15-inch), 16GB runs
They do not all hold the same window. The weights are a fixed size, but the key-value cache grows with every token you keep, so what is left of 10.5 GB after the weights is how far the context goes. On 7 of the 12 below, this machine's memory is what runs out first: Ministral 3 8B stops soonest, at 32k. The rest reach 256k, where the calculator's list ends, or the longest setting their own context limit allows.
| Model | Speed | Class | Memory | Longest context |
|---|---|---|---|---|
| Gemma 4 12BQ4_K_M | 14 tok/s estimated | Below every hosted tier | 8.0 GB | 128kmemory |
| Qwen3.5 9BQ4_K_M | 17 tok/s estimated | Below every hosted tier | 6.8 GB | 128kmemory |
| MiniCPM5 2BQ4_K_M | 39 tok/s estimated | Below every hosted tier | 3.0 GB | 128k |
| Qwen3.5 4BQ4_K_M | 30 tok/s estimated | Below every hosted tier | 3.8 GB | 128kmemory |
| Ling 3.0 tinyQ4_K_M | 45 tok/s estimated | Below every hosted tier | 5.0 GB | 128k |
| Gemma 4 E4BQAT Q4_0 | 13 tok/s estimated | Below every hosted tier | 5.7 GB | 128k |
| LFM2.5 2.6BQ4_K_M | 52 tok/s estimated | Below every hosted tier | 2.2 GB | 128k |
| Ministral 3 8BQ4_K_M | 12 tok/s estimated | Below every hosted tier | 9.8 GB | 32kmemory |
| LFM3 1.7BQ4_K_M | 76 tok/s estimated | not yet placed | 1.5 GB | 256k |
| Ornith 1.5 9BQ4_K_M | 17 tok/s estimated | not yet placed | 6.9 GB | 128kmemory |
| Spark-X2.5 4BQ4_K_M | 30 tok/s estimated | not yet placed | 3.9 GB | 128kmemory |
| Spark-X2.6 4BQ4_K_M | 24 tok/s estimated | not yet placed | 4.8 GB | 128kmemory |
Speed and memory are at 32k context, the setting the calculator starts on; the memory column is the weights plus the cache for that much of it. Each speed says how it was arrived at, and every one here is estimated from this machine's 153 GB/s of memory bandwidth rather than taken from a published benchmark. There is a page on how that sum works, and what each size needs, and one on what 16 GB runs, machine by machine. The longest context is the longest setting the calculator offers that this machine still holds the model at, cache included, and each one opens the calculator on that model at that length. A figure tagged memory is one this machine ran out of room for, and the rest are stopped by the model's own limit or by the end of the list.
For scale, the calculator starts from 80 tok/s for a hosted API and times a local machine against it. Nothing above reaches it, and the quickest is 76 tok/s.
On a laptop, sustained speed drops once the chassis warms up and the fans cap out, so a desktop with the same chip will hold a higher tokens/sec over a long generation than the figures here suggest.
The 48 counted above are the current models. This site prices 16 superseded ones as well, because people still run them, and this machine holds three of those at 32k, strongest first: Llama 3.1 8B Instruct at Q4_K_M, Qwen3 8B, Gemma 3 12B it. Each of those pages asks whether the model is still worth running.
Two more, at a shorter window
The table above counts what fits at 32k, the context the calculator starts on. Two more models fit this machine at a shorter one. Same weights, smaller cache.
| Model | Longest window it fits | Needs there | Needs at 32k |
|---|---|---|---|
| Granite 4.2 8BQ4_K_M | 16k | 8.0 GB | 11 GB |
| Ministral 3 14BQ4_K_M | 8k | 9.6 GB | 14 GB |
Each window is the longest setting the calculator offers that this machine still holds the model at, and it opens the calculator on that model at that length. The memory figures are the weights plus the key-value cache at that window, against the 10.5 GB this machine's GPU can use.
Other machines to weigh against the MacBook Air M5 (15-inch), 16GB
| Machine | Price | Memory | Models that fit | Pay-back |
|---|---|---|---|---|
| The rest of the MacBook Air range | ||||
| MacBook Air M5 (13-inch), 16GB | $1,299 | 16 GB | 12 | Pays back in 102 years |
| Nearest in price elsewhere on the list | ||||
| Mac mini M6, 32GB | $1,299 | 32 GB | 22 | Pays back in 82 years |
| AMD Radeon AI PRO R9700, 32GB | $1,299card only | 32 GB | 32 | Pays back in 84 years |
| Strix Halo Corsair AI Workstation 300, 64GB | $1,700 | 64 GB | 32 | Pays back in 121 years |
| MacBook Pro M5 (14-inch), 16GB | $1,999 | 16 GB | 12 | Pays back in 157 years |
| NVIDIA GeForce RTX 5090, 32GB | $1,999card only | 32 GB | 32 | Pays back in 123 years |
Every row uses the same defaults as the figures above: 500k tokens a day at 15:1 input to output, 32k context, and each machine's strongest model that fits, counted against the same 48 current models. Graphics cards are priced as the card alone, so add the PC around one before comparing it with a complete computer. All seven cards here are ranked by what each one holds.
Head to head with another computer: Mac mini M5 Pro, 24GB · Mac Studio M5 Max, 128GB · DGX Spark, 128GB · GMKtec EVO-X2, 128GB · MacBook Pro M5 Pro (16-inch), 64GB · MacBook Air M5 (13-inch), 16GB. With a graphics card: RTX PRO 6000 Blackwell, 96GB · Radeon AI PRO R9700, 32GB. There are 111 machine match-ups on the site.
The specifics
- Chip
- M5 (15-inch) — 10-core CPU / 10-core GPU
- Memory bandwidth
- 153 GB/s
- Usable by the GPU
- 10.5 GB — macOS lets the GPU wire roughly two-thirds of unified memory by default (llama.cpp discussion #2182: 66.7% at 32 GiB or less, 75% above). Raise it with `sudo sysctl iogpu.wired_limit_mb`.
- Power under load
- 65 W (stand-in) — Apple has published no power figures for the 2026 Macs, and none at all for sustained GPU load on a laptop. Stand-in: the desktop maximum for the equivalent chip (M4 Mac mini, 65 W). A laptop draws less than that, so the electricity line here is an over-estimate.
- Availability
- Shipping. Fanless, so it throttles hardest of any Mac here under a long generation.
- Sources
- Apple