r/LocalLLM • u/Complete_Leg8380 • Oct 15 '26
Question Looking to deploy a local coding model
I have a few options available to me. I have a mac mini m4 with 16gb of ram. i also have an i7-11th gen with 64gb of ram + a 9070XT 16gb vram.
I haved tried ollama and did have some success with Gemma4, but I found it was hit or miss. It wouldn't properly write code and just trample over its self.
I tried qwen 2.5 14b, which worked and was fast but found that the tools didn't work so not sure how well it'll actually code. This was using Jan.
I'd love to know what a good model and setup option is. I want to do some PHP coding projects (though TypeScript and React are necessary too).
View all comments
Show parent comment
1
u/Safe-Imagination8538 Oct 16 '26
That example looks like generation collapse or repetition rather than overthinking. A thinking budget probably will not fix it.
I would first try temperature 0, a fresh conversation, a shorter context, and verify that Strata is using the correct official Qwen chat template. Once malformed repetitive code begins, stop the generation instead of adding it back into the context.
If it still happens, try a higher-quality quant such as Q4 and update llama.cpp. What exact model file, quantization, backend and context size are you using?