# Aider pricing: free and open source, you pay for the model

_Aider has no price and no paid plan. What you pay depends on which model you connect it to._

Aider is an AI pair programmer for the terminal. It edits files in your git repository and commits each change. The project is open source under the Apache 2.0 license, and there is no Aider account, subscription or hosted service to buy. Facts below were checked on [aider.chat](https://aider.chat) and the [Aider repository](https://github.com/Aider-AI/aider) as of December 5, 2026.

## What You Pay For

Aider sends your prompts and code to a large language model. That model provider bills you, at its own rates. Aider "can connect to almost any LLM, including local models." Its docs have setup pages for these providers:

| Source | What it costs |
| --- | --- |
| OpenAI, Anthropic, Gemini, DeepSeek, xAI, Groq, Cohere | Each provider's API rates, on your own key |
| Azure, Vertex AI, Amazon Bedrock | Your cloud account's rates |
| OpenRouter | Its rates, plus free access to many models with daily limits |
| GitHub Copilot | Billed through your Copilot subscription |
| Ollama, LM Studio or another local server | No API bill. You pay for the hardware |

Aider prints an estimated cost as you work, even when the usage is billed through a subscription such as Copilot. The `/tokens` command reports how many tokens the current chat context uses, which is the main driver of cost per message.

## Keeping the Model Bill Down

The context you send is what you pay for. Aider sends a map of the whole repository with each request. The files you add to the chat and the size of that map set the bill. Use `/drop` to remove files you no longer need from the chat. Pick a cheaper model for routine edits and a stronger one for hard problems.

## Install

Aider installs with Python and needs no sign-up:

```bash
python -m pip install aider-install
aider-install
```

The latest release on PyPI is 0.86.2, from February 12, 2026.

## Which Setup Fits

- **You already pay for Copilot:** connect Aider to the Copilot endpoint.
- **You want the lowest bill:** an OpenRouter free model or a local model through Ollama.
- **You want the strongest results:** a frontier model on your own API key, and watch the cost estimate.

[Aider vs Cline](/compare/aider-vs-cline) compares Aider with another free agent that bills only for models. [Cline pricing](./cline-pricing.mdx) covers the paid model gateway Cline adds on top.

## Sources

Checked December 5, 2026:

- [Aider home page](https://aider.chat), [LLM docs](https://aider.chat/docs/llms.html), [GitHub Copilot setup](https://aider.chat/docs/llms/github.html), [commands](https://aider.chat/docs/usage/commands.html), [aider-chat on PyPI](https://pypi.org/project/aider-chat/)
- [Aider repository](https://github.com/Aider-AI/aider)

## Next Steps

- [Best Coding Agent CLIs](/compare/best-coding-agent-clis): how terminal agents compare on license, pricing and models
- [Best Open-Weight Coding Models](/compare/best-open-weight-coding-models): models you can run locally with Aider
- [GitHub Copilot pricing](./github-copilot-pricing.mdx): what the Copilot subscription costs
