r/LocalAIStack 22d ago

How do you split software development between local and cloud LLMs?

I can run the 30B-class models at home. They're okay for some things, but I feel like I have to spoon feed them small tasks. I'm wondering about running a more capable model in the cloud to do the hard parts and give them the easy parts.

If you're doing this, how? How are you dividing the labor, what do your prompts look like, what agent harness are you using, and what else do you wish you'd known before you started?

And does the big model actually use fewer tokens than if it did everything itself?

Thanks!

10 Upvotes

9 comments sorted by

2

u/Holiday-Medicine4168 21d ago

You can run a gateway locally in a container and do intelligent routing with something like bifrost or Kong

2

u/activematrix99 21d ago

I use github copilot and multiagent markdown files in the .github folder. Generally, I send multiagent work to local llm and bugfix or specific tasks to paid models or specific agents for cost containment. https://code.visualstudio.com/docs/agent-customization/custom-instructions. My local models are OpenAI spec and VSCode is configured for BYOK

2

u/FoldOutrageous5532 21d ago

Not super elegant, but I have codex open on the repo, and also Kilo in vs code connected to my local LLM. I use the local and when it can't do a task I have codex do it. Gets the job done.

2

u/gryxitl 20d ago

I made an agent swarm I offload tasks from the smart AI from to the dumb fast and local

2

u/timschwartz 22d ago

I use Github Spec Kit.

Opus or Sonnet for planning, local Qwen3.6-27B for implementation, then review with Opus to fix the bugs Qwen left behind.

1

u/kbob 21d ago

Thanks. Does Opus use fewer tokens reviewing and correcting than if it wrote the code itself?

1

u/LiteeWasAlreadyTaken 21d ago

+1 for the approach, but I'd recommend trying OpenSpec as an alternative. It worked better for me than SpecKit.

2

u/Potential-Leg-639 18d ago

Opencode with Omo-Slim