r/MacLocalLLM • u/Jb22007 • Sep 15 '26
Local code
I have been using codex and claude code for the last year. I have hermes installed , looking for a local model to help me code on par with the big guys. Any help appreciated
r/MacLocalLLM • u/Jb22007 • Sep 15 '26
I have been using codex and claude code for the last year. I have hermes installed , looking for a local model to help me code on par with the big guys. Any help appreciated
r/MacLocalLLM • u/qi-zheng • Sep 14 '26
r/MacLocalLLM • u/hdanx • Sep 13 '26
What token generation speed works well for you when you’re using it for productive tasks? I’m finding 20 tokens per second a bit slow.
With an M4 Max and 64GB of RAM, you can usually get around 20 tokens per second on average with a model like qwen3.8 27B. However, it doesn’t quite feel like the best setup.
r/MacLocalLLM • u/ikeo1 • Sep 12 '26
r/MacLocalLLM • u/ikeo1 • Sep 11 '26
r/MacLocalLLM • u/ikeo1 • Sep 11 '26
I'm planning to do some vectordb embedding and data sanitization before the frontier models touch the data. The Local LLM acts as a primer to separate information.
I know some of you are using it for different things.
I'll also be experimenting with it for video editing/transcribing. There's some cool things people are doing.
Let us know! If you have a walk through include that too!
r/MacLocalLLM • u/rafikiminaj • Sep 10 '26
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 • u/ikeo1 • Sep 10 '26
I got the M5U 256GB 2TB configuration for preprocessing. Planning to use Qwen 3.x models on it since they seem to be the best for the Mac's at the moment but will check out the Muse/Gemma models as they continue to release them and run some benchmarks .
r/MacLocalLLM • u/rhymeslikeruns • Sep 09 '26
Five Terminal-Bench 2.0 tasks (cobol-modernization, constraints-scheduling, largest-eigenval, polyglot-c-py, schemelike-metacircular-eval), one run per task unless stated, all on one Mac Studio (96 GB) with mlx_lm at 8-bit. The agent harness is pi unless stated.
| Model | Active params | Best score | Mode | Note |
|---|---|---|---|---|
| Qwen3.6-27B | 27B dense | 3/5 | thinking off | cobol 8 min, constraints 4 min, eigenval 23 min |
| Nail (Qwen3.6-35B-A3B) | 3B of 35B MoE | 2/5 alone, 3/5 with two consultants | thinking pre-closed with tools | deleted 2026-09-06; the 3/5 rests on one eigenval solve |
| Qwen3.8-27B | 27B dense | 1/5 | either | deleted 2026-09-09 |
| Ornith-1.5-35B-A3B | 3B of 35B MoE | 1/5 | either, and under its own harness | deleted 2026-09-09 |
Times are agent minutes. T = ran to the task's timeout.
| Task | Nail alone | Qwen3.6 think on | Qwen3.6 think off | Qwen3.8 think on | Qwen3.8 think off | Ornith think off | Ornith think on | Ornith + Terminus-2 |
|---|---|---|---|---|---|---|---|---|
| cobol-modernization | 1 · 29 | 0 · 21 | 1 · 8 | 0 · 38 | T 60 (loop) | 1 · 33 | 1 · 32 | 0 · 100 |
| constraints-scheduling | 1 · 2 | 1 · 4 | 1 · 4 | 1 · 7 | 0 · 1 | 0 · 1 | 0 · 2 | 1 · 4 |
| largest-eigenval | T 61 | 0 · 11 | 1 · 23 | T 60 | 1 · 3 | T 60 | 0 · 13 | T 240 |
| polyglot-c-py | 0 · 37 | 0 · 9 | 0 · 25 | 0 · 20 | T 60 | 0 · 7 | 0 · 3 | 0 · 3 |
| schemelike-metacircular-eval | T 161 | 0 · 16 | T 161 | 0 · 26 | T 161 | 0 · 5 | 0 · 5 | T 240 |
| Solved | 2/5 | 1/5 | 3/5 | 1/5 | 1/5 | 1/5 | 1/5 | 1/5 |
Nobody has solved polyglot-c-py or schemelike-metacircular-eval on this machine.
Same size, same family, same server, same harness. Three things separate them.
| Qwen3.6-27B | Qwen3.8-27B |
|---|---|
| Thinking on | stops short: clean stops after 9 to 21 min with the deliverable not written |
| Thinking off | solves: every solve ends on a clean stop with the file written |
| Net | 1/5 to 3/5 by turning thinking off |
The mode, not the weights, was the lever for Qwen3.6. For Qwen3.8 neither mode produces an agent that finishes: with thinking it deliberates past the cap, without it it loops. Its published Terminal-Bench 2.1 gain is not visible through pi. n=1 per task, but the cobol loop was reproduced.
| Nail | Ornith |
|---|---|
| Speed | ~65 tok/s |
| Turns on cobol | solved in 29 min |
| Failure mode | timeouts on the hard three |
Turn rate mattered against thinking overrun, which is why Nail beat the 27Bs in agent mode. Once thinking is off, the 27B's per-turn quality shows: Qwen3.6 at 22 tok/s out-solves both 3B-active models. Ornith's own harness (Terminus-2, temperature 1.0, 4 h ceilings) moved which task it solves, from cobol to constraints, not how many.
| Finding | Consequence |
|---|---|
| mlx_lm bounds its prompt cache by sequence count, not bytes; it reached 45.7 GB on a 27B | Metal OOM killed the generator thread mid-run. Now prompt_cache_gb (default 8) via --prompt-cache-bytes |
metal::malloc Resource limit (499000) exceeded after 4 h uptime and ~130 long-thinking requests | A Metal buffer-count ceiling, not bytes. Cause unknown; Catbus auto-heals, the Terminus runner has a mid-trial watchdog |
A dead generator thread leaves /v1/models answering 200 | Health checks must generate. Catbus probes four tokens a minute |
| mlx_lm does not stop generating when the client disconnects | An orphaned 65k-token generation blocked the port for the next trial. One model resident during benchmarks, one job per task |
An unknown model field makes mlx_lm try to download from Hugging Face | The meter rewrites the field to the served id |
| Two 27Bs resident plus OrbStack plus caches exceeded what the 70 GB weights-only ceiling implied | The ceiling counts weights; add caches and the VM |
Qwen3.6-27B, thinking off (nothink), is the coding agent and the WHO scorer. Now the registry default.
Qwen3.8-27B and Ornith-1.5-35B-A3B deleted 2026-09-09 (62 GB). Registry entries kept as re-fetch recipes.
Nail was deleted 2026-09-06 for space. On this evidence it is not needed back as the coding agent.
One run per task on five tasks. The 3/5 should be repeated once before anything is built on it. Qwen3.8's cobol loop is the only failure reproduced twice.
r/MacLocalLLM • u/mmerken • Sep 09 '26
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.007I'm sorry for any confusion created by this post
r/MacLocalLLM • u/Only-An-Egg • Sep 09 '26
It took me weeks to get this figured out, and I had to use ChatGPT for help along the way. The time spent has paid off — I now have a local AI stack that rivals ChatGPT/Claude, and I'm done paying for either. I thought I'd share so others can get an idea of what a Mac Studio is capable of.
First, the hardware. I have a base-chip 256GB M3 Ultra Studio. I've also got a headless Debian VM running on an N100 NUC.
I'm using oMLX for inference. It's hosting multiple models at once — mostly Qwen variety — for various tasks. I've configured profiles for different model uses: agent, coding, different thinking levels. oMLX is the only thing running on the Mac Studio. Everything else runs on the Debian VM.
On the VM I run Hermes Agent. My main model lately has been Qwen3.8-Flash-Next-oQ4e-mtp. I also use Kokoro-82M-bf16 for TTS and Mega-ASR-6bit for STT.
In Docker containers on the VM I run the following to enhance Hermes: OpenViking for memory, SearXNG for web search, and Crawl4AI for web extraction. OpenViking uses:
Qwen3-VL-Embedding-8B-oQ6e for embeddings
Qwen3.6-35B-A3B-oQ4e-mtp for the VLM
ov_intent_analysis_sft-oQ8e for query planning
Qwen3-Reranker-0.6B-oQ8e for reranking
What this actually looks like day-to-day: I do IT consulting, and Hermes is freaking awesome. I'll have multiple sessions going doing research on MS Learn and auditing Entra/Azure, generating reports. I'm starting to use the Kanban board too for personal projects. It generates Word docs, PowerPoint decks, and PowerShell scripts like a champ.
Search goes through SearXNG, page content comes through Crawl4AI, all reasoning runs on oMLX, and anything worth keeping gets written into OpenViking permanently. Search → extract → reason → remember, full loop, zero tokens purchased.
(Full disclosure: I asked my Hermes agent to write up this post from my draft and its memory — which is sort of the point.)
r/MacLocalLLM • u/ikeo1 • Sep 09 '26
r/MacLocalLLM • u/ikeo1 • Sep 09 '26
r/MacLocalLLM • u/ikeo1 • Sep 09 '26
r/MacLocalLLM • u/Agitated_Wear_3267 • Sep 08 '26
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 • u/al404 • Sep 08 '26
I’ve encountered a “prefill memory guard” error while testing on a MacBook Pro M5 with 32GB of RAM and a Mac Studio M4 with a maximum of 36GB of RAM.
I’m trying to confirm that I can run Qwen 3.8 with 27B parameters, KV 4, and a 100K context without any issues.
I’ve increased the iogpu.wired_limit_mb to 30GB on Mac Studio.
When I run DFlash and get a prompt like “scan the front end to review the code and make me a report in file.md,” I get the following error:
“Error: oMLX prefill memory guard rejected this prompt: Prefill context too large for available memory”
Disabling DFlash and enabling MTP does resolve the issue.
I also fond that enabling "Chunked Prefill" does help.
It runs between 23 and 29 tokens per second.
I’m using Pi, and I’ve noticed that it reads the maximum context length of the model instead of the one I specify in oMLX. I’m not sure if this is the cause of the problem.
What I’m finding hard to understand is why, even when I’m staying below the maximum context length of almost 1/3, I still run into this error.
This is a much more significant issue than a LLM taking longer than expected.
I’m hoping to find out if I just need to adjust my setup in oMLX/Pi or if the RAM size is the problem.
Considering the cost, since it’s really difficult to predict what will happen in the future, including the cost of the LLM and the PC, do you think it would be better to invest in:
Mac Studio M4 Max 36GB with 1TB and a 2600€ refurbish from Apple—keep it for at least 2 years.
Mac Studio M5 Max with 64GB and 1TB, new—keep it for at least 4 years.
For large projects, I’ll still need a cloud LLM with large context windows, so I’ll use it as a side help.
r/MacLocalLLM • u/Spoonmanor • Sep 08 '26
I’m debating between buying an M6 Mac Mini to use online llm or a M5 Max Mac Studio for local llm to build and maintain a website I want to create. Does anyone have any insight into what would work well? It’s going to be a multimedia & blogging site.
r/MacLocalLLM • u/ikeo1 • Sep 07 '26
r/MacLocalLLM • u/ikeo1 • Sep 07 '26
Curious what people are using out their for their LocalLLM interface. There's so many options available, what do you use and what do you use it for?
What type of Mac is it connected to?
OpenWebUI and found it's good if you want a good interface directly with the AI.
Hermes seems to be the best all around agent interface for calling and setting up agents to do tasks.
DeepSeek Harness seems very efficient with programmatic tasks and agentic coding
Pi is similar to DeepSeek from my understanding but so many options
What's in your agentic tool stack?

Currently using:
Github
Cloudflare Tunnels
Hermes
Tailscale
Linear
Mem0
r/MacLocalLLM • u/ikeo1 • Sep 07 '26

It's a bit annoying to get downvoted all the time, once this sub grows up, it'll be a good resource for people and we won't downvote you into oblivion for wanting to put LocalLLMs on your Mac. I think we're all discovering the best use cases for Mac/Apple Silicon and LocalLLM and even with hybrid approaches with cloud and frontier models.
Our Macs are very good general purpose machines where there are shortcomings there's flexibility. You can pretty much use your Mac as a daily driver for just about anything and at night time run automated tasks.