Experiences with local models for coding

· Source: Martin Fowler · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, long

Summary

This article details experiences running small language models locally for agentic coding on M3 Max (48GB RAM) and M5 Pro (64GB RAM) machines. The author evaluated models like Qwen3.6 35B MoE, Gemma 4 31B, and Gemma 4 26B through a viability funnel, manual and automated evaluations, and day-to-day use. Key findings include Qwen Coder Next 80B MoE's functional correctness but instability, and Qwen3.6 35B MoE's mixed results, often struggling with complex tasks like cumulative percentages or creating new charts from log data. Automated evaluations sometimes contradicted manual findings, with Qwen 35B MoE performing better on a 64GB machine than 48GB for one task. The author notes that task complexity, file discovery, and instruction specificity significantly impact success, finding Bash and Python tasks generally more successful than JavaScript.

Key takeaway

For AI Engineers evaluating local LLMs for agentic coding, recognize that current small models like Qwen3.6 35B MoE are not plug-and-play solutions. You should carefully select tasks, prioritizing small, well-defined changes over complex, multi-file operations requiring extensive code discovery. Be prepared for significant configuration effort and rigorous code review, as output quality and stability can vary even with identical model settings across different hardware.

Key insights

Local small models for agentic coding are not plug-and-play, requiring careful task selection and setup.

Principles

Method

Evaluate local models through a three-phase journey: manual user experience evaluations, automated one-shot problem-solving, and integration into daily workflows for real-world tasks.

In practice

Topics

Code references

Best for: AI Engineer, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Martin Fowler.