Most AI coding tools make two decisions for you — which model powers the suggestions and where you do your coding. Aider makes neither. Created by Paul Gauthier and released under the Apache 2.0 licence, Aider is a terminal-based AI pair programmer that brings any LLM you choose directly into your local coding environment — Claude Sonnet, GPT-4o, DeepSeek, Gemini, or local models via Ollama — and edits your actual files, in your existing Git repository, committing every change with a generated message. No subscription. No model lock-in. No cloud IDE. Just your terminal, your codebase, and the model you trust most for the task at hand.
Aider is a free, open-source, terminal-based AI coding assistant that brings any LLM into your local Git repository — editing files directly, committing changes automatically, supporting 100 plus programming languages, building a repository map to understand large codebases, running linters and tests on generated code, and enabling voice coding and image input for vision models — with no platform subscription cost beyond API token usage.
Is it worth using? Yes for terminal-first developers who want full model choice, maximum control over AI coding interactions, and zero vendor lock-in in their AI pair programming workflow.
Who should use it? Experienced developers who work primarily in the terminal, want to bring their own API keys and model choices, prefer Git-centric workflows with every AI change committed and reversible, and want to avoid paying platform subscription fees on top of model API costs.
Who should avoid it? Developers who prefer a graphical IDE interface with inline autocomplete, visual diff tools, and a polished GUI — Cursor or Windsurf serve this preference significantly better.
Best for
Not for
Rating
⭐⭐⭐⭐ 4.3 / 5
Aider is an open-source AI pair programming tool created in 2023 by Paul Gauthier and actively maintained on GitHub under the Apache 2.0 licence. It runs in a terminal alongside a local Git repository — building a map of the repository structure, sending relevant files as context to the chosen LLM, applying edits as diffs directly to the codebase, and committing each successful change with an auto-generated commit message.
The core philosophical difference from IDE-based AI tools is the combination of bring-your-own-key model flexibility and Git-native change management — every AI edit is a discrete, reviewable, reversible Git commit rather than an inline suggestion that the developer accepts or rejects in the moment. This makes Aider’s approach particularly well-suited to significant refactoring work where the ability to review and roll back AI changes in Git history is genuinely valuable.
pip install aider-chat. Set your API key for the chosen LLM provider — Anthropic, OpenAI, DeepSeek, Google, or a local Ollama endpoint.aider. Aider builds a repository map — a structural understanding of the codebase that provides context to the LLM beyond just the files in the current directory./add commands. Aider includes those files in the LLM context for the conversation.| Pros | Cons |
|---|---|
| Completely free — zero platform subscription cost beyond LLM API tokens | Requires comfort with terminal, pip installation, and API key management |
| Model flexibility across 40 plus providers with no lock-in | No inline autocomplete — chat-based interaction rather than continuous suggestion |
| Git-native approach makes every AI change reviewable and reversible | Context management requires deliberate file adding — can burn API credits if context is too broad |
| Repository map provides large codebase context that file-level tools cannot match | No GUI — less accessible for developers who prefer visual diff review |
| Top SWE-bench rankings validate coding quality against competing tools | Typical API spend of $10 to $50/month for regular use can exceed some flat-rate subscription alternatives |
Aider itself is completely free and open-source. The only cost is LLM API usage:
Most developers report spending $10 to $50 per month on API costs for regular coding work. Large refactoring sessions or monorepo work can increase costs significantly — architect mode reduces this by using cheaper models for execution.
Aider is a free open-source AI pair programming tool that runs in your terminal — editing code directly in your local Git repository using any LLM you choose, committing every change automatically, and building a repository map for large codebase context.
Yes — Aider itself is completely free under the Apache 2.0 open-source licence. The only cost is LLM API usage from your chosen provider. Most developers spend $10 to $50 per month on API costs for regular use.
Aider supports 40 plus models including Claude Sonnet and Opus, GPT-4o, DeepSeek, Gemini, Llama via Ollama, and other OpenAI-compatible API endpoints. You provide your own API key for the chosen provider.
Aider analyses the structure of your entire Git repository and builds a map of how files, classes, and functions relate to each other — providing the LLM with broader codebase context than just the files currently open. This helps generate more accurate, contextually appropriate code changes across large codebases.
Yes — Aider commits every approved code change to Git with an auto-generated commit message. This makes every AI edit discrete, reviewable in Git history, and reversible with a standard git revert if the change introduces problems.
Aider runs in the terminal with bring-your-own-key model flexibility and a Git-centric workflow. Cursor replaces VS Code with a GUI IDE with inline autocomplete, visual diff review, and built-in cloud AI. Aider for terminal-first developers who want model control and zero platform cost. Cursor for developers who want a polished GUI with AI woven into the editor interface.
Aider is the most flexible and cost-transparent AI pair programming tool available for terminal-first developers who want to bring their own model choices into their existing local coding workflow. The combination of bring-your-own-key model flexibility, Git-native commit-per-change approach, repository map context, and zero platform cost creates an AI coding tool that rewards developers who value control and transparency over polished GUI convenience. For any experienced developer who has been frustrated by model lock-in, opaque usage costs, or cloud IDEs that change their workflow, Aider provides the terminal-native alternative that puts every decision back in the developer’s hands.
Next steps