Skip to content

DeepSeek provides powerful AI models with an OpenAI-compatible API.

  • Provider: deepseek
  • Auth: DEEPSEEK_API_KEY
  • API: OpenAI-compatible

Set the API key (recommended: store it for the Gateway):

Terminal window
openclaw onboard --auth-choice deepseek-api-key

This will prompt for your API key and set deepseek/deepseek-chat as the default model.

Terminal window
openclaw onboard --non-interactive \
--mode local \
--auth-choice deepseek-api-key \
--deepseek-api-key "$DEEPSEEK_API_KEY" \
--skip-health \
--accept-risk

If the Gateway runs as a daemon (launchd/systemd), make sure DEEPSEEK_API_KEY is available to that process (for example, in ~/.openclaw/.env or via env.shellEnv).

Model IDNameTypeContext
deepseek-chatDeepSeek Chat (V3.2)General128K
deepseek-reasonerDeepSeek Reasoner (V3.2)Reasoning128K
  • deepseek-chat corresponds to DeepSeek-V3.2 in non-thinking mode.
  • deepseek-reasoner corresponds to DeepSeek-V3.2 in thinking mode with chain-of-thought reasoning.

Get your API key at platform.deepseek.com.