This commit is contained in:
Paul Gauthier 2024-04-23 12:21:10 -07:00
parent f9e122b9d7
commit 36c78e71bd

View file

@ -3,20 +3,26 @@
[![connecting to many LLMs](/assets/llms.jpg)](https://aider.chat/assets/llms.jpg) [![connecting to many LLMs](/assets/llms.jpg)](https://aider.chat/assets/llms.jpg)
## Best models
**Aider works best with [GPT-4 Turbo](#openai) and [Claude 3 Opus](#anthropic),** **Aider works best with [GPT-4 Turbo](#openai) and [Claude 3 Opus](#anthropic),**
as they are the very best models for editing code. as they are the very best models for editing code.
Aider also works quite well with [GPT-3.5](#openai). Aider also works quite well with [GPT-3.5](#openai).
## Free models
**Aider works with a number of free API providers.** **Aider works with a number of free API providers.**
Google's [Gemini 1.5 Pro](#gemini) is Google's [Gemini 1.5 Pro](#gemini) is
the most capable free model to use with aider, with the most capable free model to use with aider, with
code editing capabilities between GPT-3.5 and GPT-4. code editing capabilities similar to GPT-3.5.
You can use [Llama 3 70B on Groq](#llama3) You can use [Llama 3 70B on Groq](#llama3)
which is comparable to GPT-3.5 in code editing performance. which is comparable to GPT-3.5 in code editing performance.
Cohere also offers free API access to their [Command-R+ model](#cohere), Cohere also offers free API access to their [Command-R+ model](#cohere),
which works with aider which works with aider
as a *very basic* coding assistant. as a *very basic* coding assistant.
## Other models
Aider supports connecting to almost any LLM, Aider supports connecting to almost any LLM,
but it may not work well with some models depending on their capabilities. but it may not work well with some models depending on their capabilities.
For example, GPT-3.5 is just barely capable of reliably *editing code* to provide aider's For example, GPT-3.5 is just barely capable of reliably *editing code* to provide aider's
@ -105,8 +111,7 @@ you could do `aider --model claude-3-opus-20240229`.
Google currently offers Google currently offers
[*free* API access to the Gemini 1.5 Pro model](https://ai.google.dev/pricing). [*free* API access to the Gemini 1.5 Pro model](https://ai.google.dev/pricing).
This is the most capable free model to use with aider, This is the most capable free model to use with aider,
with code editing capability that's better than GPT-3.5 with code editing capability that's comparable to GPT-3.5.
and competitive with GPT-4 Turbo and Opus.
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
``` ```