packages/docs/plugin-registry/llm/deepseek.md
The DeepSeek plugin connects Eliza agents to DeepSeek's API, providing access to DeepSeek-V3 (general-purpose) and DeepSeek-R1 (reasoning-focused) models at competitive pricing.
On-demand plugin. This plugin is resolved from the remote elizaOS plugin registry and auto-installs when its API key is detected. It is not included in Eliza's bundled
plugins.jsonindex.
Package: @elizaos/plugin-deepseek
eliza plugins install @elizaos/plugin-deepseek
The plugin auto-enables when DEEPSEEK_API_KEY is present:
export DEEPSEEK_API_KEY=sk-...
| Environment Variable | Required | Description |
|---|---|---|
DEEPSEEK_API_KEY | Yes | DeepSeek API key from platform.deepseek.com |
DEEPSEEK_API_URL | No | Custom base URL (default: https://api.deepseek.com) |
{
"auth": {
"profiles": {
"default": {
"provider": "deepseek",
"model": "deepseek-chat"
}
}
}
}
| Model | Context | Best For |
|---|---|---|
deepseek-chat | 64k | General-purpose chat (DeepSeek-V3) |
deepseek-reasoner | 64k | Chain-of-thought reasoning (DeepSeek-R1) |
DeepSeek-V3 is a mixture-of-experts model with 671B parameters (37B active). DeepSeek-R1 is a reasoning model trained with reinforcement learning.
| elizaOS Model Type | DeepSeek Model |
|---|---|
TEXT_SMALL | deepseek-chat |
TEXT_LARGE | deepseek-chat or deepseek-reasoner (configure the large slot) |
The deepseek-reasoner model produces a <think> block containing its reasoning chain before the final answer. Configure the large text slot to deepseek-reasoner, then use TEXT_LARGE:
const response = await runtime.useModel("TEXT_LARGE", {
prompt: "Prove that there are infinitely many prime numbers.",
});
For local inference, configure the Ollama plugin with Eliza-1 instead of routing DeepSeek through a local model server.
DeepSeek offers competitive per-token pricing. See platform.deepseek.com/docs/pricing for current rates.
DeepSeek-V3 costs a fraction of GPT-4o at comparable quality for most tasks.