Issue 00 · Autumn 2026日本語 · RSS
AgentKoji

Aider vs Claude Code: Models, Git and Instructions

Aider commits each of its edits to git and connects to many LLM providers; Claude Code is included in paid Claude plans and reads CLAUDE.md. We checked both official sites on 2026-11-08.

TL;DR

  • Aider is an open-source (Apache 2.0) terminal pair-programming tool that connects to many LLM providers, so you pay the provider you choose. Claude Code is Anthropic's coding CLI, included in every paid Claude plan or billed through a Console account or a cloud provider.
  • Aider commits every edit it makes and has /undo; Claude Code commits when you ask and undoes file edits with checkpoints that are separate from git.
  • Aider loads conventions from a file you add with --read, /read or read: in .aider.conf.yml. Claude Code reads CLAUDE.md files, AGENTS.md and .claude/rules/ on its own.

Aider is an open-source AI pair-programming tool for the terminal that connects to many LLM providers. Claude Code is Anthropic’s coding CLI, included in every paid Claude plan. The documented differences that matter most are how you pay for models, how each uses git (Aider commits every edit; Claude Code commits when asked), and how instructions reach the model (Aider loads a conventions file you name; Claude Code reads CLAUDE.md on its own).

This comparison is for readers choosing a terminal coding agent who have narrowed it to these two. Every fact below comes from the official Aider and Claude pages on 2026-11-08. We did not install or run either tool for this article. The commands are quoted from the docs, and we show no command output.

Side by side

TopicAiderClaude Code
What it is“AI pair programming in your terminal”; open source under Apache 2.0, from Aider AI LLCAnthropic’s coding CLI; also available as VS Code and JetBrains integrations
How you payNo subscription price listed on aider.chat. You pay the LLM provider you connectIncluded in every paid Claude plan (Pro, Max, Ultra, Team, Enterprise), or a Console account with pre-paid API credits, or a supported cloud provider
ModelsMany providers: OpenAI, Anthropic, Gemini, GROQ, LM Studio, xAI, Azure, Cohere, DeepSeek, Ollama, OpenAI-compatible APIs, OpenRouter, GitHub Copilot, Vertex AI, Amazon Bedrock, othersClaude models through Anthropic, Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform (formerly Vertex AI) or Microsoft Foundry
Instruction filesA conventions file (e.g. CONVENTIONS.md) via --read, /read, or read: in .aider.conf.ymlCLAUDE.md files, AGENTS.md when no CLAUDE.md exists, and .claude/rules/
Choosing files to editYou add files to the chat on the command line or with /add; a repo map of the whole repository goes with each requestClaude searches for relevant files and reads them itself
GitCommits each edit; commits dirty files first; /undo; skips pre-commit hooks by defaultCommits when you ask; checkpoints undo file edits separately from git
Modescode, ask, architect, helpPlan mode via /plan or Shift+Tab
Config.aider.conf.yml (home, git root, current directory), AIDER_* env vars, .envsettings.json layers: user, shared project, project local, managed
Editors--watch-files picks up AI! / AI? comments from any editor; experimental --browser UIVS Code extension, JetBrains plugin
AnalyticsOpt-in, anonymous; never collects code, chats or keys; --analytics-disableNot covered here (we did not check Anthropic’s data-usage pages today)

Source: https://aider.chat/docs/ (checked 2026-11-08) Source: https://aider.chat/docs/faq.html (checked 2026-11-08) Source: https://aider.chat/docs/llms.html (checked 2026-11-08) Source: https://claude.com/pricing (checked 2026-11-08) Source: https://code.claude.com/docs/en/quickstart (checked 2026-11-08) Source: https://code.claude.com/docs/en/third-party-integrations (checked 2026-11-08)

Models and how you pay

Aider’s FAQ describes Aider AI LLC as “the company behind the aider AI coding tool” and says Aider is open source on GitHub under the Apache 2.0 license. We found no subscription or plan price anywhere on aider.chat. What you pay depends on the provider you connect.

The Connecting to LLMs page says Aider “can connect to most LLMs” and lists setup pages for OpenAI, Anthropic, Gemini, GROQ, LM Studio, xAI, Azure, Cohere, DeepSeek, Ollama, OpenAI-compatible APIs, OpenRouter, GitHub Copilot, Vertex AI and Amazon Bedrock. It also mentions local models through Ollama or any OpenAI-compatible API, and free tiers on some providers such as OpenRouter. The page warns that Aider “may not work well with less capable models.” The install page passes a key per provider, for example aider --model sonnet --api-key anthropic=<key>.

Source: https://aider.chat/docs/faq.html (checked 2026-11-08) Source: https://aider.chat/docs/llms.html (checked 2026-11-08) Source: https://aider.chat/docs/install.html (checked 2026-11-08)

Claude Code is included in all paid Claude plans and “shares the same usage limits as the rest of your plan,” according to the pricing page. On 2026-11-08 that page listed:

The quickstart also lists a Claude Console account (API access with pre-paid credits) and supported cloud providers. The third-party integrations page names Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform (formerly Vertex AI) and Microsoft Foundry. We did not check cloud-provider prices for this article.

Source: https://claude.com/pricing (checked 2026-11-08) Source: https://code.claude.com/docs/en/quickstart (checked 2026-11-08) Source: https://code.claude.com/docs/en/third-party-integrations (checked 2026-11-08)

Instruction files: CONVENTIONS.md vs CLAUDE.md

Aider has no fixed instruction filename. Its conventions page suggests writing your rules in a small Markdown file such as CONVENTIONS.md and loading it with /read CONVENTIONS.md or aider --read CONVENTIONS.md. Loaded that way, the file is marked read-only and is cached if prompt caching is on. To load it every time, add it to .aider.conf.yml:

read: CONVENTIONS.md
# or several files
read: [CONVENTIONS.md, anotherfile.txt]

Source: https://aider.chat/docs/usage/conventions.html (checked 2026-11-08)

Claude Code finds its instruction files itself. Its memory page lists a user file at ~/.claude/CLAUDE.md, a project file at ./CLAUDE.md or ./.claude/CLAUDE.md, a private ./CLAUDE.local.md, and an organization-managed file. All the files found in the working directory and above it load at launch. Topic or path-scoped rules go in .claude/rules/. When there is no CLAUDE.md, .claude/CLAUDE.md or CLAUDE.local.md in the working directory or above it, Claude Code reads AGENTS.md instead.

Source: https://code.claude.com/docs/en/claude-md (checked 2026-11-08)

The practical difference: with Aider you decide which files go into the prompt, every session or through config. With Claude Code the files are found by location, so a teammate’s committed CLAUDE.md applies to you as soon as you start in that repository.

How each picks the files it edits

Aider’s usage page says that to edit files you “add them to the chat,” either on the command line or with /add, and that you should add only the files the task needs. Adding too many “can get overwhelmed and confused,” and it costs more tokens. Aider also sends a repo map with every request. The map lists the files in the repository, with key classes and functions and their signatures, so the model can see code you did not add.

Source: https://aider.chat/docs/usage.html (checked 2026-11-08) Source: https://aider.chat/docs/repomap.html (checked 2026-11-08)

Claude Code’s “how it works” page describes a different flow. Asked to fix a bug, Claude searches for relevant files, reads several to understand the context, makes coordinated edits, runs tests, and commits the changes if you ask. You don’t add files first. We did not test how either approach behaves on a large repository.

Source: https://code.claude.com/docs/en/how-claude-code-works (checked 2026-11-08)

Git workflow

This is where the two differ most. Aider’s git page says:

The switches to turn this off are --no-auto-commits, --no-dirty-commits and --no-git. The docs say that by default Aider skips pre-commit hooks by passing --no-verify. --git-commit-verify runs them. If your repository relies on pre-commit hooks, that default is worth knowing before the first session.

Source: https://aider.chat/docs/git.html (checked 2026-11-08)

Claude Code’s docs describe commits as something it does when you ask. The quickstart’s examples include asking it to “commit my changes with a descriptive message.” Undo is a separate mechanism. Before editing a file, Claude Code snapshots it, and you press Esc twice to rewind, or ask Claude to undo. The docs say these checkpoints are separate from git, cover only file changes, and cannot undo actions on remote systems such as databases or deployments. Claude Code adds attribution lines to commits and pull requests by default; the attribution setting changes or removes them.

Source: https://code.claude.com/docs/en/how-claude-code-works (checked 2026-11-08) Source: https://code.claude.com/docs/en/quickstart (checked 2026-11-08)

Modes: code, ask and architect vs plan mode

Aider documents four chat modes:

/ask, /code, /architect and /help apply to one message. /chat-mode <mode> switches until you change it again, and --chat-mode <mode> (or --architect) sets the mode at launch. The docs recommend going back and forth between /ask and /code: agree on the approach in ask mode, then say something as short as “go ahead” in code mode.

Source: https://aider.chat/docs/usage/modes.html (checked 2026-11-08)

Claude Code’s equivalent is plan mode. /plan, optionally followed by a description, enters it from the prompt, and Shift+Tab cycles permission modes until the status bar shows ⏸ plan mode on. We are not covering plan mode’s internals here; our plan mode guide has more.

Source: https://code.claude.com/docs/en/commands (checked 2026-11-08) Source: https://code.claude.com/docs/en/common-workflows (checked 2026-11-08)

Config files

Aider reads most options from .aider.conf.yml in your home directory, the root of your git repo, and the current directory, loaded in that order, so the last one loaded wins. --config <filename> loads only that one file. The same options can be set as command-line switches, as AIDER_xxx environment variables, or in a .env file. The docs show --dark-mode, dark-mode: true and AIDER_DARK_MODE=true as equivalent.

Source: https://aider.chat/docs/config.html (checked 2026-11-08) Source: https://aider.chat/docs/config/aider_conf.html (checked 2026-11-08)

Claude Code uses JSON settings files: ~/.claude/settings.json (user), .claude/settings.json (shared project, meant to be committed), .claude/settings.local.json (yours, for one project) and managed settings from an organization. Precedence, highest first: managed, command line, project local, shared project, user.

Source: https://code.claude.com/docs/en/settings (checked 2026-11-08)

Editors and analytics

Aider stays in the terminal, but two features reach into other tools. With --watch-files, it watches the repository for one-line comments that start or end with AI. A comment ending in AI! asks it to make changes and one ending in AI? asks it to answer. You can write these from any editor. aider --browser opens what the docs call an “experimental browser UI.” Claude Code has an official VS Code extension and a JetBrains plugin.

Source: https://aider.chat/docs/usage/watch.html (checked 2026-11-08) Source: https://aider.chat/docs/usage/browser.html (checked 2026-11-08) Source: https://code.claude.com/docs/en/vs-code (checked 2026-11-08) Source: https://code.claude.com/docs/en/jetbrains (checked 2026-11-08)

Aider’s analytics page says analytics are opt-in and anonymous and never collect “your code, chat messages, keys or personal info.” By default Aider may ask a random subset of users to opt in. aider --analytics-disable opts out permanently. We did not check Anthropic’s data-usage pages for this article, so we make no claim about Claude Code here.

Source: https://aider.chat/docs/more/analytics.html (checked 2026-11-08)

When Aider fits, when Claude Code fits

These are facts to weigh, not a ranking.

Summary

FAQ

Does Aider have a subscription price?
We found no subscription price on aider.chat on 2026-11-08. Aider's FAQ says it is open source under the Apache 2.0 license, from Aider AI LLC. You connect it to an LLM provider, such as Anthropic, OpenAI or Gemini, and pay that provider.
Does Aider commit automatically?
Yes. Aider's git page says it commits each file edit with a descriptive message, and commits uncommitted changes in a file before editing it. --no-auto-commits turns the first behavior off and --no-dirty-commits the second.
Does Claude Code commit my changes?
Claude Code's docs say it commits the changes if you ask. File edits are snapshotted as checkpoints, which are separate from git; press Esc twice to rewind.
What is the Aider equivalent of CLAUDE.md?
Aider's docs suggest a conventions file such as CONVENTIONS.md, loaded with /read CONVENTIONS.md, aider --read CONVENTIONS.md, or read: CONVENTIONS.md in .aider.conf.yml so it always loads.
Can Aider use Claude models?
Yes. Anthropic is one of the providers listed on Aider's Connecting to LLMs page, along with OpenAI, Gemini, Amazon Bedrock, Vertex AI, OpenRouter, Ollama and others.