Gemma 4 31b is better for coding than Gemini in my limited testing on a small C project single source file project, less than 1000 lines. Setting temperature to 0 gives better results for me. It seems like Gemini ignores the system prompt more and the default reasoning output seems more incoherent.
Their open weight on device models are really impressive. Partly because I think they are the only ones out of all the frontier labs even working on local models.