Best Local LLMs for Goose
Block's open-source autonomous developer agent (MCP-driven)
Goose (by Block) is an open-source autonomous developer agent (CLI and desktop) that executes, edits, and tests code using any LLM. It runs fully local via Ollama and is built around MCP extensions, so it leans almost entirely on the model's tool-calling ability. Block states it plainly: models without tool calling can only do chat completion, and every extension must be disabled. Choose accordingly.
- Best pick
- Qwen2.5 Coder 14BQwen2.5 is Goose's explicitly recommended local family; 14B is large enough to call tools consistently.
- What Goose needs
- Reliable native JSON tool/function calling plus enough context (8K+). Without it, Goose can only chat, because every extension and action is a tool call.
Goose local LLM tier list
13 models| Model | Size | RAM | Why | Run |
|---|---|---|---|---|
| Qwen2.5 Coder 14B | 14B | 16GB | Qwen2.5 is Goose's explicitly recommended local family; 14B is large enough to call tools consistently. | |
| Qwen3.5 35B-A3B Instruct | 35B | 32GB | Large Qwen MoE, strong native tool calling with headroom for many MCP tools. | |
| Llama 3.3 70B Instruct | 70B | 64GB | Recommended Llama family; 70B is the most reliable local tier for multi-tool agent loops. |
| Model | Size | RAM | Why | Run |
|---|---|---|---|---|
| Qwen3 30B | 30B | 32GB | Large Qwen3 MoE with native tool calling; a popular Goose-local choice. | |
| Qwen3.5 27B Instruct | 27B | 24GB | Dense large Qwen; reliable tool calls. | |
| Qwen2.5 Coder 7B | 7B | 8GB | Recommended Qwen coder; works but smaller, so slightly less consistent on the 11-tool default set. | |
| Mistral Small 22B | 22B | 32GB | Goose-recommended family with native function calling; solid mid-size agent model. |
| Model | Size | RAM | Why | Run |
|---|---|---|---|---|
| Qwen3.5 9B Instruct | 9B | 12GB | Tool calling present, but ~9B struggles to stay consistent across the full extension set. | |
| Qwen3 8B | 8B | 12GB | Usable for few-tool setups; flaky once many tools are enabled. | |
| Qwen2.5 7B Instruct | 7B | 8GB | Recommended family but small, with reported tool-calling failures on M-series in community threads. |
| Model | Size | RAM | Why | Run |
|---|---|---|---|---|
| Phi-4 14B | 14B | 24GB | Flagged as lacking native tool calling in Goose discussions. | |
| Gemma 4 31B | 31B | 32GB | Gemma family reported with no native tool calling for Goose; chat only. | |
| DeepSeek-R1 Distill Qwen 14B | 14B | 16GB | Native R1 does not support tool calling; the 14B distill is too small to compensate. |
Tiers weigh tool-calling reliability, context window, and coding quality for Goose specifically. A model can rank higher for one tool than another. RAM figures are for Q4 quantization. Sources are listed below.
Local setup notes
Configure Goose with the Ollama provider. Raise OLLAMA_CONTEXT_LENGTH to 8K+ so the model can hold Goose's MCP tool definitions (the 4K default is too small and silently drops extensions and .goosehints). Stick to native-tool-calling families.
Get told when a better model fits your MacBook Air M5 16 GB
Get one email when a new open-weight model is a better fit for this machine.
For: MacBook Air M5 16 GB
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.
Frequently asked questions
What is the best local model for Goose?
Why does Goose ignore my extensions or .goosehints with local models?
Can I use Gemma, Phi-4, or DeepSeek-R1 with Goose?
Sources
Other AI coding tools
- Claude CodeAnthropic's terminal coding agent, driven by a local modelCLI agent
- OpenCodeOpen-source terminal coding agent (Ollama / OpenAI-compatible)CLI agent
- OpenClawSelf-hosted agentic assistant with first-class Ollama supportSelf-hosted agent
- AiderTerminal AI pair-programmer with its own edit-format leaderboardTerminal pair-programmer
- ClineAutonomous coding agent for VS Code (formerly Claude Dev)IDE extension
- Roo CodeAutonomous VS Code agent with modes (a Cline fork)IDE extension
- Continue.devOpen-source chat, edit & autocomplete for VS Code / JetBrainsIDE extension
- Open Claude CodeOpen-source Claude Code CLI reimplementation, with an undocumented endpoint override for local modelsCLI agent
- CodexOpenAI's coding agent, driven by a local model via its built-in Ollama providerCLI agent