#How to use Deepseek v4?
1 messages ยท Page 1 of 1 (latest)
For DeepSeek, use the built-in deepseek provider.
Fast path:
openclaw onboard --auth-choice deepseek-api-key
openclaw models list --provider deepseek
openclaw models set deepseek/deepseek-chat
That onboarding flow asks for your DeepSeek API key and the docs say it sets DeepSeek Chat as the default. If you specifically mean a model marketed as โDeepSeek v4 proโ, first check whether your installed OpenClaw sees it:
openclaw models list --provider deepseek
If it is not listed, OpenClawโs current bundled DeepSeek docs/catalog only show the standard DeepSeek Chat and Reasoner surfaces, so you may need the exact API model id from DeepSeek or use another OpenAI-compatible provider route if that model is exposed elsewhere.
Docs:
https://docs.openclaw.ai/providers/deepseek
https://docs.openclaw.ai/concepts/models
If it errors, please paste:
openclaw --version
openclaw models status
Deepseek chat and reasoner is old models I think โฆ?
Yep, youโre right to question that. DeepSeekโs current API docs say:
deepseek-chatanddeepseek-reasonerare compatibility names fordeepseek-v4-flashmodesdeepseek-v4-prois the actual Pro API model id
So try this after adding your DeepSeek API key:
openclaw onboard --auth-choice deepseek-api-key
openclaw models set deepseek/deepseek-v4-pro
openclaw models status
If OpenClaw says the model is not allowed/known, add it to the model allowlist first:
openclaw config set agents.defaults.models '{"deepseek/deepseek-v4-pro":{}}' --strict-json --merge
openclaw models set deepseek/deepseek-v4-pro
The OpenClaw DeepSeek docs look behind DeepSeekโs newest naming here, but the provider is OpenAI-compatible, so the important part is using the exact model ref: deepseek/deepseek-v4-pro.
DeepSeek pricing/models page: https://api-docs.deepseek.com/quick_start/pricing
OpenClaw model docs: https://docs.openclaw.ai/concepts/models
Oh shit itโs there in docs
deepseek/deepseek-v4-pro
Yep, thatโs the one: deepseek/deepseek-v4-pro.
Use:
openclaw models set deepseek/deepseek-v4-pro
openclaw models status
If it complains about allowlist, use the merge command above first. Also, my first answer was too stale there, thanks for catching it.
This is what it said
Model/auth provider
โ DeepSeek
โ
โ Enter DeepSeek API key
โ sk-key
โ
โ Model configured โโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Default model set to deepseek/deepseek-chat โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Default model
โ Enter model manually
โ
โ Default model
โ deepseek/deepseek-v4-pro
โ
โ Model check โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Model not found: deepseek/deepseek-v4-pro. Update โ
โ agents.defaults.model or run /models list. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
That output means your API key path worked, but your installed OpenClaw catalog does not have deepseek-v4-pro yet. Add it as an explicit DeepSeek model, then set it:
openclaw config set models.providers.deepseek.models '[{"id":"deepseek-v4-pro","name":"DeepSeek V4 Pro","input":["text"],"contextWindow":1048576,"maxTokens":393216}]' --strict-json --merge
openclaw config set agents.defaults.models '{"deepseek/deepseek-v4-pro":{}}' --strict-json --merge
openclaw models set deepseek/deepseek-v4-pro
openclaw models status
If agents.defaults.models is not set on your config, that second command may be unnecessary, but it is safe/additive with --merge.
This is likely just OpenClawโs bundled DeepSeek catalog lagging behind DeepSeekโs current docs. If that still says model not found, paste:
openclaw --version
openclaw config get models.providers.deepseek
openclaw config get agents.defaults.models
DeepSeekโs current model page is here: https://api-docs.deepseek.com/quick_start/pricing
YAY!
Nice, glad it worked ๐
If this fixed it, please right-click the solution message โ Apps โ โ Mark Solution. That helps Answer Overflow index it for the next person who hits the DeepSeek v4 catalog mismatch.