packages/kilo-docs/pages/ai-providers/deepseek.md
Kilo Code supports accessing models through the DeepSeek API, including deepseek-chat and deepseek-reasoner.
Website: https://platform.deepseek.com/
{% tabs %} {% tab label="VSCode (Legacy)" %}
{% /tab %} {% tab label="VSCode" %}
Open Settings (gear icon) and go to the Providers tab to add DeepSeek and enter your API key.
The extension stores this in your kilo.json config file. You can also edit the config file directly — see the CLI tab for the file format.
{% /tab %} {% tab label="CLI" %}
Set the API key as an environment variable or configure it in your kilo.json config file:
Environment variable:
export DEEPSEEK_API_KEY="your-api-key"
Config file (~/.config/kilo/kilo.json or ./kilo.json):
{
"provider": {
"deepseek": {
"env": ["DEEPSEEK_API_KEY"],
},
},
}
Then set your default model:
{
"model": "deepseek/deepseek-chat",
}
{% /tab %} {% /tabs %}