Best Local LLMs for AI Coding Tools

Every coding agent here runs open-weight models through Ollama, llama.cpp, or LM Studio, fully on your machine. Tool-calling reliability decides the tier: an agent that fires read/write/bash calls hundreds of times per session fails on models that mangle structured tool calls, no matter how good their prose is. Pick the right local model for the tool you actually use.

Table 1Directory

Coding tools with local model rankings

10 tools
ToolCategoryTop pickOpen
Claude CodeAnthropic's terminal coding agent, driven by a local modelCLI agentS Qwen3.6 35B-A3B→
OpenCodeOpen-source terminal coding agent (Ollama / OpenAI-compatible)CLI agentS Qwen3.5 27B Instruct→
OpenClawSelf-hosted agentic assistant with first-class Ollama supportSelf-hosted agentS Qwen3.6 35B-A3B→
AiderTerminal AI pair-programmer with its own edit-format leaderboardTerminal pair-programmerS Qwen2.5 Coder 14B→
ClineAutonomous coding agent for VS Code (formerly Claude Dev)IDE extensionS Qwen3 30B→
Roo CodeAutonomous VS Code agent with modes (a Cline fork)IDE extensionS Qwen3.6 35B-A3B→
Continue.devOpen-source chat, edit & autocomplete for VS Code / JetBrainsIDE extensionS Qwen2.5 Coder 14B→
GooseBlock's open-source autonomous developer agent (MCP-driven)CLI agentS Qwen2.5 Coder 14B→
Open Claude CodeOpen-source Claude Code CLI reimplementation, with an undocumented endpoint override for local modelsCLI agentS Qwen3.6 35B-A3B→
CodexOpenAI's coding agent, driven by a local model via its built-in Ollama providerCLI agentS Qwen3.6 35B-A3B→
Related

Explore more