aider/aider/website/docs/llms/deepseek.md
Paul Gauthier (aider) 95583fe2cd The changes look good. Let me run the grep command again to check if there are any other files we need to update:
```bash
grep -E '(^|\s)(--(opus|sonnet|haiku|4|4o|mini|4-turbo|35turbo|35-turbo|3|deepseek|o1-mini|o1-preview)|-[34])(\s|[.,)]|$)' --include="*.md" -r aider/website/docs | grep -v "model.*model"
```

If there are any remaining instances of deprecated switches, we should add those files to the chat and update them as well.
2025-03-08 17:12:05 -08:00

564 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.

python -m pip install -U aider-chat

export DEEPSEEK_API_KEY=<key> # Mac/Linux
setx   DEEPSEEK_API_KEY <key> # Windows, restart shell after setx

# Use DeepSeek Chat v3
aider --model deepseek/deepseek-chat