Claude Code using a local LLM A developer tested whether splitting a coding task between Claude Code as an orchestrator and a local Qwen3.8 27B Q4_K_M model running on llama.cpp as a worker beats giving the local model the whole job. The orchestrated runs scored 78/78 and 77/78 on a hidden-test suite, while single-prompt runs scored 76, 74 and 71 out of 78, with the developer noting that "the review is where the defects died" and that the setup cannot isolate how much the splitting alone contributes. I wanted a local model for the privacy it gives me. And if I do have to use a frontier model as the master control node, the problem is cost: frontier models are expensive, and the subscription usage limits seem keep getting smaller and smaller. So the question is whether the expensive model can do the thinking while the cheap one does the typing, and whether anything worth having comes out the other end. For this test the "local" model ran on a rented RunPod card, which is not private from RunPod. It's the same 16.8 GB file that runs on any 24 GB card you own. There are already plenty of posts on wiring Claude Code to Ollama or a local endpoint. What I couldn't find was anyone measuring whether the split actually beats just giving the local model the whole job. So I had Claude set up a small project with hidden tests, ran it both ways on the same card, and graded it with the same script. This is what came out, including the parts that don't flatter the idea. TL;DR. Orchestrated Claude writes five small task prompts, reviews every result against the spec, sends defects back with a reproduction : 78/78 and 77/78 on the full test suite, 58 of those tests hidden from the worker. One big prompt to the same model: 76, 74 and 71 out of 78 , and the 71 was the run with the most turns. Every one shot run shipped the same bug replaying the log wrote it out again , and both orchestrated runs had it too, until review caught it. The worker was Qwen3.8 27B Q4 K M on llama.cpp, one RTX PRO 4000 Blackwell at $0.57/hr, 32K context, and the whole session cost about forty cents of GPU. The review is where the defects died. This setup can't say how much the splitting alone buys. Two roles. "Claude Code with a local model" gets used for two different setups, so here is which is which. The first setup points Claude Code itself at a local endpoint, so the local model becomes the whole agent. That's not this. Here Claude stays Claude. It plans, writes the task prompts, reads the code that comes back, runs probes against it, and decides what goes back for rework. The local model is a worker it calls through a small harness, one stateless conversation per task, with four tools and a workspace folder. | Orchestrator | Claude, in a Claude Code session on my Mac | | Worker | Qwen3.8-27B-Uncensored-Q4 K M.gguf 16.8 GB , llama.cpp llama-server | | GPU | 1x RTX PRO 4000 Blackwell, 24 GB, RunPod Secure, $0.57/hr | | Context | 32,768 tokens, --jinja , flash attention on, thinking off, temperature 0.2 | | Reach | SSH tunnel from the Mac to the pod's port 8080 | I wanted the RTX A5000 at $0.27/hr, which is what the first round of this experiment ran on, but RunPod had none in stock when I asked. The PRO 4000 was next on the list. The card changes speed. The model file and settings are identical, but the harness changed between the rounds, so the two aren't a card comparison. The server on the pod is one line: llama-server -m /workspace/gguf/Qwen3.8-27B-Uncensored-Q4 K M.gguf \ --host 127.0.0.1 --port 8080 -c 32768 -ngl 99 --jinja -fa on --alias local It listens on localhost only, and I reach it through a tunnel instead of RunPod's public proxy: ssh -f -N -p