Hardware
Apple Silicon MacBook Air
Memory decides the model: 16 GB runs Qwen3 8B Q4, and 24 GB or 32 GB adds Qwen3 14B with a longer context. The M5 reads memory at 153 GB/s.
At a glance
- Model sizes to check
- 16 GB: Qwen3 8B Q4 · 24–32 GB: Qwen3 14B Q4
- Likely bottleneck
- Installed memory determines which model can load. The fanless design also makes sustained operation a separate question from a single successful reply.
- Good first workload
- On a 16 GB Air, start with Qwen3 8B Q4_K_M at 4,096 tokens and repeat a short rewrite with normal apps open. On an older 8 GB Air, use only the reduced-context small-model setup below.
- Upgrade trigger
- Choose a Mac with more memory for a demonstrated capacity shortfall. When a model fits but long sessions are too slow, compare the intended chip and cooling under the same workload.
On a MacBook Air, the memory you bought decides which models load. Start with Qwen3 8B Q4_K_M on a 16 GB Air, Qwen3 1.7B in Ollama at 2,048 tokens on an older 8 GB Air, and keep Qwen3 14B for 24 GB or more.
This page covers Apple Silicon Airs, including older ones. It does not cover Intel models.
Identify your Air
Open the Apple menu → About This Mac and note the chip and memory. Disk space holds downloads; memory holds the running model. A larger SSD does not turn an 8 GB computer into a 16 GB one.
Apple's M5 Air, announced in March 2026, comes in 13-inch and 15-inch sizes with 16 GB, 24 GB or 32 GB of unified memory and 512 GB to 4 TB of storage. Older Airs differ: the M1 Air offered 8 GB or 16 GB, and the M4 Air 16 GB, 24 GB or 32 GB. Unified memory is shared by the processor, the graphics, macOS and every open app.
What the memory changes
Memory size decides which models load. On a 16 GB Mac the calculator gives a working budget of 12.0 GiB after macOS. Except for the 8 GB Ollama row, memory totals below use the catalogued Q4_K_M GGUF in LM Studio, 4,096 tokens, FP16 conversation memory, one user and a 20% safety allowance. The Ollama library downloads shown are separate files:
| Installed memory | First model | What else fits |
|---|---|---|
| 8 GB (older Airs) | Ollama qwen3:1.7b Q4_K_M (1.4 GB package), at 2,048 tokens | About 2.18 GiB of 5.50 GiB available; 4,096 tokens needs 2.45 GiB. Qwen3 4B Q4 also fits (3.79 GiB in Ollama at 4,096 tokens) with less room for other apps. See the 8 GB worked budget. |
| 16 GB | Qwen3 8B Q4_K_M (qwen3:8b, 5.2 GB) at 4,096 tokens: about 6.8 GiB | Qwen3 14B Q4 also fits (10.6 GiB in LM Studio, 10.1 GiB in Ollama) but leaves 1.4 to 1.9 GiB for everything else. Drop to Qwen3 4B if memory pressure rises. |
| 24 GB | Qwen3 8B, with room for documents and other apps | Qwen3 14B Q4 (9.3 GB) at a short context. |
| 32 GB (budget 28.0 GiB) | Qwen3 8B or 14B | Qwen3 14B even at 32,768 tokens (about 15.9 GiB in LM Studio, of which 5.0 GiB is conversation memory). Not Llama 3.3 70B Q4, whose weights alone are 39.6 GiB. |
Buy memory for the model you want to load. For a memory amount not listed, enter it in the RAM and VRAM calculator rather than rounding up.
macOS also limits how much unified memory the GPU part of the chip may use. Apple does not publish the default; community reports put it near two thirds of memory on Macs with 32 GB or less, about 10.7 GiB on a 16 GB Air. Leave extra room when a model runs on the GPU.
What the chip changes
Memory bandwidth is how fast the chip can read the model from memory. The M5 in the current Air moves 153 GB/s. That limits Qwen3 8B Q4 (5.2 GB) to about 29 tokens a second and Qwen3 14B Q4 (9.3 GB) to about 16.5. The example divides the M5 Air's advertised memory bandwidth by the size of a dense Qwen weight file. To see what your fanless Air sustains, run the same prompt after loading and again after a normal work session, with the charger and power mode unchanged. The M5 Pro and M5 Max advertise roughly two to four times the M5's memory bandwidth.
Pick an app and run the first model
Ollama's Mac app needs macOS Sonoma 14 or newer. LM Studio also needs macOS 14, recommends 16 GB of memory, and loads both GGUF files and MLX downloads on Apple silicon. A GGUF file and an MLX download are different files; match the one you choose to the app. LM Studio's requirements page lists M1–M4 chips, while its 0.3.38 release notes fix an M5 MLX engine problem, so keep the app and its engines up to date on an M5.
With Ollama, choose the commands for your memory before sending a prompt. On an 8 GB Air, use ollama run qwen3:1.7b followed by /set parameter num_ctx 2048. With 16 GB or more, use:
ollama run qwen3:8b
/set parameter num_ctx 4096
Then run the conditional-rewrite check in the 16 GB setup guide and check that it preserves the condition and the absence of approval. A successful answer checks that small task, not general accuracy. Repeat the same context setting after reopening, before sending the prompt. While the model is loaded, run ollama ps in another Terminal window: CONTEXT should match 2048 for that 8 GB experiment, or 4096 for the larger-memory example.
Check a long session on the fanless Air
Open the browser tabs, word processor and document viewer you normally need. In Activity Monitor → Memory, watch Memory Pressure and Swap Used before loading the model, after a first answer, and during a 20–30-minute session of real work.
If pressure stays high and swap keeps growing while answers stall, use a smaller model, a shorter context or fewer open apps. If pressure stays low but answers are slow, the chip's speed is the limit, not memory. Repeat the same prompt in a fresh conversation, with the same power settings, before blaming heat: a growing conversation or a background process can also slow it down.
Use a hard surface and keep the vents clear. Apple specifies an operating range of 10–35°C for these laptops. Keep Low Power Mode and the charger the same when you compare runs.
Working offline
Download the model and app before disconnecting, then quit the app, turn off Wi-Fi and repeat a chat. Ollama can also use cloud models; its FAQ explains how to turn cloud features off with OLLAMA_NO_CLOUD=1 or its server settings file. Its local server listens on 127.0.0.1:11434, so only this Mac can reach it unless you change that. LM Studio has optional cloud services too; check each provider, tool and synced folder you turn on.
When to upgrade
Keep your Air if a useful model runs alongside your normal apps. Consider more unified memory when your documents and normal work keep forcing swapping or a smaller model than you need. A faster chip with the same memory does not let a larger model load. Look at a MacBook Pro when the model you need fits but answers too slowly during long sessions.
The example Qwen3 models use the Apache 2.0 license; the apps and any connected services have their own terms.
Related pages
Sources
- M5 Air specifications, M5 Air announcement, M1 Air specifications, M4 Air specifications and MacBook Pro specifications.
- Apple memory-pressure guidance and temperature guidance.
- Ollama macOS requirements, FAQ, context settings and Qwen3 downloads.
- LM Studio requirements, M5 engine fix and offline operation.
- Community reports of the macOS GPU memory limit.
