Comparison of Qwen 3.6 and Gemma4 (MoE and Dense models, Q4_K_M), generating a moderately complex MySQL query, only one produced acceptable results

Posted by bgravato@reddit | LocalLLaMA | View on Reddit | 43 comments

I tried Qwen3.6 35B A3B MoE, Qwen3.6 27B Dense, Gemma4 26B A4B MoE, Gemma4 31B Dense. In all cases I was using Q4\_K\_M and thinking mode enabled. I also tried Qwen3.6 27B Dense in Q6\_K version. Same prompt for all. The only one that produced a working query, that did exactly what was asked, was Gemma4 31B Dense. Not even Qwen3.6 27B Q6\_K was able to do it. Gemma4 also did it considerably faster than Qwen3.6 27B. Given all the comments I've seen in the past weeks I had high hopes on Qwen3.6, but for now it was a bit disappointing... What has been your experience with these models for generating MySQL queries? Next I'll try some PHP code generation... I hope Qwen3.6 does better there.