Install plugin
Install the official plugin, then restart Gateway:Getting started
1
Get your API key
Create an API key at platform.deepseek.com.
2
Run onboarding
deepseek/deepseek-v4-flash as the default model.3
Verify models are available
Non-interactive setup
Non-interactive setup
For scripted or headless installations, pass all flags directly:
Built-in catalog
OpenClaw’s local cost estimates follow DeepSeek’s published cache-hit,
cache-miss, and output rates. DeepSeek can change those rates; its
Models & Pricing page is
authoritative for billing.
Thinking and tools
DeepSeek V4 thinking sessions require replayed assistant messages from a thinking-enabled turn to includereasoning_content on follow-up requests.
OpenClaw’s DeepSeek plugin backfills that field automatically, so normal
multi-turn tool use works on deepseek/deepseek-v4-flash and
deepseek/deepseek-v4-pro even when history came from another
OpenAI-compatible provider (no native reasoning_content) or from a plain
assistant message. No /new required after switching providers mid-session.
When thinking is disabled (including the UI None selection), OpenClaw
sends thinking: { type: "disabled" } and strips replayed reasoning_content
from outgoing history, keeping the session on the non-thinking DeepSeek path.
Use deepseek/deepseek-v4-flash for the default fast path. Use
deepseek/deepseek-v4-pro for the stronger model when you can accept higher
cost or latency.
Live testing
To run only the DeepSeek V4 direct-model checks from the modern model live suite:Config example
Related
Model selection
Choosing providers, model refs, and failover behavior.
Configuration reference
Full config reference for agents, models, and providers.