mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 14:14:59 +00:00
735 B
735 B
parent | nav_order |
---|---|
Connecting to LLMs | 500 |
DeepSeek
Aider can connect to the DeepSeek.com API.
To work with DeepSeek's models, you need to set the DEEPSEEK_API_KEY
environment variable with your DeepSeek API key.
The DeepSeek Chat V3 model has a top score on aider's code editing benchmark.
First, install aider:
{% include install.md %}
Then configure your API keys:
export DEEPSEEK_API_KEY=<key> # Mac/Linux
setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx
Start working with aider and DeepSeek on your codebase:
# Change directory into your codebase
cd /to/your/project
# Use DeepSeek Chat v3
aider --model deepseek/deepseek-chat