r/opencodeCLI • u/Imaginary-Mix-7777 • 22h ago
Anyone running OpenCode fully on a local model? Which one actually handles the tool calls?
I've been on OpenCode with the DeepSeek API for a couple of months and it's been great, but I'd like the long loops (test, fix, test again) to stop costing money every run.
I've got a Mac mini M4 Pro with 48GB that sits idle most of the day, so that's what it would run on.
Not trying to replace the API model for the big refactors. Just the grind work where it calls tools 40 times in a row.
If you run OpenCode against a local model, which model, which quant, what's serving it, and do the tool calls actually hold up or does it fall apart after a few turns?
3
u/taytay735 20h ago
Qwen3.8-27B-AWQ-INT4 on VLLM. Works okay. Fails about 20% of CLI tool calls, but it's agentic so it corrects itself and reattempts successfully.
3
u/grabber4321 18h ago
Qwen 3.8:Flash-Next - I already built a bunch of my own stuff with it. Its fantastic. Runs non-stop.
You might be able to fit in only Qwen 3.8:27B - its not as capable, but it will do.
1
u/jonas-reddit 18h ago
Qwen 3.8 27B FP8 using sglang with DFlash2.
1
u/SirRobinBlibs 16h ago
I'd judge a local model on tool-call parse success over a fixed loop, not on tokens per second. A stack that is fast but drops or retries one in five tool calls will lose a long test-and-fix run, even if the chat looks fine.
Pick one representative loop (a failing test, a patch, a re-run) and count clean tool calls, retries, and wrong-format arguments. Once that number is stable, then compare speed and VRAM. The reports already in the thread are useful starting points, but they are hard to compare without that same loop.
1
u/Dismal-Frame7329 14h ago
Qwen3.8-27B also. I put the analysis here with what hardware I'm using: https://www.reddit.com/r/RackBrainsResearch/comments/1vrzi5m/we_ran_qwen3827b_locally_on_a_24_gb_radeon_gpu/
OpenCode handles the calls to tools, and I have some self-built tools added into OpenCode also.
1
u/ea_man 13h ago
Now the hype is https://huggingface.co/blog/harness-adapters-at-scale , there's also one for opencode yet they say the Pi one works better even with opencode.
1
u/mguffin 8h ago
I run Opencode cli and desktop on Linux connected to my Mac Mini M4 Pro 48GB running oMLX with Qwen3.6-35B-A3B. Furthermore, I use Opencode-Go with Deepseek orchestrating my Mac Mini model for coding.
1
u/donwrightphoto 3h ago
Qwen 3.8 27B with full context + Gemma 4 31 instruct both largest q8 (qwen) or q6 for Gemma
Even though its old - qwen3 coder is still great at long tool heavy tasks
I love Orinth as well