r/MacLocalLLM • • 4d ago

M5 Studio 128gb ram Models

Just received my 128gb Studio and running Qwen 3.8 on OpenMaus served through omlx.
I do a lot of video/image pipelines and some website coding.

I’m curious what models are you all running and your use cases.

**update**
I’ve dropped oMlx and switched to Qwen3.8-27B GGUF serving through splash.

I’ve added performance settings as recommended by @dudehimself.

Notably, the kv format and max-cache-disk have provided an immediate improvement.

Thanks again, everyone, and still curious to hear what others are running/using their machines on.

16 Upvotes

28 comments sorted by

7

u/dude_himself 4d ago

Congrats on the new box: starting straight on oMLX saves you a ton of wasted time compared to stock GGUF/Ollama.

Here is my current roster on a 128GB M5 Max Studio behind llama-swap (with iogpu.wired_limit_mb=122880 / 120 GiB):

  • Heavy coding, web dev & architecture: Jundot/Qwen3.8-Flash-Next-oQ4e-mtp (126.5B-A8B + page-cached PLE). Runs 87-105 tok/s and 0.65s warm TTFT even at 57.7K context.
  • Fast daily coding & long-form drafts: Jundot/Qwen3.6-35B-A3B-oQ6e-mtp + Inco DFlash2. Hits 171 tok/s single-stream (194 tok/s 2x parallel) with zero tool-call schema errors. (If you use vision on it, keep vlm mode; if text-only, llm mode frees ~1.5 GiB; skip native llm MTP since it dropped tool calls in my testing.)
  • On-demand alternates (llama-swap): qwen3-coder-next:80b (79-105 tok/s), gpt-oss:120b MXFP4-Q8 (70-88 tok/s), and gemma4:31b via dflash-mlx (~46 tok/s) when I want a dense model's writing/vision style.
  • Pinned background workers (ttl=0): Qwen3.5-9B + z-lab DFlash (120-142 tok/s) for file digests/triage, qwen2.5:3b for quick classification, plus 4-slot YaRN nomic-embed-text on llama-server (0.05s) for local RAG/memory.

Since you're brand new on the M5 Studio + oMLX, three quick settings that made a huge difference for me:

  1. Enable a8_prefill_enabled: true (Metal 4 QxA8 NAX prefill jumped 35B to 5,244-5,792 pp/s and 126.5B to 3,258 pp/s) and skip ANE+GPU hybrid prefill (pure GPU QxA8 was 65% faster).
  2. Keep KV cache in bf16 (turboquant_kv_enabled: false) + 48GB persistent SSD KV cache: On 128GB unified RAM, bf16 ran 48-70% faster than affine8, and the SSD cache makes multi-turn website/code sessions sub-second.
  3. Put llama-swap in front if you run heavy video/image pipelines on the same box: It lets you cleanly unload the 126B checkpoint when a video/image job needs the unified RAM, while your pinned small workers keep humming.

How's OpenMaud treating you with Qwen 3.8 so far?

2

u/gabrielxavila 3d ago

Thanks for those suggestions. I’m running a few of those recommendations.

Regarding swapping models to leave more headroom for video gen, I’m doing that already actually and have my media agent unload all models but one small chatting one. I also have a watcher fire off at the start of the video gen and then prompting my Chief of Staff to load the dense model back once the video is complete.

Thanks again for those kv tips

2

u/Slash621 4d ago

Curious about why you would step down to 3.6 35b a3b or qwen coder next when you already have flash next?

Understand the background workers and such for sure but the alternatives seem odd since it would seem QFN would out perform them everywhere.

1

u/dude_himself 4d ago

Fair question. On quality, you're right: QFN went 11-0 on my hard tasks and beats the others on complex reasoning. The reason I still keep the others in llama-swap comes down to three things:

  1. Speed + RAM headroom (Qwen3.6-35B-A3B + DFlash2): 35B runs ~2x faster decode (171 tok/s single / 194 tok/s 2x parallel vs. 87-105 on QFN) and ~1.7x faster cold prefill (5.2-5.8K pp/s vs. 3.2K). On writing, quick Q&A, and interactive Open WebUI turns, 35B finishes in 18-31s P50 vs. 66-128s on QFN while tying/beating cloud scores on those categories. More importantly, QFN (+ its 30GB PLE mmap and ~21s cold load) eats most of the 128GB pool, whereas 35B let me run a 9-way concurrent soak (2x 35B + 2x 9B + 3B + 4x embeds) at 221 tok/s aggregate with 64% RAM still free (huge if you're sharing the box with video/image pipelines).
  2. Cross-family review (gpt-oss:120b, gemma4:31b): Having the same model family write the code/plan and critique its own output shares the same blind spots. Keeping a non-Qwen MoE and a dense model on tap lets me run adversarial second-opinion reviews locally.
  3. Zero RAM tax (qwen3-coder-next:80b): Candidly, 80B is mostly a holdover from before QFN dropped. Since llama-swap keeps unloaded models at 0 RAM on disk, leaving it wired as a fallback/cross-check costs nothing, even though QFN replaced it for primary coding.

So day-to-day it's a two-tier split: 35B for fast interactive chat, subagents, and high-concurrency work; QFN when the task merits waiting an extra 30-60 seconds for deeper reasoning.

5

u/oss-jiiim 4d ago

Best for 128GB Mac Studio:

Qwen 3.8 Flash Next at Q4 K XL via Splash

I run that on my 128GB Mac Studio via my LLMenuBar

3

u/gabrielxavila 4d ago

Very interesting setup. Will definitely explore this.

Question, how do chat with your llm when you’re outside of your network? Do you use tailscale or dns tunnel to a domain?

4

u/kamilr641 4d ago

tailscale is the least fiddly route here: install it on the studio and phone, then connect to the service over the tailnet. no public port or domain needed

2

u/Confident_Yak_1411 4d ago

I use blue bubbles via iMessage. Really good for simple tasks, bit fiddly if you need to understand what it’s doing a bit more.

Edit; also a cool party trick to be able to voice note my system in front of friends and have it do stuff.

1

u/kreios007 4d ago

I’m new and trying to catch up. I just started creating skills and my first agent at work. I just installed qwen at home on my MacBook Pro and every time I sit to do something I just stare at the screen.

What are you doing with your LLM?

1

u/oss-jiiim 4d ago

I haven't set it up for access away from my local network. But it looks like other's have!

3

u/rickyrickyatx 4d ago

I do something very similar but I use splash through oMLX. N8n runs on a couple of docker containers in my home lab, and I connect to my network through Wireguard when I need to do things.

3

u/_mini 4d ago

How much memory do you still have left after running this?

2

u/oss-jiiim 4d ago

Just sampled for you. QFN itself sumamarized the screenshot from iStat Menus, with added drama, lol:

Memory is at 89% with 78% pressure. Wired memory is huge at 89.9 GB, and splash alone is using 85.2 GB. Other top processes are Zed (3.9GB), WindowServer (3.0GB), WebKit (2.6GB), and Terminal (2.4GB). Swap is barely used: 256 KB / 1 GB.

2

u/_mini 3d ago

Wow, thank you.
I was judging between the ultra 96gb or max 128gb, if this model performs well, then probably need the 128gb for other things.

1

u/oss-jiiim 3d ago

It's a tough call because the Ultra can perform better on prefill, and the 128GB can keep more in RAM.

My 128GB Studio is an M4 -- I bought back in March 2025 without even thinking about LLMs -- I went with Max because single thread performance was higher on Max vs. Ultra.

If they made one, a 128GB Ultra would, I think, be the best buy.

2

u/_mini 3d ago

I am mostly thinking about agent loops setup, so this machine can payoff being busy & creating values. otherwise a laptop + cloud subscription is better.

2

u/littlebill1138 3d ago

On the same hardware, what kind of tok/sec are you getting, and context window sizes with a 4 bit quant? Pretty sure I’m using IQ3_S with a 256k context window and honestly, it works as fast as Claude Code or Codex do for me.

2

u/oss-jiiim 3d ago

On my Mac Studio M4 Max 128GB, with Qwen3.8-Flash-Next UD-Q4_K_XL with the DFlash2 draft I get about 700–800 tok/s prefill on prompts over 1K tokens, and about 85–90 tok/s generation. This is on actual coding work with a 256K context.

An M5 series Mac - even a Macbook Pro - will do much better.

3

u/masterthodyu 4d ago

I also just got mine and got recommended qwen through oMLX. My config rn is my proxmox machine runs open Webui and calls my mac studio so the mac is just for hosting the model. Following to see what other people suggest cause I was thinking about running a Hermes agent. I did connect my self hosted wealthfolio to qwen so it could analyze my finances.

3

u/gabrielxavila 4d ago

Nice, I’m in my last weeks of grad school, finance major, and have been discussing AGRO with some colleagues. Seems pretty interesting.

On another note, I’ve ran Hermes, less bloated than Openclaw, but was looking for a lighter agentic framework.

I developed my own python agentic framework and used photon to message my agent, but was impatient with having to piece-mill it all together. Ended up on OpenMaus and enjoy it. However, I am having to troubleshoot and intervene with the agent a lot for it to stay on track.

1

u/Used-Professional608 3d ago

Maybe my setup was wrong, or I had the wrong expectations. At work I use frontier models, so that probably raised my expectations.

I pulled Qwen3 122B (60GB), set up opencode, and asked it to build a simple web app. I heard fan noise, noticed extreme heat, and more importantly, it keeps stopping and waiting for me to initiate tasks, even though I set a clear goal with a very well-detailed plan that I came up with using another frontier model.

Time to return it and wait for an Opus-equivalent open-source model and a low-price 512GB Mac Studio next year? Looking for community feedback

1

u/gabrielxavila 3d ago

Assuming it was a 4 bit quant, right? Otherwise, that’ll explain why you didn’t see any movement. Also, don’t expect frontier model performance. The consumer hardware isn’t quite there yet. I mean it is, but for an exorbitant price.

I’ve ran similar tasks before with smaller models and they are def capable.

Have fun with the journey. It’s pretty amazing what we can do with these models once you have an understanding of them.

Best of luck

1

u/DogAble6550 3d ago

Qwen3.8 flash next

1

u/gabrielxavila 3d ago

Care to elaborate. Use case, what makes its superior, etc. Don’t doubt it, just curious how you’re applying it

1

u/DogAble6550 1d ago

Yes. Here are the results of my personal experiments running having modlels do app creation complete from flutter front to db backend and playwrite tests. It starts with a single prompt and the llm is expected to finish the whole thing. Some additional prompting was allowed like 'continue', but for qfn often only the first prompt was needed. https://claude.ai/artifact/QoDe498tascc1vnSjKRk7f . Deepseek was also good but for speed and smarts, qfn.

1

u/69harambe69 1d ago

You can use splash through oMLX though?

1

u/gabrielxavila 1d ago

Yes, but omlx runs splash as an external inference engine, seems redundant.

Understanding the memory footprint is marginal, I’d rather run a singular engine.

2

u/PopMany2921 4d ago

Try strata and splash you would prob get more tps

I like Ud q4 xl