mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
1.1 KiB
1.1 KiB
parent | nav_order |
---|---|
Connecting to LLMs | 800 |
Other LLMs
Aider uses the litellm package
to connect to hundreds of other models.
You can use aider --model <model-name>
to use any supported model.
To explore the list of supported models you can run aider --models <model-name>
with a partial model name.
If the supplied name is not an exact match for a known model, aider will
return a list of possible matching models.
For example:
$ aider --models turbo
Aider v0.29.3-dev
Models which match "turbo":
- gpt-4-turbo-preview (openai/gpt-4-turbo-preview)
- gpt-4-turbo (openai/gpt-4-turbo)
- gpt-4-turbo-2024-04-09 (openai/gpt-4-turbo-2024-04-09)
- gpt-3.5-turbo (openai/gpt-3.5-turbo)
- ...
See the model warnings section for information on warnings which will occur when working with models that aider is not familiar with.
LiteLLM
Aider uses the LiteLLM package to connect to LLM providers. The LiteLLM provider docs contain more detail on all the supported providers, their models and any required environment variables.