MODELS

OpenClaw Model Selection: Stability First

Choose a provider you can maintain, configure it once, and use fallback only when you need it. Verify with openclaw doctor.

Start with

  • Pick a route first, then choose specific model names.
  • Control complexity before adding fallback and routing.
  • Set your budget upfront — do not wait for the bill.

Choose a route before chasing the latest model

Before asking "Claude or GPT?" or "Kimi or GLM?", answer these in order:

  1. Which provider route can you maintain?
  2. What complexity level do you need?
  3. Which specific model fits that route?

Model configuration commands

openclaw config set model.provider deepseek
openclaw config set model.api_key sk-your-key-here
openclaw config set model.name deepseek-chat

Or for OpenAI:

openclaw config set model.provider openai
openclaw config set model.api_key sk-***
openclaw config set model.name gpt-4o

Supported providers

ProviderTypical use
DeepSeekCost-effective, strong for coding and Chinese
OpenAIGPT family, broad tooling
ClaudeAnthropic models, long context
ZhipuGLM models, Chinese workflows
KimiMoonshot models, long context
TongyiAlibaba models, Chinese enterprise

Check the official docs for the latest model names and API fields.

Fallback concept

When the primary model fails or hits limits, OpenClaw can fall back to another provider. Configure fallback only after a single model works reliably. See Model router for details.

Verify your setup

After configuring the model:

openclaw doctor

Ensure the model check passes. If it fails, verify the API key, network, and provider name.

Recommended order

  1. Pick one provider you can keep using
  2. Get a single model working end-to-end
  3. Add fallback only if you need resilience
  4. Add routing only when you need task-based switching

Where to go next

FAQ

Model FAQ

No. First pick a stable provider route, get a single model working, then consider fallback or routing if needed.

No. Wrong model choices can drive costs up quickly. Set budget awareness early.

NEXT

Choose the route before widening configuration

Clarifying route, fallback, and budget first reduces rework later.