Aider can connect to the 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.