Best AI Models for MacBook Air M5 (2026)

Configure your MacBook Air

Apple prices · checked 2026-10-28 ·

01

Screen size.

02

Chip.

03

Processing power.

+$100 for the 10-core GPU at 16 GB: same generation speed (both 153 GB/s), prompt reading about 25% faster.

LFM2.5 8B-A1B · estimated speeds · Prompt-speed source

04

Memory.

05

Storage.

Inside the MacApple list price

Outside the MacAmazon kit · enclosure + drive

Your top 10 models need about 99 GB. 1TB holds them 10 times over.

  • EnclosureUGREEN USB4 NVMe enclosureUSB4, 40Gb/s · ASM2464PD · aluminum fins · M.2 2280 up to 8TB
    Amazon
  • DriveSamsung 990 PRO 1TBPCIe 4.0 NVMe · M.2 2280 · no heatsink, fits the enclosure
    Amazon
Add both to Amazon cart

40Gb/s USB4 enclosure.

Storage does not change model speed.

Keep Ollama's models on the drive
Name the drive Models, run this, then restart Ollama:launchctl setenv OLLAMA_MODELS "/Volumes/Models/ollama"Ollama FAQ

ModelFit may earn a commission from these links.

06

Model filters.

Use case
Min speed
Must run

Best models for MacBook Air M5 · 24 GB

20 models · all uses · any speed · estimated speeds

Context
Runtime
LFM2 24B-A2B Instruct 14.0 GB + 0.2 GB KV of 16.8 GB usable 2.6 GB free at 8k
ModelQuantFitRun
1est. 57 tok/s · Runs well24B moe 2BQ4_K_M14.0 GBRuns welln/a57
2est. 75 tok/s · Lots of room8.3B moe 1.5BQ4_K_M5.5 GBLots of roomn/a75
3est. 16 tok/s · Runs well9B10.7 GBRuns well24.216
4est. 32 tok/s · Runs well26B moe 4BQ4_K_M16.0 GBRuns well29.232
5est. 51 tok/s · Runs well12.1B moe 2.5BQ4_K_M8.1 GBRuns welln/a51llama-server -hf, via llama.cpp
6est. 34 tok/s · Runs well4BQ4_K_M7.9 GBRuns welln/a34
7est. 14 tok/s · Runs well13.5BQ4_K_M9.1 GBRuns well9.714
8est. 17 tok/s · Runs well12B8.0 GBRuns well21.617
9est. 25 tok/s · Lots of room9BQ4_K_M5.8 GBLots of roomn/a25llama-server -hf, via llama.cpp
10est. 26 tok/s · Lots of room9BQ4_K_M5.6 GBLots of roomn/a26
11est. 32 tok/s · Runs well21B moe 3.6BMXFP413.8 GBRuns well17.532
12est. 19 tok/s · Lots of room8.8BQ4_K_M6.4 GBLots of roomn/a19llama-server -hf, via llama.cpp
13est. 46 tok/s · Lots of room4B3.5 GBLots of room19.046
14est. 26 tok/s · Runs well4.5B7.5 GBRuns well13.326
15est. 21 tok/s · Lots of room8.4BQ4_K_M6.0 GBLots of room7.321
16est. 14 tok/s · Runs well14BQ4_K_M11.0 GBRuns well17.614
17est. 8 tok/s · Runs well27BQ4_K_M16.0 GBRuns well33.58
18est. 25 tok/s · Lots of room8.7BQ4_K_M5.7 GBLots of roomn/a25
19est. 29 tok/s · Lots of room7BQ4_K_M5.5 GBLots of room-3.729
20est. 26 tok/s · Lots of room8B6.5 GBLots of room-3.026

Select a row to update the summaryMemory includes 8k contextEstimated speeds · verified run commandsQuality: LLM Stats Score · Data by LLM Stats

See how fast it feels

LFM2 24B-A2B Instruct: ~0.5s to start, then est. 57 tok/s, typical error 10%.

zsh · ollama run lfm2:24b-a2best. 57 tok/s

~ $ ollama run lfm2:24b-a2b

# Press Send to run the fixed message below.

# fixed message, the same for every model

>>> Summarize these meeting notes in one short paragraph: what was decided, and who does what next.

[meeting-notes.txt]
Weekly sync, support tools team
Attendees: Maya (lead), Jonas, Priya, Tom, Elena
Agenda: local drafting assistant pilot, knowledge base cleanup, customer feedback survey, on-call rota, next steps

1. Local drafting assistant pilot
- Maya recapped the goal: agents draft replies with an assistant that runs on the team's own Macs, so customer emails never leave the building and nothing depends on an outside service being up.
- Jonas ran the pilot for two weeks on four machines. Agents used it for first drafts on roughly a third of tickets. Most drafts needed light edits. A few needed a full rewrite, mostly billing questions where the model guessed at policy instead of saying it did not know.
- Priya said the biggest complaint was the wait before the first word on long tickets. Short tickets felt instant. Tickets with a long email thread pasted in took several seconds before anything appeared, and agents read that as the tool being stuck. Two agents restarted the app because of it.
- Tom suggested trimming the thread to the last three messages before sending it to the model. Elena worried that would drop context the customer refers back to, like an order number from the first email. Agreed to test both on the same set of tickets before choosing.
- Jonas said the speed once the reply starts was fine on every machine. Agents read slower than the model writes, so nobody asked for faster output. The only request was a visible sign that the model is reading, so people stop restarting it.
- Memory: the oldest machine, the one with the least memory, could not keep the model loaded next to the browser and the ticketing app. It swapped and slowed down badly by mid-morning. The other three machines had no issue all day.
- Priya asked whether a larger model would fix the billing guesses. Jonas thought not: the model guesses because the policy text it needs is missing or contradictory, and a bigger model would guess more fluently, not less.
- Decision: keep the current model size for now. Revisit only after the knowledge base cleanup, and only if the edit rate on billing drafts is still high.

2. Knowledge base cleanup
- Elena found about forty articles that contradict each other on refund windows and plan changes. These are the likely source of the billing guesses.
- Priya proposed one owner per section, with a review date on every article so stale pages show up on their own instead of during an angry ticket.
- Agreed: Elena owns billing and refunds, Priya owns accounts and login, Tom owns shipping and returns. Each owner archives duplicates, merges the rest, and flags anything that needs a policy decision from Maya.
- Jonas will add the cleaned articles to the assistant's reference folder once each section is signed off, not before. Mixing old and new versions would make the guessing worse.
- Tom asked for a template for new articles. Elena will share the one billing already uses.

3. Customer feedback survey
- Priya shared the quarterly survey results. Response time scores went up since the last quarter, and the free-text comments mention faster first replies more than once.
- Several comments still complain about being asked for the same order details twice. Elena thinks this happens when a ticket moves between agents and the notes field is left empty.
- Agreed: the handover checklist gets one new line, fill in the notes field before reassigning a ticket. Tom will update the checklist and post it in the team channel.
- Maya wants the next survey to ask one question about reply quality, not only speed, so the team can see whether the assistant drafts change how customers rate answers.

4. On-call rota
- Two people asked to swap weeks in November. Maya approved both swaps.
- Tom raised that weekend coverage gets thin when two people are on leave at the same time. Agreed that leave requests go in the team channel at least two weeks ahead, and Maya checks the rota before approving.
- No change to escalation rules. The escalation doc is still correct.

5. Next steps
- Jonas: run the trimmed thread versus full thread test on fifty past tickets and report the wait before the first word and the edit rate for each.
- Jonas: add a reading indicator to the assistant panel so agents can see the model is working on a long ticket.
- Elena, Priya, Tom: finish their knowledge base sections and send Maya the open policy questions.
- Maya: ask IT whether the oldest machine can get more memory or should be replaced at the next refresh.
- Everyone: log any draft that invents a policy, with the ticket link, in the shared sheet.
- Next sync: same time next week. Maya sends the agenda the day before.

Estimated speed, not a benchmark. Model loading excluded.

Compare configurations

Full comparison
SpecA · yoursBChange
Configuration13" M5 10C · 24 GB13" M5 10C · 32 GB
Apple list price, base storage$1,499$1,699+$200
Bandwidth153 GB/s153 GB/ssame
Usable memory16.8 GB (70%)22.4 GB (70%)+5.6 GB
Models at 8k7494+20
Top pickLFM2 24B-A2B Instruct
est. 57 tok/s
Gemma 4 26B-A4B
est. 32 tok/s
Max context125k, max~159k
B runs 18 models that A cannot at 8k
Sage-A1.535.95Best. 51 tok/s
Qwen3.6 35B-A3B35Best. 51 tok/s
Ornith 1.0 35B35Best. 52 tok/s
Qwen3.5 35B-A3B Instruct35Best. 52 tok/s
Laguna XS 2.133Best. 48 tok/s
Olmo 3.1 32B Instruct32Best. 7 tok/s
Gemma 4 31B31Best. 7 tok/s
Nemotron 3.5 Lightning 30B-A3B30Best. 40 tok/s
GLM-4.7-Flash 30B-A3B30Best. 35 tok/s
Cohere North Mini Code30Best. 35 tok/s
and 8 more

AI model recommendations for MacBook Air M5 with up to 32GB RAM. The fastest fanless inference yet for Qwen3.5 and Gemma 4 class models. This configuration provides optimal performance for local AI models.

Quick answer

For a MacBook Air M5 with 24GB RAM, the best local LLM is LFM2 24B-A2B Instruct (est. 57 tok/s, typical error 10%). It loads in ~14GB of unified memory, and 77 of ModelFit's 139 local models fit this device comfortably (ModelFit, 2026).

Sizing rule: a local model needs about 0.6 GB of unified memory per billion parameters at Q4, and ModelFit budgets 70% of this 24GB configuration so the OS, context, and KV-cache keep headroom. Strong alternatives: LFM2.5 8B-A1B (~5.5GB) and Qwen3.5 9B Instruct (Q8) (~10.7GB). On this device LFM2 24B-A2B Instruct runs at est. 57 tok/s, typical error 10%, fast enough for interactive chat. Longer contexts cost extra memory, so a model that fits at 8k context may not fit at 64k. What it will not run: Mistral Small 3.1 (Q8) (24B) needs about 23.3GB, more than this device's comfortable budget; models that large stay on a cloud API or a higher-memory machine.

$ollama run lfm2:24b-a2b
Top pick
LFM2 24B-A2B Instruct
Decode speed
est. 57 tok/s, typical error 10%
Memory needed
~14 GB

Speeds are ModelFit estimates from chip bandwidth and model size, not measured benchmarks. Typical error: the median gap between the ModelFit speed model and measured runs on hardware the model was not fitted on, for this backend and model size.

Cite this page: ModelFit, Best AI Models for MacBook Air M5 (2026), https://modelfit.io/macbook-air/m5/, updated October 2026, CC BY 4.0.

Apple M5 performance for AI

The M5 is the biggest Air leap yet for local AI: Apple gives every GPU core a Neural Accelerator, and unified memory bandwidth rises to 153 GB/s (+28% vs M4). With up to 32GB memory, the MacBook Air M5 runs 9B-14B models like Qwen3.5 9B faster than any previous Air. The fanless design still favors mid-size models over long sessions.

Based on our analysis, 8 out of 8 recommended models run excellently on this configuration. The sweet spot for MacBook Air with Apple M5 at 24GB is up to about 26B parameter models with Q4_K_M quantization, which provides the best trade-off between quality and inference speed. Higher-RAM configurations in the Apple M5 generation, including Pro and Max tiers where available, reach into the 7B-14B parameter range.

Device
MacBook Air
Chip
Apple M5
Default RAM
24 GB
RAM Options
16, 24, 32 GB

Where to buy for local AI

best configs

ModelFit may earn a commission on purchases through these links, at no extra cost to you.

FAQ

Frequently asked questions

What is the best AI model for MacBook Air with Apple M5?

With 24GB RAM and the Apple M5 chip, we recommend LFM2 24B-A2B Instruct for the best balance of speed and quality, handling models up to about 26B parameters at this RAM. Higher-RAM MacBook Air configurations in the Apple M5 generation, including Pro and Max tiers where available, reach into the 7B-14B parameter range.

How much RAM do I need for AI on MacBook Air Apple M5?

MacBook Air with Apple M5 supports 16, 24, 32GB configurations. For most AI workloads, 24GB provides good headroom. A 7B model typically needs 4-5GB of free RAM, while 14B models need 8-10GB.

How fast is Apple M5 for running local AI models?

With optimized models, the Apple M5 on MacBook Air achieves est. 57 tok/s, typical error 10%. The M5 is the biggest Air leap yet for local AI: Apple gives every GPU core a Neural Accelerator, and unified memory bandwidth rises to 153 GB/s (+28% vs M4). With up to 32GB memory, the MacBook Air M5 runs 9B-14B models like Qwen3.5 9B faster than any previous Air. The fanless design still favors mid-size models over long sessions. (Speeds are ModelFit estimates, not measured benchmarks.)

Can I run Ollama on MacBook Air Apple M5?

Yes, Ollama runs natively on Apple Silicon including Apple M5. You can install it in minutes and run models like LFM2 24B-A2B Instruct locally. Our wizard recommends the best models based on your exact Apple M5 configuration and available RAM.

Related guides

From the blog

MacBook Air M5 deep dives

Other MacBook Air configurations

Real-world calibration

Have this hardware? Share a measured run.

Time a model that fits your machine with Ollama, using the same prompts as every other run. The CLI shows your result and asks before it sends anything; your machine then joins the speed test leaderboard. It does not change the quality benchmark.