diff --git a/_data/edit_leaderboard.yml b/_data/edit_leaderboard.yml index 0f813e187..a9ea6bd6d 100644 --- a/_data/edit_leaderboard.yml +++ b/_data/edit_leaderboard.yml @@ -56,7 +56,7 @@ indentation_errors: 0 exhausted_context_windows: 0 test_timeouts: 2 - command: aider --model openai/deepseek-coder + command: aider --model deepseek/deepseek-coder date: 2024-04-29 versions: 0.30.2-dev seconds_per_case: 26.7 @@ -329,7 +329,7 @@ indentation_errors: 2 exhausted_context_windows: 0 test_timeouts: 1 - command: aider --model openai/deepseek-chat --edit-format whole + command: aider --model deepseek/deepseek-chat --edit-format whole date: 2024-05-07 versions: 0.31.2-dev seconds_per_case: 42.4 @@ -350,7 +350,7 @@ indentation_errors: 0 exhausted_context_windows: 0 test_timeouts: 4 - command: aider --model openai/deepseek-chat + command: aider --model deepseek/deepseek-chat date: 2024-05-07 versions: 0.31.2-dev seconds_per_case: 53.8 diff --git a/docs/llms.md b/docs/llms.md index 0293da4c1..dfb382ac5 100644 --- a/docs/llms.md +++ b/docs/llms.md @@ -15,7 +15,7 @@ Aider works with a number of **free** API providers: - Google's [Gemini 1.5 Pro](#gemini) is the most capable free model to use with aider, with code editing capabilities similar to GPT-3.5. - You can use [Llama 3 70B on Groq](#groq) which is comparable to GPT-3.5 in code editing performance. -- The [Deepseek Chat v2](#deepseek) model work well with aider, better than GPT-3.5. Deepseek.com currently offers 5M free tokens of API usage. +- The [Deepseek Chat v2](#deepseek) model work well with aider, better than GPT-3.5. Deepseek currently offers 5M free tokens of API usage. - Cohere also offers free API access to their [Command-R+ model](#cohere), which works with aider as a *very basic* coding assistant. ## Local models @@ -280,21 +280,17 @@ when working with models that aider is not familiar with. ## Deepseek -Aider can connect to the Deepseek API, which is OpenAI compatible. -They appear to grant 5M tokens of free API usage to new accounts. +Aider can connect to the Deepseek.com API. +Deepseek appears to grant 5M tokens of free API usage to new accounts. ``` pip install aider-chat -# Mac/Linux: -export OPENAI_API_KEY= -export OPENAI_API_BASE=https://api.deepseek.com/v1 +export DEEPSEEK_API_KEY= # Mac/Linux +setx DEEPSEEK_API_KEY # Windows -# Windows: -setx OPENAI_API_KEY -setx OPENAI_API_BASE https://api.deepseek.com/v1 - -aider --model openai/deepseek-chat +# Use Deepseek Chat v2 +aider --model deepseek/deepseek-chat ``` See the [model warnings](#model-warnings)