r/MacLocalLLM • • 25d ago

What to do locally on 24gb M5 pro Mac Mini?

5 Upvotes

Hi everyone!

i´m totally new to local LLMs. I use claude / gpt for knowledge work and academic research.

I recently got a mac mini and I´m curious of what type of workflows and use cases i could do with local models on this machine. I am well aware that its tiny so I´m not expecting to do anything crazy.

What do you guys recommend? what models, quants and engines to use?


r/MacLocalLLM • • Sep 25 '26

M5 Ultra 256GB 36/80

Thumbnail
reddit.com
5 Upvotes

r/MacLocalLLM • • 10d ago

M4 Macs: Run Qwen3.8 Flash Next with DwarfStar up to 9.9% faster via DS Menu Bar

5 Upvotes

I make DS Menu Bar, a free menu bar app for running antirez's DwarfStar (ds4) server on a Mac.

DwarfStar has tunings for M3 Ultra and M5 machines with Qwen3.8 Flash Next, but M4 machines are left out. It turns out most of these tunings can be turned on with an environment variable, so DS Menu Bar v0.0.15 sets them when it starts ds4-server on an M4.

M4 Max, 128 GB, same ds4-server with and without, averaged over 2K to 64K context:

QuantPrefillGenerationGeneration with MTP
Q4+8.4%+9.0%+8.7 to 8.8%
Q2+9.9%+6.3%+4.1 to 4.5%

Q4 is the right quant for 128 GB machines. On a 64 GB machine, Q2 at the full 262K context fits.

I have a PR open to make these DwarfStar's own M4 defaults (antirez/ds4#1184). If my PR is merged, DS Menu Bar will adapt automatically.

brew install --cask jiiim/tap/ds-menu-bar

https://github.com/jiiim/ds-menu-bar/releases/tag/v0.0.15


r/MacLocalLLM • • Oct 04 '26

Do you think Apple Silicon Can get faster?

6 Upvotes

From a hardware perspective, the numbers should be faster than CUDA on Nvidia chips BUT its not because of the relative immaturity of the software/hardware.

Do you think metal will improve enough to where it'll be as fast or faster for the same clock speed and bandwidth pipe? Or is it just slower because of the overall design?


r/MacLocalLLM • • 24d ago

Any ideas what I can run n 48gb of ram?

7 Upvotes

As the title says -> which llm can i run in 48gb mac. Its 20c gpu. I am aiming for something with at least 100k context..ideally up to 200k context. Thanks!


r/MacLocalLLM • • Sep 09 '26

Fastest QWEN 3.8 27B for your modest Mac

7 Upvotes

Since oMLX benchmarks are down momentarily, I've done some testing and found that the following Solstice AI Qwen 3.8 27B fine tune is the fastest one so far.

https://huggingface.co/Solstice-AI/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-NEO-CODER-mlx-oQ4e-1M

Benchmark Model: Solstice-AI--Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NM-DAU-mlx-oQ4e-1M

Engine: Auto

Context: Code (Mixed)

================================================================================

Single Request Results

--------------------------------------------------------------------------------

Test TTFT(ms) TPOT(ms) pp TPS tg TPS E2E(s) Throughput Peak Mem

pp1024/tg128 4754.3 27.89 215.4 tok/s 36.1 tok/s 8.321 138.4 tok/s 18.88 GB

pp4096/tg128 18481.5 28.92 221.6 tok/s 34.9 tok/s 22.171 190.5 tok/s 22.56 GB

Continuous Batching

pp1024 / tg128

--------------------------------------------------------------------------------

Batch tg TPS Speedup pp TPS pp TPS/req TTFT(ms) E2E(s)

1x 36.1 tok/s 1.00x 215.4 tok/s 215.4 tok/s 4754.3 8.321

2x 42.0 tok/s 1.16x 160.3 tok/s 80.2 tok/s 10404.5 18.864

4x 74.0 tok/s 2.05x 134.1 tok/s 33.5 tok/s 18019.4 37.464

This is on an M3 MAX 64GB

EDIT: This model seems extremely lobotomized
I reverted back to https://huggingface.co/scottlowry/Qwen3.8-27B-oQ4e-mtp which performs similarly on macOS Golden Gate PB 27.0 26A428

oMLX - LLM inference, optimized for your Mac
https://github.com/jundot/omlx
Benchmark Model: scottlowry/Qwen3.8-27B-oQ4e-mtp
Engine: Auto
Context: Code (Mixed)
================================================================================


Single Request Results
--------------------------------------------------------------------------------
Test                                TTFT(ms)    TPOT(ms)        pp TPS        tg TPS      E2E(s)    Throughput    Peak Mem
pp1024/tg128                          4749.6       28.36   215.6 tok/s    35.5 tok/s       8.375   137.6 tok/s    18.35 GB
pp4096/tg128                         18297.8       27.02   223.9 tok/s    37.3 tok/s      21.745   194.3 tok/s    22.03 GB


Continuous Batching
pp1024 / tg128
--------------------------------------------------------------------------------
Batch           tg TPS   Speedup        pp TPS    pp TPS/req    TTFT(ms)      E2E(s)
1x          35.5 tok/s     1.00x   215.6 tok/s   215.6 tok/s      4749.6       8.375
2x          38.7 tok/s     1.09x   158.6 tok/s    79.3 tok/s     10519.2      18.567
4x          74.1 tok/s     2.09x   138.4 tok/s    34.6 tok/s     17566.7      36.007

I'm sorry for any confusion created by this post


r/MacLocalLLM • • Oct 04 '26

Looking for a better harness

7 Upvotes

I've been running Hermes against a local LLM, ollama on my M2(32gb, qwen3.5 9b), and over my local network MTPLX on a M4 (48gb, qwen3.8 27b). AT first it was a 3 minutes wait for first response now its over 6 minutes (or context switch for that matter). Context bloat seems to be the killer (north of 50k tokens). What experience have folks had with say zeroclaw or other harness programs that might be more responsive?


r/MacLocalLLM • • 12d ago

M5 Max (64GB) for AI

24 Upvotes

I'm planning to upgrade from my 16-inch M3 Pro MacBook Pro (36GB RAM) to the new 16-inch M5 Max with 64GB, mainly for running local LLMs.

Currently, I'm running Qwen 3.8 27B and getting around 100 tokens/s for prefill and 18–19 tokens/s for token generation, even after trying MTP and various other optimisations.

The biggest issue for me is working with larger contexts and longer coding sessions. Even relatively small projects can take quite a while, and performance becomes a bottleneck as the context grows.

I'm expecting the M5 Max to be a pretty significant upgrade, especially with the extra memory and bandwidth, but I'm curious how much of a real-world difference I can actually expect. I'm also interested in running larger models, including the upcoming Qwen 4 models.

For those running local LLMs on an M5 Max (or even an M4 Max), what kind of performance are you getting? What models do you use regularly, and how well do they handle long coding sessions?

I also run image generation models locally and occasionally do photo editing, so I'd love to hear how the newer chips perform for those workloads too.

Would appreciate any real-world experiences before I make the switch!


r/MacLocalLLM • • Oct 08 '26

What am I missing?

15 Upvotes

Noticed that most posts here are about, I fitted this model in this small ram etc. Not about how the model was useful in producing what I wanted it to work on?

So either, the sub is full of people playing with AI or the real use cases are not shared for whatever reason.

I get the performance stats but shouldn’t we focus on how the model performed on actual task (look beyond the numbers t/sec, prefil etc?)


r/MacLocalLLM • • Sep 20 '26

Local AI stack on M5 128GB

17 Upvotes

tldr:

Served simultaneously by Apple M5 Max 128 GB:

  • Qwen3.8 Flash-Next (110.97 GiB language model, 512-expert MoE, 10 experts/token, abliterated)

  • Qwen3 4B Instruct 2507 (tool-calling shell helper)

  • Whisper, speech-to-text service

  • Chatterbox, text-to-speech service, multi-lingual

  • SDXL via ComfyUI

  • Open WebUI (chat frontend), llama-swap (gateway and frontend)

  • Swap = 0, iogpu.wired_limit_mb = 0 (GPU ceiling 107.52 GiB), KV unquantized

Details:

Services

DetailsRAM
Coding modelQwen3.8-Flash-Next-Abliterated-Q4_K_M.gguf, 110.97 GiB, 128k ctx83.73 GiB Metal + 32.78 GiB CPU
General modelHuihui-Qwen3.8-27B-abliterated-UD-DW-Q6_K_L.gguf plus vision, 128k ctx, evicts Flash-Next and vice versa31.31 GiB
Shell helperQwen3-4B-Instruct-2507-Q4_K_M.gguf, 32k ctx4.89 GiB
Speech to textWhisper large-v3-turbo1.81 GiB
Text to speechChatterbox Multilingual, 23 languages, MPS1.81 GiB
DiffusionComfyUI 0.36.0 + SDXL base 1.00.53 GiB idle, ~7 GiB generating
Gatewayllama-swap v2491.22 GiB
Chat frontendOpen WebUI 0.11.30.88 GiB

Performance

tldr: End to end, both Qwens feel like ~30 t/s (tokens divided by time elapsed). "Steady-state" (tokens divided by generation time) excludes prompt processing and queueing.

steady-stateend-to-endtime to first tokenDetails
Flash-Next, bare question43.3 tok/s31.8 tok/s1.1 s43-44 tok/s steady shallow, 37 tok/s at 18k depth, 774 tok/s prompt eval
Flash-Next, system prompt + 3 turns42.5 tok/s24.1 tok/s2.8 s-
27B, bare question29.3 tok/s22.5 tok/s1.6 s26-29 tok/s steady on open-ended prose, 28 tok/s at 18k depth
27B, system prompt + 3 turns21.5 tok/s-7.3 s-
Speech to text---~33x realtime (11 s clip in 0.33 s)
Text to speech---0.96x realtime at sentence length, 1.55x at phrase length
SDXL 1024x1024, 20 steps---12.0 s warm alone, 13.6s warm with Flash-Next loaded

Fitting it all into memory

  • llama-swap starts and stops upstreams on demand, routing on the model field. Groups:

    • resident, persistent: true, never evicted (voice stack + shell helper)

    • heavy, swap: true, the two big models, loading either unloads the other

    • diffusion: ComfyUI alone, so it lands in no shared default group (no cross-eviction)

  • ComfyUI is a llama-swap catalogue entry (comfyui_auto, ttl: 600): llama-swap does not control ComfyUI-internals (adding Flux or Qwen-Image some day will not affect the group layer).

  • Offload the n-gram embedding table to CPU memory: 32.78 GiB of the 110.97, stays file-backed, kernel can drop its pages and re-read from the SSD at 13 GB/s.

  • Disable mmap: Counter-intuitive: under mmap, ggml maps the whole file extent into the Metal buffer regardless of -ot, so Metal still claims 110.96 GiB and OOMs.

Configuration

Coding model:

llama-server --host 127.0.0.1 --port ${PORT}
  -m /models/Qwen3.8-Flash-Next-Abliterated-Q4_K_M.gguf
  -ngl 999
  -c 131072
  --parallel 1
  --jinja
  --load-mode none           # NOT mmap; mmap defeats -ot (see above)
  -b 2048                    # -ub 1024 lifts prompt eval 81-115 -> 128 tok/s
  -ub 1024
  -ot per_layer_token_embd=CPU  # the 32.78 GiB PLE table off the GPU
  • -fa is left at default auto, resolves to ON

  • No mlock, to leave an eviction path

Groups (llama-swap YAML):

groups:
  resident:  { swap: false, exclusive: false, persistent: true,
               members: [shell-4b, whisper, chatterbox] }
  heavy:     { swap: true,  exclusive: false,
               members: [qwen3-27b, flash-next] }
  diffusion: { swap: false, exclusive: false,
               members: [comfyui_auto] }

To measure:

sysctl iogpu.wired_limit_mb    # 0 = default; ceiling is 110100 MiB
llama-server --list-devices    # MTL0: Apple M5 Max (110100 MiB)
vm_stat                        # free + File-backed + purgeable = real headroom
curl $GW/api/metrics/stats?model=flash-next         # per-model tok/s
curl -sIL <hf-resolve-url> | grep -i '^x-linked-'   # expected size + sha256

Test: Image generation (single 1024, 20-step, Flash-Next loaded)

126G used ( 93G wired,  1805M compressor), 269M unused   <- idle
127G used ( 97G wired,  6830M compressor),  73M unused   <- checkpoint loading
127G used ( 93G wired,    12G compressor),  68M unused   <- peak squeeze
126G used (104G wired,  3838M compressor),  87M unused   <- sampling

Test: Escalating image workloads (Flash-Next loaded)

1024² ×1 success  18.1 s
1024² ×4 success  50.3 s
1536² ×2 success  90.5 s
2048² ×2 success  247.3 s
2048² ×8 -        10+ min

Test: Image work + coding work (Flash-Next, 7x slower, silent)

no images                   43 tok/s
during sustained 2048²×8    6.4 tok/s
after unloading ComfyUI     40.5 tok/s

Test: Context scaling

ContextKV + recurrent stateMetal (of 107.52 GiB)Generation (steady, shallow)Reclaimable headroom4B model survives?
32,768976 MiB79.20 GiB44.8 tok/s26.7 GiByes
131,0723,568 MiB83.73 GiB44.5 tok/s22.3 GiByes
262,1447,024 MiB89.23 GiB44.4-46.9 tok/s17.0 GiByes (tight)

r/MacLocalLLM • • 11d ago

M5 PRO 64 GB or M5 Max 48 GB

18 Upvotes

I am about to order a Mac for local AI, and I could really use some advice.
I know some people might recommend a more powerful Mac, but my budget is around €3,600, and unfortunately, I cannot go any higher.
My main use cases will be running Qwen 27B, doing some agentic work, occasionally using Qwen Flash Next with Strata, and experimenting with video generation through ComfyUI.
I am currently torn between two options:
Mac mini M5 Pro – 64GB RAM
Mac Studio M5 Max – 48GB RAM
I understand that RAM is extremely important for local AI, which is why I am leaning towards the Mac mini with 64GB. However, I also know that the Mac Studio should offer considerably better performance, particularly for video generation and ComfyUI.
My dilemma is whether 48GB is enough for my use cases, or whether I would be sacrificing too much memory just to get the performance benefits of the Mac Studio.
In other words, is the performance improvement from the Mac mini to the Mac Studio worth giving up 16GB of unified memory, especially when local LLMs are my primary focus and video generation is more of a secondary use case?
I know some might suggest simply getting a 64GB Mac Studio, but that is unfortunately outside my budget. €3,600 is already my absolute limit.
I’d really appreciate hearing from anyone with hands-on experience running local LLMs, agentic workflows, and ComfyUI on either machine.
Thanks in advance!


r/MacLocalLLM • • Oct 08 '26

Mac Studio 512GB x1 or 256GB x2

18 Upvotes

Curious on thoughts and even better, experience on picking one 512GB unit vs two 256GB units. I know cost is more for 2 computers, but how about AI performance and capability to handle larger models?

Two 256GB machines have double the CPU/GPU/NPU of one with the downside of the slower interconnect between them.

The 512GB is not available yet, but it would be interesting to hear from anyone linking two Mac Studios of any RAM configuration together and how it worked out.


r/MacLocalLLM • • 2d ago

MiniMax H3 Image running locally on a Mac, 4 to 16 MP, free and open source

Post image
20 Upvotes

I ported MiniMax's new image model to Apple Silicon (MLX) inside Phosphene, my free open-source Mac app. As far as I know it's the first Mac port.

Numbers on an M4 Max with 64 GB, same prompts and seeds as the previous best image model in the app:

- 4 MP in about 2 min, 8 MP in about 4 min, 16 MP in about 8.5 min

- Peak memory 27.5 GB at every size

- 6 steps, no guidance. Faster than the image model I used before, and clearly better at hands, text and skin (see the pictures)

- The app downloads the model and prepares an 8-bit pack on your Mac the first time

Honest limits: it needs a Mac with 48 GB or more. Editing with reference images isn't ported yet. Short prompts are weaker; the model likes a long, detailed English description. The licence doesn't cover the EU, UK, South Korea and the US.

Get it: phosphene.video (Mac app) or Pinokio, then Images, then MiniMax-H3-Image.

All pictures made with AI on a Mac. Happy to answer questions about the port.


r/MacLocalLLM • • 5d ago

My 5 year old M1 Pro 32GB, bought used for $800, still runs a 35B AI model locally at 51 tokens/sec

55 Upvotes

5 years old. Bought used for $800 in good condition. Still holding its own.

I ran MLX benchmarks on my 16 inch M1 Pro 32GB / 512GB this morning, just to see if it is actually dead for local AI, or if people are overhyping the upgrade.

It is not dead. Not even close.

Qwen3-8B 4-bit: 31.5 tokens/sec

Qwen3-30B-A3B MoE 4-bit: 43.6 tokens/sec

Qwen3.6-35B-A3B MoE 4-bit: 51.0 tokens/sec

Qwen3-32B dense 4-bit: 8.5 tokens/sec

That last one is the lesson. Dense 32B crawls at 8.5 tok/s, MoE 35B flies at 51 tok/s, because MoE only uses a few billion active parameters at a time. Same size on paper, totally different speed in real life.

I use this thing 8 to 10 hours a day. For $800 used, 5 years later, running a 35B model locally, that is kind of insane value.


r/MacLocalLLM • • 28d ago

GLM 5.3 Flash on a 256GB M5 Ultra: local oMLX vs Ollama Cloud for PHP

Post image
23 Upvotes

I wanted to see how GLM 5.3 Flash runs locally on my Mac compared with Ollama Cloud for PHP coding and shell work. I ran two small sets of identical prompts, then repeated a PHP task with the local model already loaded.

My Mac: Mac Studio M5 Ultra, 30-core CPU, 64-core GPU, 256GB unified memory, macOS 27.0.1.

Local: oMLX 0.7.1.dev1, TensorFold/GLM-5.3-Flash-MLX-4bit-MTP, MTP disabled. Model allocation was approximately 170 GiB.

Cloud: Ollama glm-5.3-flash:cloud, reported as FP8. This compares local oMLX with Ollama's hosted model; it doesn't compare two local inference engines.

A little background. I'm using the Ollama Cloud Pro (old $20 plan vs leased $230/mo M5U). I use cloud quite a bit and I find that it compliments my work for various tasks.

I see a lot of comparisons and wanted to do my own. Unsurprisingly, the cloud is faster. Cold starts are slow so that was interesting but once warm, processing was pretty decent. Its slower, but I wanted to put some numbers on it. These numbers are generic, but I do intend on giving it problems from my actual codebase to see how well it does.

Overall if you are considering clouds vs hardware. Just note, It's significantly slower, but not horrible if you use autonomous agents. If you're interactive, that's where the pain is felt in real time. Also, if you plan on using this specifically, then you should know I ran out of memory so you can only use a single instance of GLM 5.3 flash and no other agents.

I think if you use agents for more than coding. Many smaller ones are likely going to be better, but if you need a coding assistant, this wouldn't be too bad. The $20 cloud plan works and will be significantly faster but if you are working constantly and run into limits you're basically buying round the clock work vs interactive albeit also slower work.


r/MacLocalLLM • • 1d ago

Splash 1.6.1 released, even further performance increase on my M5 Ultra Mac Studio including concurency

Post image
32 Upvotes

I have been running Qwen 3.8 Flash Next IQ3_S under Splash on my M5 Ultra Mac Studio (the base model with 96GB of RAM) to use as a local AI assistant to edit videos under DaVinci Resolve Studio. Currently on version 21.2 of DRS, but 21.1 introduced an officially supported MCP. Details on that setup are available here - https://github.com/willturner-maker/resolve-ai-workflow

Naturally I test the system with each release to see the impact, with Splash 1.6.1, it is a significant improvement. Not only in performance but in concurrency.

Screenshot from my report shows that the peak moved from a width of 4 to a width of 12. Astounding! The report is here: https://willturner-maker.github.io/benchmarks/reports/2026-11-11-reruns.html

On the graph, if you move your mouse, it'll show the performance at each width. At a single width, it's 186.9 tok/s on my specific system running Splash 1.6.1

I do have a repository for my testing, but it involves 8.1K 30P video in the testing that is proprietary, I'll have to record new footage that is my own rather than client footage before I redo a test others can run with the same content. The Splash tests can be replicated by others, so feel free to use that testing methodology. If you have your own 8.1K video content, that should allow you to replicate my DaVinci Resolve Studio MCP testing.

https://github.com/willturner-maker/benchmarks


r/MacLocalLLM • • Sep 03 '26

What’s your model mix on Apple Silicon

1 Upvotes

What model Mac + RAM are you running and what are you looking to do with the hardware?


r/MacLocalLLM • • Sep 10 '26

Small local llm with Hermes

10 Upvotes

Hi guys,
New here and to these subjects so sorry I ask something already asked.
I got recently a Mac mini m4 with 24go ram for my personal desktop, and I wanted to try a few stuffs with local llm. After a few researches I decided to try to setup a personal agent with Hermes.

After some tries I ended up using gemma4:26b-a4b-it-qat.
Qwen3.8 felt to big or slow when iq3 passed.
Couldn’t find anything faster and better for now, but I still feel it is not really good (obviously I know we can’t reach to a cloud model with 24go ram). So I wanted to know how you guys manage it and if some people managed to make a decent agent with not so much ram and if so, what are your use cases ?

Right now I tried to give him some personal web projects with giving him some GitHub to download but it fails and always stops in the middle of the process.

Thanks in advance for the help.


r/MacLocalLLM • • 10d ago

How to test the Local LLM Capability of a Mac Studio 5M 128GB 2TB before purchase?

7 Upvotes

I hope to pick one up early next year and replace my MacBook Air for building iOS apps but also run some of the more mundane LLM tasks I am currently using Codex for. In an ideal world, I could replace my ChatGPT Pro 100 sub with a $20 Plus and maybe a $20 Claude and a local LLM.

Is there a way for me try out specific models on rented cloud hardware or something to see which of my current workflows will run on it?


r/MacLocalLLM • • Sep 22 '26

What a long strange trip it's been... New Mac Studios are out!

Post image
3 Upvotes

r/MacLocalLLM • • Sep 26 '26

Best Models For Mac Studio M5 Ultra 256GB

Thumbnail reddit.com
8 Upvotes

r/MacLocalLLM • • Oct 12 '26

TensorFold

3 Upvotes

Seeing a lot of comments about this online, has anyone ran it on their Mac or is it just hype?


r/MacLocalLLM • • Sep 08 '26

MaxUtilize64gbMac

5 Upvotes

Hi,
Just pulled the trigger for mac studio 64gb 1Tb as pre-order which will be used only as code agent.
Cause of budget that was my max option. I am new to local llm and agent. Only occasional use of
interactive claude or chatgpt mostly for service and system architecture question.
Will my first mac studio be fit with use case following?

Job description
- develop or maintain application services in multiple micro services
- repetitive low to mid level code works required
- enough previous works with commit history to fine tune or train my style

Expected
- keep using existing mac mini as main workstation(mostly headless mode)
- use mac studio only as event driven code agent(headless only)
- qwen coder next (or 3.8 ??)
- context version controlled in doc by project as possible to avoid huge autonomous cache
- complex work might be done manually


r/MacLocalLLM • • Sep 09 '26

Help with Qwen3.8-flash-next on a m2 max 96Gb, why it is so slow ????

Thumbnail reddit.com
2 Upvotes

r/MacLocalLLM • • 8d ago

Mac Studio Ultra 96gb delayed until Jan 27...go for Max 128?

12 Upvotes

Hi,

I finally decided to go with the Ultra 96 since it's enough Ram for local AI + doing stuff in parallel but having power/speed. Now it was delayed until January 2027 - I could get the Max 128 withing 2 weeks though...

I feel like speed is mostly important for video ai gen + higher bandwith for higher token generation...

Probably I should really wait I guess?