Viability of local models for coding

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

Summary

An exploration of running local large language models (LLMs) for agentic coding on Apple Silicon machines (M3 Max 48GB RAM, M5 Pro 64GB RAM) reveals that while significant speed improvements have occurred, the overall quality for agentic coding remains inconsistent and not yet a "plug and play" experience. The author's four-week evaluation highlights RAM as the primary constraint, with models between 15-25GB being comfortable on 48GB RAM. Factors like processing power, memory bandwidth (~300 GB/s), model parameters (30B-80B), reasoning capabilities (sometimes counterproductive), and tool calling (tricky but self-correcting) all influence viability. Formats like GGUF/MLX and quantization (4BIT) were tested, with Mixture of Experts (MoE) architectures, specifically Qwen3.6 35B MoE, offering the best balance of capability, speed, and RAM footprint among those tried.

Key takeaway

For AI Engineers evaluating local LLMs for agentic coding, recognize that while models like Qwen3.6 35B MoE offer a good balance of capability and speed on Apple Silicon, a "plug and play" experience is not yet available. You should expect to invest time in tuning parameters like context window size (32K-64K) and experimenting with reasoning capabilities, as they can be counterproductive. Focus on MoE architectures to optimize RAM usage and performance.

Key insights

Local LLMs for agentic coding are improving but still require significant tuning and face quality limitations.

Principles

Method

The article describes an evaluation process involving running various quantized LLMs (Qwen3, Gemma 4) in GGUF/MLX formats on Apple Silicon, using LM Studio and coding harnesses like OpenCode and Pi, while adjusting context window sizes.

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.