Apple · M5 · Laptop
Best AI Models for MacBook Air 13" M5 (24 GB)
Runs 9B models well and fits 35B MoE; 14B and 27–31B fit but are slow (15 and 8 tok/s), and 70B doesn't fit in 20.5 GB.
| # | Model | Speed | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB · 37.8 t/s | 37.8 tok/s | Q4_K_M · 16.5 GB | |
| 2 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB · 21.4 t/s | 21.4 tok/s | Q4_K_M · 6.6 GB | |
| 3 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB · 38.8 t/s | 38.8 tok/s | Q4_K_M · 3.4 GB | |
| 4 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 40.7 t/s | 40.7 tok/s | Q4_K_M · 13.1 GB | |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB · 51.1 t/s | 51.1 tok/s | Q4_K_M · 15.0 GB |
| # | Model | Speed | Coding Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB · 37.8 t/s | 37.8 tok/s | Q4_K_M · 16.5 GB | |
| 2 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 40.7 t/s | 40.7 tok/s | Q4_K_M · 13.1 GB | |
| 3 | Q4_K_M · 7.9 GB · 25.3 t/s | 25.3 tok/s | Q4_K_M · 7.9 GB | |
| 4 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB · 21.4 t/s | 21.4 tok/s | overall | Q4_K_M · 6.6 GB |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB · 51.1 t/s | 51.1 tok/s | Q4_K_M · 15.0 GB |
| # | Model | Speed | Reasoning Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Q4_K_M · 16.5 GB · 37.8 t/s | 37.8 tok/s | Q4_K_M · 16.5 GB | |
| 2 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB · 21.4 t/s | 21.4 tok/s | Q4_K_M · 6.6 GB | |
| 3 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 40.7 t/s | 40.7 tok/s | Q4_K_M · 13.1 GB | |
| 4 | Qwen3 8BAlibaba Q4_K_M · 7.6 GB · 24.3 t/s | 24.3 tok/s | Q4_K_M · 7.6 GB | |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB · 51.1 t/s | 51.1 tok/s | Q4_K_M · 15.0 GB |
| # | Model | Speed | Long context Score | Quant · Memory |
|---|---|---|---|---|
| 1 | Qwen3.5 9BAlibabaHow to run → Q4_K_M · 6.6 GB · 21.4 t/s | 21.4 tok/s | Q4_K_M · 6.6 GB | |
| 2 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB · 38.8 t/s | 38.8 tok/s | Q4_K_M · 3.4 GB | |
| 3 | GPT OSS 20BOpenAI Q4_K_M · 13.1 GB · 40.7 t/s | 40.7 tok/s | Q4_K_M · 13.1 GB | |
| 4 | Mistral Nemo Instruct 2407Mistral AI Q4_K_M · 11.0 GB · 17.1 t/s | 17.1 tok/s | Q4_K_M · 11.0 GB | |
| 5 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB · 51.1 t/s | 51.1 tok/s | Q4_K_M · 15.0 GB |
| # | Model | Speed ↓ | llmrun Score | Quant · Memory |
|---|---|---|---|---|
| 1 | GPT OSS 20BOpenAIHow to run → Q4_K_M · 13.1 GB · 40.7 t/s | 40.7 tok/s | Q4_K_M · 13.1 GB | |
| 2 | LFM2.5 24B A2BLiquid AI Q4_K_M · 15.0 GB · 51.1 t/s | 51.1 tok/s | Q4_K_M · 15.0 GB | |
| 3 | Qwen3.5 4BAlibaba Q4_K_M · 3.4 GB · 38.8 t/s | 38.8 tok/s | Q4_K_M · 3.4 GB | |
| 4 | Gemma 4 26B A4B ITGoogle Q4_K_M · 16.5 GB · 37.8 t/s | 37.8 tok/s | Q4_K_M · 16.5 GB | |
| 5 | Qwen3.5 9BAlibaba Q4_K_M · 6.6 GB · 21.4 t/s | 21.4 tok/s | Q4_K_M · 6.6 GB |
The MacBook Air 13" M5 is a mid-range 24 GB laptop: it runs 9B models well and fits 35B MoE. Among 24 GB machines, only the M5 Pro, M4 Pro and M6 write faster. macOS keeps about 3.5 GB, leaving 20.5 GB for models. Prompt reading is its weak spot: a 4K-token prompt waits 11 s before the first word on Gemma 4 26B A4B IT. M5 generation, released 2026.
MacBook Air 13" M5 strengths and weaknesses
Strengths
- Runs 35B MoE models: Qwen3.6 35B A3B at 37.2 tok/s in 19.8 GB
Weaknesses
- 70B models don't fit: Llama 3.3 70B Instruct needs 51.3 GB at Q4 vs 20.5 GB usable here
- Slow on large dense models: Qwen3.8 27B at 8.2 tok/s
- Slow prompt reading: A 32K-token prompt on Gemma 4 26B A4B IT waits 1.5 min for the first token
- No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX
Memory for models
20.5 GB of 24 GB70B models need 51.3 GB at Q4, more than the 20.5 GB available. The 32 GB config fits Inkling 2 Mini →Or rent an A100 (80 GB) from $1.19/hr →
Other memory sizes of the same machine first, then machines and GPUs people weigh against it, each with the one reason it is worth a look. Speeds on Qwen3.5 9B.
Output speed depends on memory bandwidth (154 GB/s). Grey rows need more than the 20.5 GB available.
- 9BQwen3.5 9B · Q4_K_M · 6.6 GB21.4tok/s
- 14BQwen3 14B · Q4_K_M · 11.9 GB14.7tok/s
- 8.2tok/s
- 37.2tok/s
- 70BLlama 3.3 70B Instruct · not at 4-bitneeds 51.3 GB
- 120B MoEGPT OSS 120B · not at 4-bitneeds 70.8 GB
Estimated speeds: Q4_K_M, 4K context, one user. How we estimate
Chip generations: writing vs compute
M1 → M5Writing speed follows memory bandwidth and barely moved: 9.9 to 21.4 tok/s since the M1. Compute, which sets how fast prompts are read, grew 3.1×. Indexed to the M1; speeds on Qwen3.5 9B, same 16 GB.
All 1177 models on the MacBook Air 13" M5
Featured onlyBest quant that fits in 20.5 GB, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works
| Model | Quant | VRAM | Speed | Context | Score | Fit |
|---|---|---|---|---|---|---|
PicoMistral 23MChat | Q4_K_M | 0.3 GB | 171.8 t/s | 1K | S98, Runs great | |
GPT X2 125MChat | BF16 | 0.6 GB | 125.2 t/s | 1K | S95, Runs great | |
Qwen3 4B Instruct 2507ChatFunctions | Q4_K_M | 4.2 GB | 42.9 t/s | 262K | A77, Runs well | |
Qwen3 0.6BChatFunctions | Q4_K_M | 1.7 GB | 104.7 t/s | 41K | S92, Runs great | |
OneRec 1.7BChatFunctions | Q4_K_M | 3.5 GB | 62.8 t/s | 41K | A84, Runs well | |
SmolVLM2 2.2B InstructVision | Q4_K_M | 2.3 GB | 73.1 t/s | 8K | S86, Runs great | |
GLM 4.6V FlashVisionFunctions | Q4_K_M | 7.2 GB | 20.8 t/s | 131K | B61, Decent | |
GPT S 1.4MChat | BF16 | 0.3 GB | 173.8 t/s | 0K | S98, Runs great | |
TLive Omni 4BChatVisionFunctions | BF16 | 13.3 GB | 11.7 t/s | 262K | B50, Decent | |
North Mini Code 1.0ChatCodeFunctions | Q4_K_M | 19.4 GB | 41.2 t/s | 500K | B53, Decent | |
Lumi 4BChatFunctions | Q4_K_M | 2.9 GB | 42.9 t/s | 262K | A77, Runs well | |
Ternary Bonsai 8B UnpackedChatFunctions | Q4_K_M | 7.6 GB | 24.3 t/s | 66K | A65, Runs well | |
KAT Coder V2.5 Dev REAP 50 NVFP4A16ChatCodeFunctions | Q4_K_M | 11.6 GB | 42.1 t/s | 262K | A76, Runs well | |
MiniCPM V 4Vision | Q4_K_M | 3.1 GB | 44.4 t/s | 33K | A77, Runs well | |
| BF16 | 2.7 GB | 49.5 t/s | 41K | A79, Runs well |
Specs
- Chip
- M5
- CPU cores
- 10
- GPU cores
- 10
- Unified memory
- 24 GB
- For models
- 20.5 GB (macOS keeps 3.5 GB)
- Memory bandwidth
- 153.6 GB/s
- FP16 (dense)
- 16 TFLOPS
- Neural Engine
- 38 TOPS
- Released
- 2026-03-11
MacBook Air 13" M5 FAQ
How much memory is available for AI on the MacBook Air 13" M5 (24 GB)?
About 20.5 GB of the 24 GB. macOS keeps roughly 3.5 GB for itself and other apps.
What is the largest model the MacBook Air 13" M5 (24 GB) can run?
Qwen3.6 35B A3B (36.0B) is the largest at 4-bit or better: at IQ4_XS it uses 19.8 GB, 97% of the available memory, and runs at about 37.2 tok/s.
Can the MacBook Air 13" M5 (24 GB) run Gemma 4 26B A4B IT?
Yes. Gemma 4 26B A4B IT fits at Q4_K_M, using 16.5 GB of the 20.5 GB available, and it is the best model that runs well on this machine.
Can the MacBook Air 13" M5 (24 GB) run 70B models?
No. Llama 3.3 70B Instruct needs 51.3 GB at Q4, more than the 20.5 GB available.
How long does the MacBook Air 13" M5 (24 GB) take to read a long prompt?
On Gemma 4 26B A4B IT, about 11 s for a 4K-token prompt and 1.5 min for a 32K-token document before the first word appears.
Is renting a GPU cheaper than buying the MacBook Air 13" M5?
An RTX 5090 (32 GB) rents from $0.46/hr.