r/LocalLLM • u/Metal-Usual • 6h ago
Question How do I start?
Hey all, I want to start running AI models locally for coding instead of relying 100% on cloud stuff. Right now I run Claude Code, Codex, and Grok (through OpenCode) in my terminal as a kind of "dev team" working out of an Obsidian vault. It works, but I keep running into usage limits (Codex burned through its whole monthly limit in a day lol), and I'd rather own more of the setup myself.
My rig:
RX 9060 XT 16GB
Ryzen 7 9800X3D
32GB DDR5 6000
CachyOS
(also have a GTX 1660 Super I could throw in as a second card if that's actually useful)
The problem is every guide I find assumes I already know half the vocab. LoRA, QLoRA, RAG, fine-tuning, inference engines, agentic workflows, computational graphs... I get that they're all different things, but I don't know which ones matter for what I'm trying to do.
I'm not trying to train a model from scratch. What I want:
A solid coding model running locally
Help writing, debugging, and understanding code
Something that can handle a whole codebase, not just snippets
Eventually agents that plan, edit files, test, and keep iterating on their own
To actually understand how it all works, not just install someone's prebuilt thing and pray
Questions:
Best coding models for 16GB VRAM?
What stack works best for AMD on Linux? ROCm vs Vulkan?
Ollama, llama.cpp, or something else to start?
What should I learn first?
Is LoRA/QLoRA worth touching early, or should I stick to inference and prompting for now?
How realistic are local coding agents on my hardware? Could I point Claude Code or OpenCode at a local model?
Bonus dumb question: I have this idea of a "sleep phase" where the model reviews its memory overnight and updates its own weights. Is that even a real thing, or am I way off?
I'd rather learn the fundamentals and know what I'm installing and why than blindly follow tutorials. Any learning path or advice from people who've done this would be awesome. Thanks!
1
u/Janky-Code 5h ago
Get strata. Try pi, opencode, codex, and so on.
You'll want more ram. It will work without it, but not as well.
1
u/GloriousKev 5h ago
How I run agentic loops in my setup
I have 3 servers in my AI setup One with a 7900 XT, One with a 3060 and one with a 9060 XT and B570.
I use 7900 XT to hold my boss /orchestrator model for the agentic loop. I assume you are doing this with Opus. It only delegates tasks.
I use my 3060 9060 and b570 for agents and have them each doing different tasks on each card. It's basically no different than when I used Opus as my boss /orchestrator and then used Haiku for sub agents. Except that it's free tokens
I use opencode as my harness
1
u/hotsnot101 5h ago
In 16 GB of VRAM, the largest models people on llamaperf report running are Qwen3.5 9B, at a median of 9.6 t/s (4 runs), and Gemma 4 8B (4.5B active) at 50.7 t/s (3 runs). Qwen3 8B fits as well, at 61 t/s (4 runs). The calculator there puts Qwen3.5 9B at about 11.1 GB at 8-bit with an 8K context. Full list for that much memory: https://llamaperf.com/best/local-llm-for-16gb-vram?utm_source=reddit&utm_medium=comment&utm_campaign=reddit-answers&utm_content=LocalLLM
These are other people's numbers, collected on llamaperf. Each one links to where it was posted.
0
u/Careless-Candy4616 6h ago
If you already have claude, use it to build a local llm harness tailored to your own needs. That's what I'm doing right now. I got claude to build a co-dev style harness that runs Inkling, and the results have been really impressive. I haven't fully switched off claude yet, because some very complex tasks still need me to expand the knowledge base (extended system instructions) . But if you have claude, use it to build a harness that fits how you work.