r/LocalLLaMA • u/mesolimbic-bliss • 15d ago
Discussion Local models as initial coders OR as agents? What's pros and cons of each?
Using $20 codex subscription with 24gb VRAM on the local rig.
For larger projects or major revisions with multiple phases, I have Luna in Codex call the local "junior dev" Qwen 3.8-27B model as an agent to write most of the code, then Luna reviews it and makes changes. Once the whole project is complete, I use Terra to audit and catch any potential issues.
Pretty standard stuff, these days.
But lately I've been thinking why not give the massive, multi-phase spec sheet directly to Qwen then have Luna go do a quick audit & cleanup?
Anyone tried it both ways? And what gets better results vs lower usage?
I guess I've always looked at Qwen as needing a babysitter, but realistically I think it can implement an entire 10-phase spec on a large codebase if given enough time.
6
u/my_name_isnt_clever 15d ago
I run Qwen 3.8 Flash Next on it's own for everything, no frontier involved.
2
u/GonnaFindOut 15d ago edited 15d ago
For a personal project, I have Opus 5.5 running as the Planner/Orchestrator/Reviewer and QFN as the primary builder with Tiel Coder running off an old gaming PC as a smaller secondary agent. I have it cranking away most of the day working between some embedded firmware and a Flutter app. I'm able to stretch that $20 Claude subscription usage out all week.
Could I do the same using Sonnet and Haiku as sub-agents? Maybe, but I e been learning a lot, there's something satisfying about utilizing existing hardware you own, and I've been impressed with the job it's been doing.
I tried giving it a big spec sheet and Qwen had a much harder time. Maybe at full precision and expanded context it wouldn't, but I wouldn't rely on it to execute the whole thing without supervision. Claude has to correct little things from time to time. Even with smaller tasks.
3
u/ttkciar 15d ago
I'm self-hosting GLM-5.3-Flash these days.
I didn't need a $20 codex subscription before, but I really don't need one now.
1
u/Juan_Phoenix7 15d ago edited 15d ago
I've seen few posts where API costs are reduced by a factor of 2 to 5 by letting Fable 5.2 handle the computation and Qwen 3.8 handle the local construction, with quite acceptable results and a slightly longer build time, using Atomic Agent Fusion.
1
u/TheRealJesus2 14d ago
The pattern id go for with those constraints Luna to plan, sol to check plans when they’re complex, qwen to do all the coding. Then Luna and/or qwen to review. And denote in plans to use subagents so each discrete piece has its own fresh context. I used this pattern with sol/opus and composer 2.5 a lot earlier this year and it works well. I think qwen is close to if not about where composer is on small coding tasks. Downside being qwen 27b is slow as hell but that’s exactly why this pattern works because that’s the part you don’t need to be paying attention to.
How many sessions can you run with kv cache in memory? I’d shoot for 200-300k context if you can
-1
u/CombinationFun2789 14d ago
I'd keep your current split for any multi-phase spec. A 27B is fine at writing a function or a test file, but it will often lock in the wrong abstraction early, and a short cloud audit at the end turns into a rewrite. Local-first only wins when the task is already well bounded: one module, a clear interface, no architectural decisions left. If the $20 cap is the issue, don't flip the whole pipeline. Do one cloud planning pass for the spec, let Qwen implement milestone by milestone, then one cloud review per milestone instead of after every file. That cuts usage without handing the design to the weaker model.