Open-source terminal pair programmer — BYO API key, any model, edit real files directly from the CLI.
Aider is the leading open-source terminal coding assistant — a free, self-hosted alternative to paid coding agents that supports any model (Claude, GPT-4, Gemini, local models) via your own API key. It reads your git repository, edits files in place, makes commits, and understands your codebase architecture. The gold standard benchmark tool for the open-source coding agent community.
Aider has established itself as the benchmark open-source coding agent — consistently tested and top-ranked on the aider-leaderboard, an independent evaluation of AI coding performance across models. It is a Python application that runs in your terminal, reads git repositories, understands file relationships, and makes targeted edits to your actual source files — committed to git with meaningful messages. The BYO API key model means you use your own Claude, OpenAI, Gemini, or Groq API keys — paying per token without a monthly subscription to a commercial coding agent. For heavy users, this often works out cheaper than subscription tools. Aider supports virtually every AI model with an accessible API, making it the most flexible coding assistant available. It also supports local models via Ollama — enabling completely offline, private coding assistance. The chat interface is conversational: describe what you want, Aider plans the changes, shows a diff, edits the files, and commits. It tracks which files are relevant to the conversation and manages context window size automatically. Aider is free to use with your own API costs as the only expense. For developers comfortable in the terminal and cost-conscious about subscription pricing, Aider is often the best overall value for AI coding assistance.
Power users running Aider with Claude API keys often pay $30-60/mo in API costs for heavy use — comparable to or cheaper than Cursor Pro or Claude Code Max plans — with the flexibility to switch models instantly. When a new Claude or GPT model drops, Aider users can test it same-day by swapping the model flag, without waiting for a commercial tool to integrate it.
Configure Aider with Ollama to run models like Qwen2.5-Coder, DeepSeek-Coder, or Code Llama entirely locally — no API calls, no data leaving your machine. For developers working on proprietary codebases without cloud AI access, or in environments with network restrictions, Aider + Ollama provides capable coding assistance with full data privacy.
Aider itself is free. You pay for API calls. Using Claude 3.5 Sonnet, typical developers spend $10-40/mo in API costs for regular coding sessions. Heavy users may spend $50-80/mo. This is often comparable to or cheaper than Cursor Pro ($20/mo) or Claude Code Max ($100-200/mo), and comes with full model flexibility.
Yes — configure Aider with Ollama and a local model like Qwen2.5-Coder or DeepSeek-Coder and it runs entirely on your machine with no API calls. Local model quality is below frontier API models, but the capability is meaningful and fully private.
The AI IDE that developers actually switch to — codebase-aware agents, Tab completion, and Composer in one VS Code fork.
View Review & Details →Anthropic's terminal-native coding agent — lives in your CLI, edits files, runs commands, and ships code.
View Review & Details →The original AI pair-programmer — the most widely deployed coding assistant, now with agents and Workspace.
View Review & Details →