Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
Self-hosting
Model providers
More providers
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

DeepSeek

You can use Letta with DeepSeek if you have a DeepSeek account and API key. Once you have set your DEEPSEEK_API_KEY in your environment variables, you can select what model and configure the context window size.

To enable DeepSeek models when running the Letta server with Docker, set your DEEPSEEK_API_KEY as an environment variable:

Terminal window
# replace `~/.letta/.persist/pgdata` with wherever you want to store your agent data
docker run \
-v ~/.letta/.persist/pgdata:/var/lib/postgresql/data \
-p 8283:8283 \
-e DEEPSEEK_API_KEY="your_deepseek_api_key" \
letta/letta:latest

See the self-hosting guide for more information on running Letta with Docker.