Best AI Models for Mac Studio M5 Ultra (2026)

Configure your Mac Studio

Apple prices · checked 2026-11-23 ·

01

Chip.

02

Processing power.

+$1,300 for the 80-core GPU at 256 GB: same generation speed (both 1.2 TB/s), prompt reading about 25% faster.

Qwen3.8-Flash-Next · estimated speeds · Prompt-speed source

03

Memory.

04

Storage.

Inside the MacApple list price

Outside the MacAmazon kit · enclosure + drive

Your top 10 models need about 1006 GB. 4TB holds them 3 times over.

  • EnclosureUGREEN Thunderbolt 5 NVMe enclosureThunderbolt 5, 80Gb/s · Intel JHL9480 · cooling fan · M.2 2280 up to 8TB
    Amazon
  • DriveSamsung 990 PRO 4TBPCIe 4.0 NVMe · M.2 2280 · no heatsink, fits the enclosure
    Amazon
Add both to Amazon cart

Thunderbolt 5 enclosure for M5 Ultra.

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.

05

Model filters.

Use case
Min speed
Must run

Best models for Mac Studio M5 Ultra · 256 GB

20 models · all uses · any speed · estimated speeds

Context
Runtime
Qwen3.8-Flash-Next 111.3 GB + 0.8 GB KV of 217.6 GB usable 105.5 GB free at 32k
ModelQuantFitRun
1est. 103 tok/s · Runs well125B moe 6B111.3 GBRuns well46.9103llama-server -hf, via llama.cpp
2est. 95 tok/s · Lots of room122B moe 10BQ4_K_M72.0 GBLots of room34.195
3est. 99 tok/s · Lots of room125.09B moe 10BQ4_K_M75.8 GBLots of roomn/a99
4est. 33 tok/s · Runs wellmeasured 45.2 tok/s (1 run)235B moe 22BQ4_K_M130.0 GBRuns well14.933measured 45.2 tok/s (1 run)
5est. 60 tok/s · Lots of room120B moe 12B86.8 GBLots of room25.960
6est. 41 tok/s · Runs well428B moe 23BQ3_K_XL194.0 GBRuns welln/a41llama-server -hf, via llama.cpp
7est. 76 tok/s · Runs well118B moe 8BQ4_K_M96.0 GBRuns well38.576
8est. 147 tok/s · Lots of room124B moe 5.1B77.8 GBLots of room34.8147llama-server -hf, via llama.cpp
9est. 126 tok/s · Lots of room117B moe 5.1BMXFP465.4 GBLots of room28.1126
10est. 163 tok/s · Lots of room78.1B moe 3.5B49.8 GBLots of roomn/a163llama-server -hf, via llama.cpp
11est. 51 tok/s · Lots of room109B moe 17BQ4_K_M67.0 GBLots of room7.251
12est. 130 tok/s · Lots of room80B moe 3B84.8 GBLots of room19.4130
13est. 146 tok/s · Lots of room35B moe 3B38.7 GBLots of room31.5146
14est. 50 tok/s · Lots of roommeasured 125.3 tok/s (1 run) spec. decoding27B16.5 GBLots of room43.550measured 125.3 tok/s (1 run) spec. decoding
15est. 23 tok/s · Lots of room64.8B38.8 GBLots of roomn/a23
16est. 138 tok/s · Lots of room26B moe 4B16.0 GBLots of room28.9138
17est. 11 tok/s · Lots of room123BQ4_K_M74.9 GBLots of roomn/a11
18est. 84 tok/s · Lots of room12B8.0 GBLots of room21.284
19est. 126 tok/s · Lots of roommeasured 144 tok/s (1 run)9B7.0 GBLots of room23.8126measured 144 tok/s (1 run)
20est. 37 tok/s · Lots of room31B20.0 GBLots of room32.337

Select a row to update the summaryMemory includes 32k contextSpeeds est. with 32k of context filled; shorter prompts run fasterEstimated speeds · verified run commandsQuality: LLM Stats Score · Data by LLM Stats

See how fast it feels

Qwen3.8-Flash-Next: ~0.2s to start, then est. 103 tok/s, typical error 10%.

zsh · llama-server -hf unsloth/Qwen3.8-Flash-Next-GGUF:UD-Q4_K_XLest. 103 tok/s

~ $ llama-server -hf unsloth/Qwen3.8-Flash-Next-GGUF:UD-Q4_K_XL

# 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
ConfigurationM5 Ultra 80C · 256 GBM5 Ultra 80C · 512 GB
Apple list price, base storage$10,799$22,299+$11,500
Bandwidth1.2 TB/s1.2 TB/ssame
Usable memory217.6 GB (85%)435.2 GB (85%)+217.6 GB
Models at 32k153158+5
Top pickQwen3.8-Flash-Next
est. 103 tok/s
MiniMax M3.1 Flash
est. 34 tok/s
Max context256k, max1024k, max
B runs 4 models that A cannot at 32k
Tencent Hy4 Preview770Best. 29 tok/s
DeepSeek-R1 671B671Best. 24 tok/s
Ling-3.1-flash-1019560Best. 42 tok/s
Llama 4 Maverick400Best. 53 tok/s

AI model recommendations for Mac Studio M5 Ultra with 96GB, 256GB or 512GB unified memory at 1.2 TB/s. Runs every open-weight model that matters. This configuration provides optimal performance for local AI models.

Quick answer

For a Mac Studio M5 Ultra with 256GB RAM, the best local LLM is Qwen3.8-Flash-Next (est. 111 tok/s, typical error 10%). It loads in ~111.3GB of unified memory, and 153 of ModelFit's 159 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 85% of this 256GB configuration (70% at 32GB and below, 85% at 128GB and above) so the OS, context, and KV-cache keep headroom. Strong alternatives: Qwen3.5 122B-A10B Instruct (~72GB) and Qwen3.8-Flash-Next (IQ4_XS) (~93.7GB). On this device Qwen3.8-Flash-Next runs at est. 111 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: Ling-3.1-flash-1019 (560B) needs about 358GB, more than this device's comfortable budget; models that large stay on a cloud API or a higher-memory machine.

Top pick
Qwen3.8-Flash-Next
Decode speed
est. 111 tok/s, typical error 10%
Memory needed
~111.3 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 Mac Studio M5 Ultra (2026), https://modelfit.io/mac-studio/m5/, updated November 2026, CC BY 4.0.

Apple M5 Ultra performance for AI

The Mac Studio M5 Ultra (2026) restores the big-memory Mac: Apple's store lists 96GB, 256GB and 512GB of unified memory at 1.2 TB/s bandwidth, roughly 50% above the M3 Ultra. In ModelFit estimates that is ~153 tok/s on a 7B Q4 reference and comfortable speeds on 120B-class MoE models like gpt-oss-120b, entirely in memory.

Based on our analysis, 8 out of 8 recommended models run excellently on this configuration. The sweet spot for Mac Studio with Apple M5 Ultra at 256GB is up to about 428B 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 Ultra generation, including Pro and Max tiers where available, reach into the 70B-120B+ parameter range.

Device
Mac Studio
Chip
Apple M5 Ultra
Default RAM
256 GB
RAM Options
96, 256, 512 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.

Config reports

Reported speeds for Mac Studio M5 Ultra, by model, quant and runtime
SourceModeltok/sQuantRuntimeContextNote
Speed testQwen3.5 9B InstructApple M5 Ultra 80-core GPU 256 GB144.0Q4_K_MOllama-1 run
Speed testQwen3.8 27BApple M5 Ultra 80-core GPU 256 GB125.3Q4_K_MOllama-1 run
Speed testQwen3.5 9B InstructApple M5 Ultra 64-core GPU 96 GB125.0Q4_K_MOllama-1 run
Speed testQwen3.8 27BApple M5 Ultra 64-core GPU 96 GB99.4Q4_K_MOllama-1 run
Speed testQwen3 235B A22BApple M5 Ultra 80-core GPU 256 GB45.2Q4_K_MOllama-1 run

Speed test: runs submitted through the ModelFit speed test tool, one median per machine.

Share your config

Every report is reviewed before it appears. No email or account needed.

0/280
FAQ

Frequently asked questions

What is the best AI model for Mac Studio with Apple M5 Ultra?

With 256GB RAM and the Apple M5 Ultra chip, we recommend Qwen3.8-Flash-Next for the best balance of speed and quality, handling models up to about 428B parameters at this RAM. Higher-RAM Mac Studio configurations in the Apple M5 Ultra generation, including Pro and Max tiers where available, reach into the 70B-120B+ parameter range.

How much RAM do I need for AI on Mac Studio Apple M5 Ultra?

Mac Studio with Apple M5 Ultra supports 96, 256, 512GB configurations. For most AI workloads, 256GB provides good headroom. A 7B model typically needs 4-5GB of free RAM, while 14B models need 8-10GB.

How fast is Apple M5 Ultra for running local AI models?

With optimized models, the Apple M5 Ultra on Mac Studio achieves est. 111 tok/s, typical error 10%. The Mac Studio M5 Ultra (2026) restores the big-memory Mac: Apple's store lists 96GB, 256GB and 512GB of unified memory at 1.2 TB/s bandwidth, roughly 50% above the M3 Ultra. In ModelFit estimates that is ~153 tok/s on a 7B Q4 reference and comfortable speeds on 120B-class MoE models like gpt-oss-120b, entirely in memory. (Speeds are ModelFit estimates, not measured benchmarks.)

Can I run Ollama on Mac Studio Apple M5 Ultra?

Yes, Ollama runs natively on Apple Silicon including Apple M5 Ultra. You can install it in minutes and run models like Qwen3.8-Flash-Next locally. Our wizard recommends the best models based on your exact Apple M5 Ultra configuration and available RAM.

Related guides

From the blog

Mac Studio M5 Ultra deep dives

Other Mac Studio 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.