Skip to main content

DeepSeek

DeepSeek provides powerful AI models with an OpenAI-compatible API.
  • Provider: deepseek
  • Auth: DEEPSEEK_API_KEY
  • API: OpenAI-compatible
  • Base URL: https://api.deepseek.com

Quick start

Set the API key (recommended: store it for the Gateway):
openclaw onboard --auth-choice deepseek-api-key
This will prompt for your API key and set deepseek/deepseek-chat as the default model.

Non-interactive example

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

Environment note

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).

Built-in catalog

Model refNameInputContextMax outputNotes
deepseek/deepseek-chatDeepSeek Chattext131,0728,192Default model; DeepSeek V3.2 non-thinking surface
deepseek/deepseek-reasonerDeepSeek Reasonertext131,07265,536Reasoning-enabled V3.2 surface
Both bundled models currently advertise streaming usage compatibility in source. Get your API key at platform.deepseek.com.