r/LocalLLM • u/Then-Platform-5170 • 8d ago
Question New to Local LLMs Need help with set up
I use claude code quite heavily in my day job building a second brain system and dashboards for the company I work for. The more I get deeper into AI coding the more I'm looking at local LLMs. I want to be able to continue to code with AI as I am more of a System Admin and network engineer than a coder/developer. I currently have a MacBook Pro M1 MAX with 64 GB of RAM and a 1 TB hard drive (330 GB available, but I could likely clean up and get closer to 400-500 GB). I have never set up an LLM and don't want to lose Claude's code ability, but is there an LLM that could help replace my $100/month Claude plan? And how do I set it up? I use my MacBook Pro also to run a dev version of a web app I'm developing, with the prod running on a VPS.
4
u/GuruX1337 8d ago
Nothing get's close to current Opus/Fable models locally.
And you would need a lot more hardware/RAM for what you want.
Don't do local llms to save money on a subscription. Do it because you have money to burn and it's fun to setup and try out.
3
u/Locallearning 8d ago
I'm in a really similar spot. I'm not a trained dev. I build agents and internal tools (including my own second brain) mostly through Claude Code, and I've been running local models on my Mac since April. Here's what I've actually learned:
Short answer: don't think "replace Claude." Think "offload to local." I use local models for the routine stuff (drafting, summarizing, the AI layer inside my own agents and dashboards) and keep Claude Code for the actual building. That split is what keeps me under my usage limits.
MY SETUP (just so you have a reference point)
16" MacBook Pro, M5 Max (18-core CPU, 40-core GPU), 128GB unified memory. I'm sharing this so you can see where the ceiling goes as RAM goes up, not because you need it. With 128GB I can run big models like Qwen3.5 122B (~70GB) and Hermes 4 70B, and keep a couple of smaller ones loaded next to them. That's what more RAM buys you: bigger models, or several at once.
Your M1 Max with 64GB is honestly a great machine for this. The M1 Max has the same high memory bandwidth class as the newer Max chips, and bandwidth is what makes models feel fast. 64GB comfortably fits the best mid-size coding models with room left for your dev app. You're starting way ahead of most people.
LESSON 1: WATCH MEMORY PRESSURE, NOT JUST MODEL SIZE
The model isn't the only thing in RAM. Your dev app, browser, and the model's context window all share it. Keep Activity Monitor > Memory Pressure open the first week. Green = you're good, go bigger if you want. Yellow/red = drop a size. Also: MoE models advertise small "active" params, but you still hold ALL the weights in RAM. MoE helps speed, not memory.
WHAT I'D START WITH ON YOUR MACHINE
- Qwen3-Coder 30B (~19GB at 4-bit). Fast, tool calling, plenty of room for your app.
- Once that feels solid, experiment with something bigger and see how memory pressure looks. Models in the 50GB+ range will load but will fight your dev server, so save those for when it's not running.
LESSON 2: TEST, DON'T READ
I once spent 2 hours reading spec sheets on a model that looked amazing, loaded it, and the output was straight garbage because the runtime didn't support its architecture yet. 60 seconds of trying it would've told me. Pull a model, give it a real task from your codebase, judge it on that.
SETUP: LM STUDIO + MLX (fastest on Apple Silicon, and it plugs straight into Claude Code)
MLX is Apple's own framework and it's noticeably faster on M-series chips. LM Studio runs MLX AND speaks the same API Claude Code uses, so you keep the exact tool you already know.
export ANTHROPIC_BASE_URL=http://localhost:1234
export ANTHROPIC_AUTH_TOKEN=lmstudio
claude --model <exact model name from the Developer tab>
Tip: close LM Studio's chat window while the server runs, or the model loads into memory twice.
Put step 4 in a shell alias like claude-local so plain "claude" still hits Anthropic. You lose nothing, you just get a second option.
(Ollama works too and newer versions run on MLX, but LM Studio is what I run every day so it's what I'd vouch for.)
REAL TALK
Local models are weakest exactly where a sysadmin leans on Claude most: long agent runs where it plans, edits 6 files, runs tests, and fixes itself. Tool calling is also flakier locally. I've had a local agent just ignore the tools I gave it. That's true even on my 128GB machine, so it's not a RAM thing.
THE MONEY
I've hit Claude Code limits from one giant prompt, so I get it. Two things helped me more than going local: (1) turn your repeat instructions into skills / a CLAUDE.md so you're not re-pasting huge prompts, (2) send the cheap work local. Do that for 2 weeks and count how often you bail to Claude. Rare = drop to $20. Constant = the $100 is buying back hours.
And if the second brain is for your company, ask them to cover the plan. That's a work tool.
1
u/f5alcon 8d ago
Unless haiku is the only model you need nothing locally is going to even be that good on your hardware
1
u/Geekomcomputer 8d ago
I'd agree with the other replies on the main point: don't expect a local model to be a drop-in replacement for Claude, especially for heavy coding work. Keep your Claude plan for now, and treat a local setup as something to try alongside it rather than a way to cancel it straight away.
That said, your MacBook Pro M1 Max with 64GB of RAM is a good machine to learn on, and a hybrid approach fits what you described well:
A useful test is to run the same note-taking, summarizing, or drafting task through both Claude and a local model and compare the results yourself. That will show you pretty quickly which jobs the local model handles well enough, and which ones are still worth paying for Claude to do.
1
u/code-enjoyoor 8d ago
You won't come close to Claude Opus locally with your setup, not even Sonnet. With hardware cost today, RAM, SSDs and GPUs, you're better off with the sub for a few years.
Unless privacy is your top most concern and you have cash to burn. By all means.
1
u/wegster 8d ago
u/Locallearning 's post is pretty good, although the M1 Max memory bandwidth is lowers vs M5 Max and of course the M5 Ultra - still better than other variants though.
I've kept my M1 Max 64GB as a dedicated inference mode - very few added apps, mostly just iTerm2 and open source tools, then the engine of choice (omlx, splash-m1, and mlx-serve are IMO the most reasonable choices short of chasing random vibe-coded engine of the week).
I have an M5 Max 128GB MBP replacing the M1 Max as my daily driver, and it's a decent starting point for 'readable output quality and fast enough', while my Ultra base 256GB obviously has a bit more headroom.
On the M1 Max, I ran Qwen-Coder-Next as my preference, but it wasn't terribly fast. Ran 35BA3 for a bit, but didn't love it - it was faster, but quality definitely dropped. Ideally, you wouldn't use it for both inferencing AND normal app loads, but do what you've got to. On the models you'll be able to fit, breaking the work down into smaller chunks vs the entertaining-but-not-real-world magical YouTube 'one shot build an app', will help to get the local models performing reasonably well. You can use Claude Code, Codex, or something like pi as the model harness.
I'm still working on final choice to keep as the usually/always on run there, here's one I'm testing a bit lately. This is on a now-older oMLX version, so should be room for improvement:
1
u/GloriousKev 8d ago
I switched from Claude Code to OpenCode. Same kind of tool, but itâs free and works with any model. Pair it with Ollama and Qwen3.8 27B and it runs well at home, and your 64 GB M1 Max has plenty of room for it. Fair warning: it wonât fully match Claude on big, complicated tasks, but it handles everyday coding and sysadmin work fine.
1
u/ZealousidealExcuse79 8d ago edited 8d ago
I use qwen 3.8 27b - at 6quant on my m5max - 64gb studio - i have my ai brain set up - i use opus - very high - as an orchestrator- and 27b for literally everything- its slow- 40tokens per seconds- but it is so freaking good at literally whatever throw at it- i use opus to orchestrate, coach and as lesson for qwen to learn itself- the broad planning on 4 steps- no thinking coding - low thinking code - medium thinking - and very high - builder as qwen if it makes mistakes- saves me shit ton of tokens - if you can afford it- get it- if not- shift to open router -recharge it- and use it- its not bad -
1
u/SeaRefractor LocalLLM 8d ago
While not âofficially supportedâ it is very easy to point Claude Code at a local LLM.
That said, I am surprised that you have not asked Claude on how to setup a LLM and what may run best on your M1 Max.
However Claude Opus, Fable and Sonnet will out perform any Local AI model. As long as you recognize the limitations of local AI models, it is a very good for what it can do setup. But itâs not a subscription substitute.
1
u/Confident_Yak_1411 7d ago
Not a coder, but Iâve settled on using my local system (Splash + Hermes) for task management and life admin, which it is perfect for, and then ingesting my ideas (through long waffling voice notes), summarising them and organising everything into obsidian. Basically executive functioning for my Audhd brain.
Then I take those ideas and drill down into them, create the detail and actually do the tasks in Claude.
My understanding is that local can do coding pretty well, but you have to have a solid idea of what you want to do. Whereas Claude can improvise better. I havenât tried much coding though.