deepseek, variable DEEPSEEK_API_KEY) and Ollama Cloud (id ollama-cloud, variable OLLAMA_API_KEY). For DeepSeek you install the official plugin and run onboarding; for Ollama Cloud run openclaw onboard --auth-choice ollama-cloud. Model names change over time, so check with openclaw models list.Two providers, two ways of using them
- DeepSeek: calls DeepSeek's API directly with your key. Data is sent to DeepSeek.
- Ollama Cloud: runs large models on Ollama's cloud infrastructure so you do not need a powerful graphics card. According to Ollama's documentation, you can call through the API (no Ollama install needed) or run cloud models from the app, the CLI and the local API; both ways need an Ollama account. The cloud model catalog is at
ollama.com/search?c=cloud.
For how this differs from running a model on your own machine, see Running local models for OpenClaw: runtimes, configuration and risks.
How OpenClaw connects providers
The "Official provider plugins" page lists dozens of bundled provider plugins (including DeepSeek, Moonshot, Ollama Cloud, OpenRouter, Together, Groq...). According to that page, official plugins do not need a models.providers entry: you enable the plugin, set authentication and choose a model. Use models.providers only for custom providers or narrow settings such as timeouts.
The page's table states:
- DeepSeek: id
deepseek, auth variableDEEPSEEK_API_KEY, example modeldeepseek/deepseek-v4-flash. - Ollama Cloud: id
ollama-cloud, auth variableOLLAMA_API_KEY, example modelollama-cloud/kimi-k2.6.
The dedicated DeepSeek page gives the install command openclaw plugins install @openclaw/deepseek-provider and the onboarding command openclaw onboard --auth-choice deepseek-api-key, which sets deepseek/deepseek-v4-pro as the default. The Ollama Cloud page gives openclaw onboard --auth-choice ollama-cloud, with ollama-cloud/minimax-m2.7 as the default model.
Choosing and checking a model
OpenClaw's general commands for choosing a model:
openclaw models list
openclaw models list --provider deepseek
openclaw models set deepseek/<model-name>
Models are written as provider/model. Get the exact name from openclaw models list, because model names change over time. The catalog on OpenClaw's DeepSeek page (read on 2026-11-25) has deepseek/deepseek-flash and deepseek/deepseek-v4-pro, while deepseek/deepseek-v4-flash is a legacy alias of V4.1 Flash. The example on the official plugins page still uses this old alias, so do not copy it mechanically. The DeepSeek page also says deepseek-chat and deepseek-reasoner were retired on Jul 24, 2026.
In a chat session, /model selects the model as a mandatory user choice; if it fails, OpenClaw reports an error instead of switching to a fallback. /status shows the model in use and, if different, the fallback model and the reason.
Fallback (failover)
Fallback configuration per the "Model failover" documentation:
agents.defaults.model.primaryis the default model andagents.defaults.model.fallbacksis the ordered fallback list.- Each agent's model is strict unless that agent has its own
fallbacks; usefallbacks: []to state strictness explicitly. - It switches to the next model on authentication errors, rate limits, overload, timeouts, billing lockouts,
model_not_foundor context overflow that compaction cannot resolve. - It does not switch on an intentional abort, the provider's final refusal, or local errors such as a session write conflict.
- Cooldown for failures other than rate limits, billing and permanent authentication failures: 30 seconds on the first failure, 1 minute on the second, up to 5 minutes from the third. A rate limit causes a cooldown only when the provider says how long to wait. A billing failure disables the credential for 10 minutes at first.
A sensible example: DeepSeek as the main model, an Ollama Cloud model or another provider as the fallback, to avoid stopping when one side is limited. However each provider switch sends the same content to another party, so set a fallback only for providers you accept on data grounds.
About data and cost
- Ollama's FAQ (read on Nov 28, 2026) says that for cloud models they process prompts and responses to provide the service, do not store or log that content and never train on it; they do collect basic account information and limited usage metadata that does not include the content. This is Ollama's own commitment; read the privacy policy before sending sensitive data. Cloud models do not yet support structured output, and capabilities differ between models; models may also be removed over their lifecycle.
- DeepSeek's price is per token, with peak and off-peak prices (see Hermes and DeepSeek: setting up a model for an agent in a real workflow for the price table read on 2026-11-15). Ollama Cloud has its own plans and balances, and I have not read the pricing page.
- An agent runs many steps so it burns tokens fast; set a limit on the provider account.
Testing workflow
- Set the key, run
openclaw models list --provider deepseekto see the real model names. - Choose a model and message one small task that uses tools.
- Check
/status, runopenclaw doctor. - Add a fallback after the main model runs well.