aider/website/docs/llms/deepseek.md
Paul Gauthier b8bb33fe25 copy
2024-06-17 11:44:44 -07:00

590 B

parent nav_order
Connecting to LLMs 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 section for information on warnings which will occur when working with models that aider is not familiar with.