Aider

by Aider AI

Aider is a free, open-source terminal tool for AI pair programming: it edits files in a local git repository from natural-language prompts and auto-commits each change.

developer-toolopen-sourceself-hostedpythonfree-tier

At a Glance

Type

Developer tools

Pricing

FreeFree and open-source (Apache-2.0). You separately pay your chosen LLM provider (e.g. OpenAI, Anthropic) for API usage; free/local models are also supported.

Best For

Editing an existing local git repository from the terminal using natural-language prompts, with every AI change committed to git automatically.

Platforms

CLI, Python, macOS, Windows, Linux, Self-hosted

Models

Gemini 2.5 Pro, DeepSeek R1, DeepSeek V3, Claude 3.7 Sonnet, OpenAI o3, OpenAI o4-mini, GPT-4.1

Founded

2023

Free Tier

Available

Licence

Open Source

Key Features

Pros & Cons

Strengths

  • Free, open-source (Apache-2.0) and works with almost any LLM provider or a local Ollama model
  • Every AI edit is a git commit, giving a clear audit trail and easy rollback
  • Installs in one command via pip, pipx, uv or curl/PowerShell on Mac, Linux and Windows

Limitations

  • Code-editing quality depends heavily on the chosen model; the docs warn it "may not work well with less capable models"
  • No hosted API or hosted GUI — it has an experimental local browser UI (aider --browser), but it's still a local terminal-first tool calling third-party LLM APIs you must pay for separately
  • Best results require a commercial model subscription (e.g. Claude, GPT, Gemini), so the free options are limited to local or rate-limited models

Integrations

GitOpenAIAnthropicGoogle GeminiDeepSeekGroqxAIAzureCohereOllamaOpenRouter

What it is

Aider is a command-line tool for AI-assisted coding. A developer runs aider inside a local git repository, describes a change in plain English, and Aider edits the relevant files directly, then commits the change to git with a generated message. It builds a "repo map" of the codebase so the model has context on relevant files without the user pasting them in manually.

Interface and dependencies

Aider is installed via pip, pipx, uv, or one-line curl/PowerShell installers, and runs on macOS, Linux and Windows (Python 3.8–3.13 for aider-install, the curl/PowerShell one-liners and uv; Python 3.9–3.12 for pipx and pip). Its primary interface is the command line, though it also ships an experimental local browser GUI activated with the --browser flag. It has no LLM of its own: it connects to a provider's API using a key you supply, including OpenAI, Anthropic, Google Gemini, DeepSeek, Groq, xAI, Azure, Cohere or a local Ollama model. Its own docs list Gemini 2.5 Pro, DeepSeek R1/V3, Claude 3.7 Sonnet, and OpenAI o3, o4-mini and GPT-4.1 as its best-performing model pairings. Git is a hard dependency, since every edit is expressed as a commit.

Where it fits and its limits

It suits developers who want AI edits applied to real files in an existing repo rather than a chat window, with git history as an audit trail and rollback mechanism. It is not an IDE plugin or hosted service, so there is no web console or managed backend beyond its local, experimental browser UI. Because it depends on external model APIs, cost and edit quality vary by provider and model choice, and the project's own documentation cautions that weaker or smaller models struggle to format edits correctly.

Frequently Asked Questions

Do you need to pay for Aider itself?
No — Aider is free and open-source under Apache-2.0. You do pay separately for API usage with whichever LLM provider you connect it to, unless you use a free or local model.
Does Aider work without an internet connection?
Yes, if you point it at a local model served through Ollama; otherwise it needs an API key and connection to a cloud LLM provider.

Last updated on