mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
25 lines
497 B
Markdown
25 lines
497 B
Markdown
---
|
|
parent: Connecting to LLMs
|
|
nav_order: 500
|
|
---
|
|
|
|
# Cohere
|
|
|
|
Cohere offers *free* API access to their models.
|
|
Their Command-R+ model works well with aider
|
|
as a *very basic* coding assistant.
|
|
You'll need a [Cohere API key](https://dashboard.cohere.com/welcome/login).
|
|
|
|
To use **Command-R+**:
|
|
|
|
```
|
|
pip install aider-chat
|
|
|
|
export COHERE_API_KEY=<key> # Mac/Linux
|
|
setx COHERE_API_KEY <key> # Windows
|
|
|
|
aider --model command-r-plus
|
|
|
|
# List models available from Cohere
|
|
aider --models cohere_chat/
|
|
```
|