Open-LLM coding agents: OpenCode, Aider, Cline, Goose and MinniCode compared
An open-LLM coding agent is a coding agent you can point at an open-weight model, hosted or on your own computer, instead of one company’s paid model. OpenCode, Aider, Cline, Goose and MinniCode all do it. Pick OpenCode, Aider or Goose if you want open source in the terminal, Cline if you work in an editor, and MinniCode if you want an agent tuned to send open models fewer tokens, that asks before each edit, or in auto mode only before pull requests and merges.
Updated 2026-11-25
What an open-LLM coding agent is#
A coding agent has two parts: the model that writes, and the program around it that reads your files, shows edits, runs tests and decides what to send. In Claude Code and Codex both parts come from one company. An open-LLM coding agent lets you choose the model, including open-weight ones such as Nemotron, Qwen or DeepSeek, from a hosted provider or on your own machine.
Two words get mixed up here. Open LLM is about the model: its weights are published, so many providers can host it and you can run it yourself. Open source is about the agent: its code is published. An agent can be one, both or neither. Four of the five below are open source. MinniCode is not: it is free to use under its own licence, and it is built for open LLMs.
Side by side#
| What it is, in its own words | Where it runs | Models its docs name | Licence | Before it acts | |
|---|---|---|---|---|---|
| OpenCode | "The open source coding agent" | Terminal, a desktop app in beta, web and mobile | OpenRouter, Anthropic, Ollama, LM Studio, vLLM and others from the models.dev catalog; a set of free models is included | MIT | Its default policy allows actions and asks before reading .env files; you set other rules yourself |
| Aider | "AI pair programming in your terminal" | Terminal, and beside your editor | OpenRouter, Anthropic, OpenAI, DeepSeek, Ollama, LM Studio and any OpenAI-compatible API | Apache-2.0 | Commits each edit to git as it makes it, so you review or /undo the commit |
| Cline | "The open source coding agent in your IDE, terminal, & desktop!" | VS Code, JetBrains, a CLI, and a desktop app | OpenRouter, Anthropic, OpenAI, Google, Ollama, LM Studio and any OpenAI-compatible API; some free models | Apache-2.0 | Every file edit and terminal command requires your approval, unless you turn on auto-approve |
| Goose | "Your open source AI agent" | A desktop app and a CLI on macOS, Linux and Windows | OpenRouter, Anthropic, OpenAI, Gemini, Ollama and LM Studio; it can also load local models itself | Apache-2.0 | Tool permission controls and a sandbox mode |
| MinniCode | The low-cost, open-model coding agent | Terminal on Windows, macOS and Linux | NVIDIA, OpenRouter, your Claude subscription through Claude Code, and local models through Ollama or LM Studio | Free under its own licence; not open source | Out of auto mode every edit is shown first and commands, deletions and pushes need a typed yes; auto mode asks only before pull requests and merges |
Sources, all read on 25 November 2026: opencode.ai with its providers and permissions pages, aider.chat with its models and git pages, docs.cline.bot and the Cline repository, goose-docs.ai with its providers page, and the MinniCode docs. These tools change often; their own pages are the record.
How to choose#
| If you want | Look at |
|---|---|
| Open source code you can read and change | OpenCode, Aider, Cline or Goose |
| To start on free models without setting up a key | OpenCode, which includes some |
| An agent inside VS Code or JetBrains | Cline |
| Every change as its own git commit | Aider |
| A desktop app for more than code | Goose |
| A lean agent for open models, with every edit shown before it lands | MinniCode |
| To use the Claude plan you already pay for, and open models beside it | MinniCode |
| To keep Claude Code and make it cheaper | None of these: see tools that reduce Claude Code token usage |
Why the agent’s own tokens matter more on an open LLM#
Every step an agent takes sends its instructions, its tool list and the conversation again. A smaller open model has less attention to spend on that, and a free key has a daily allowance to spend it from. So what the agent sends before it gets to your code decides a lot of what you get back. Ask three things of any agent here:
- How long are its own instructions, and do its tools load on every turn or only when needed?
- Does your project memory file load whole on every turn, or a short part of it?
- What happens to old tool output: does it stay in the conversation, or drop out?
This is what MinniCode is built around. We measured it against Claude Code: in a warm session MinniCode wrote 5,286 tokens to the model’s cache against 8,273 for Claude Code on the same tasks, 36% less, three sessions each, every task checked correct (21 October 2026, both on Claude Sonnet so the comparison is like for like). It is a comparison with Claude Code only, not with the four agents above. The method is on the evidence page.
Getting an open model to run it on#
- NVIDIA hosts open models behind a key that starts with
nvapi-: how to get one. - OpenRouter lists models from many labs and marks the free ones with
:free. - Ollama and LM Studio run a model on your own computer, with no key and nothing leaving the machine.
What a free model does well, and where it stops, is in How to run a coding agent on free, open models. If you are coming from Claude Code, read Claude Code alternatives that run on open LLMs first.