llmrun

Apple · M5 · Laptop

Best AI Models for MacBook Air 13" M5 (16 GB)

Runs 9B models well; 14B only just fits in 12.5 GB, and 27–31B doesn't fit.

16 GB unified12.5 GB for models153.6 GB/s13 TFLOPS FP162026

What LLMs can the MacBook Air 13" M5 run?

#ModelSpeedReasoning ScoreQuant · Memory
1
Q4_K_M · 6.6 GB
16.9 tok/sQ4_K_M · 6.6 GB
2
Qwen3 8BAlibaba
Q4_K_M · 7.6 GB
19.5 tok/sQ4_K_M · 7.6 GB
3
Q4_K_M · 7.9 GB
20.3 tok/sQ4_K_M · 7.9 GB
4
Q4_K_M · 5.0 GB
37.9 tok/sQ4_K_M · 5.0 GB
5
Q4_K_M · 5.6 GB
20.2 tok/sQ4_K_M · 5.6 GB
See all 257 models on the MacBook Air 13" M5 →Bars = traction for models without a Score yet
Task rankings use that task's benchmarks, topped up from Overall when short; bars mark well-known models with no Score yet.

About the MacBook Air 13" M5 (16 GB)

The MacBook Air 13" M5 is a mid-range 16 GB laptop: it runs 9B models well. Among 16 GB machines, only the M1 Pro and M2 Pro write faster. macOS keeps about 3.5 GB, leaving 12.5 GB for models. With 13 TFLOPS it reads long prompts faster than most 16 GB machines: a 4K-token prompt takes 31 s. M5 generation, released 2026.

Speed in 16 GB#3154 GB/s
Prompt reading#113 TFLOPS
For models12.5 GBmacOS keeps 3.5 GB
ChipM5released 2026

MacBook Air 13" M5 strengths and weaknesses

Strengths

  • Runs 7–9B models: Qwen3.5 9B at 16.9 tok/s in 6.6 GB

Weaknesses

  • 27–31B models don't fit: Qwen3.8 27B needs 17.9 GB at Q4 vs 12.5 GB usable here
  • Little room for context: Qwen3 14B uses 11.9 of 12.5 GB usable, 0.6 GB left
  • Slow prompt reading: A 32K-token prompt on Qwen3.5 9B waits 4.1 min for the first token
  • No CUDA: vLLM, AWQ, GPTQ and FP8 builds don't run; use GGUF or MLX

Memory for models

12.5 GB of 16 GB
9B6.6 GB14B11.9 GB
9B6.6 GB14B11.9 GB
For models 12.5 GBmacOS keeps 3.5 GBModel size at Q4

27–31B models need 17.9 GB at Q4, more than the 12.5 GB available. The 24 GB config fits Qwen3.8 27B →

Similar devices and alternatives

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.

MacBook Air 13" M5 tokens per second by model size

Output speed depends on memory bandwidth (154 GB/s). Grey rows need more than the 12.5 GB available.

  1. 9BQwen3.5 9B · Q4_K_M · 6.6 GB
    16.9tok/s
  2. 14BQwen3 14B · Q4_K_M · 11.9 GB tight · Q4_K_M
    11.3tok/s
  3. 27–31BQwen3.8 27B · does not fit
    needs 17.9 GB
  4. 35B MoEQwen3.6 35B A3B · does not fit
    needs 22.0 GB
  5. 70BLlama 3.3 70B Instruct · does not fit
    needs 51.3 GB
  6. 120B MoEGPT OSS 120B · does not fit
    needs 70.8 GB

Estimated speeds: Q4_K_M, 4K context, one user. How we estimate

Chip generations: writing vs compute

M1 → M5
Writing speed (tok/s)Compute (TFLOPS FP16)
1×2×3×M12020M22022M32024M42025M52026M1 · 5.2 TFLOPS FP16M1 · 7.5 tok/s · 68.3 GB/sM2 · 7.2 TFLOPS FP16M2 · 11.0 tok/s · 100 GB/sM3 · 7 TFLOPS FP16M3 · 11.3 tok/s · 102.4 GB/sM4 · 6.9 TFLOPS FP16M4 · 13.2 tok/s · 120 GB/sM5 · 12.8 TFLOPS FP16M5 · 16.9 tok/s · 153.6 GB/sCompute 2.5×Writing +125%
1×2×3×M12020M22022M32024M42025M52026M1 · 5.2 TFLOPS FP16M1 · 7.5 tok/s · 68.3 GB/sM2 · 7.2 TFLOPS FP16M2 · 11.0 tok/s · 100 GB/sM3 · 7 TFLOPS FP16M3 · 11.3 tok/s · 102.4 GB/sM4 · 6.9 TFLOPS FP16M4 · 13.2 tok/s · 120 GB/sM5 · 12.8 TFLOPS FP16M5 · 16.9 tok/s · 153.6 GB/sCompute 2.5×Writing +125%

Writing speed follows memory bandwidth and barely moved: 7.5 to 16.9 tok/s since the M1. Compute, which sets how fast prompts are read, grew 2.5×. Indexed to the M1; speeds on Qwen3.5 9B, same 16 GB.

All 257 models on the MacBook Air 13" M5

Featured only

Best quant that fits in 12.5 GB, ordered by llmrun Score. Fit grades how well it runs here, S best. How ranking works

LLM models compatible with MacBook Air 13" M5 (16 GB) — ranked by Score, recency and Fit
ModelVRAMScoreFit
Qwen3.5 9B
9.7B·Q4_K_M·16.9 t/s·262K ctx
6.6 GBB56, Decent
Qwen3.5 4B
4.7B·Q4_K_M·33.0 t/s·262K ctx
3.4 GBA72, Runs well
Qwen3.8 27B
27.8B·IQ3_XXS·9.3 t/s·262K ctx
12.0 GBD23, Barely runs
Gemma 4 12B IT
12.0B·Q4_K_M·13.1 t/s·262K ctx
9.0 GBB52, Decent
Gemma 4 E4B IT
8.0B·Q4_K_M·20.2 t/s·131K ctx
5.6 GBB60, Decent
Ling 3.0 Tiny
7.9B·Q4_K_M·74.1 t/s·131K ctx
5.5 GBS86, Runs great
Gemma 4 E2B IT
5.1B·Q4_K_M·31.3 t/s·131K ctx
3.5 GBA71, Runs well
MiniCPM5 2B
2.5B·Q4_K_M·56.6 t/s·131K ctx
2.5 GBA82, Runs well
LFM2.5 8B A1B
8.5B·Q4_K_M·66.9 t/s·128K ctx
5.6 GBS85, Runs great
Ornith 1.0 9B
9.4B·Q4_K_M·17.3 t/s·262K ctx
6.5 GBB57, Decent
MiMo V2.6 Distill Qwen 9B
9.4B·Q4_K_M·17.3 t/s·262K ctx
6.5 GBB57, Decent
Gemma 4 26B A4B IT
25.8B·Q3_K_S·40.1 t/s·262K ctx
12.3 GBC44, Usable
Apertus V1.5 8B
8.9B·Q4_K_M·18.3 t/s
8.5 GBB58, Decent
ZAYA1 VL 8B
9.7B·Q4_K_M·81.8 t/s·33K ctx
7.5 GBS88, Runs great
1.2B·Q4_K_M·105.4 t/s·8K ctx
1.1 GBS92, Runs great

MacBook Air 13" M5 specs

Specs

Chip
M5
CPU cores
10
GPU cores
8
Unified memory
16 GB
For models
12.5 GB (macOS keeps 3.5 GB)
Memory bandwidth
153.6 GB/s
FP16 (dense)
12.8 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 (16 GB)?

About 12.5 GB of the 16 GB. macOS keeps roughly 3.5 GB for itself and other apps.

What is the largest model the MacBook Air 13" M5 (16 GB) can run?

GPT OSS 20B (20.9B) at Q4_K_S uses 12.4 GB, 99% of the available memory, and runs at about 36.4 tok/s.

Can the MacBook Air 13" M5 (16 GB) run Qwen3.5 9B?

Yes. Qwen3.5 9B fits at Q4_K_M, using 6.6 GB of the 12.5 GB available, and it is the best model that runs well on this machine.

Can the MacBook Air 13" M5 (16 GB) run 27–31B models?

No. Qwen3.8 27B needs 17.9 GB at Q4, more than the 12.5 GB available.

How long does the MacBook Air 13" M5 (16 GB) take to read a long prompt?

On Qwen3.5 9B, about 31 s for a 4K-token prompt and 4.1 min for a 32K-token document before the first word appears.

Is renting a GPU cheaper than buying the MacBook Air 13" M5?

A Tesla V100 (16 GB) rents from $0.10/hr.