mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
25 lines
590 B
Markdown
25 lines
590 B
Markdown
---
|
|
parent: Connecting to LLMs
|
|
nav_order: 500
|
|
---
|
|
|
|
# DeepSeek
|
|
|
|
Aider can connect to the DeepSeek.com API.
|
|
The DeepSeek Coder V2 model gets the top score on aider's code editing benchmark.
|
|
DeepSeek appears to grant 5M tokens of free API usage to new accounts.
|
|
|
|
```
|
|
pip install aider-chat
|
|
|
|
export DEEPSEEK_API_KEY=<key> # Mac/Linux
|
|
setx DEEPSEEK_API_KEY <key> # Windows
|
|
|
|
# Use DeepSeek Coder V2
|
|
aider --model deepseek/deepseek-coder
|
|
```
|
|
|
|
See the [model warnings](warnings.html)
|
|
section for information on warnings which will occur
|
|
when working with models that aider is not familiar with.
|
|
|