OpenClaw operations guide
Change the default OpenClaw model with the CLI
Short answer. Use openclaw models set to change the global default, verify the model in a new chat, and restore the previous choice if needed. Use this procedure for a working local setup with one agent that inherits the global default. Start with an explicitly configured default you can restore.
Last updated · Published
The OpenClaw Complete Setup Pack is an optional paid kit ($14.95). Use its model cost checklist to compare the old and new choices before moving regular work over.
By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5
1. Record your current model and fallbacks
Use this procedure for a working local setup with one agent that inherits the global default. Start with an explicitly configured default you can restore. Model status shows the resolved default, fallback order, and provider authentication overview. Note the previous default’s full provider/model reference.
openclaw models status
2. Pick a model from a provider you already use
List the model inventory and copy the full reference for a model from an already authenticated provider. Check that the provider account has access to the model before switching. Inventory and authentication status alone cannot prove that a request will succeed.
openclaw models list
3. Set the global text model
Replace PROVIDER/MODEL with the reference you copied. This sets agents.defaults.model.primary. An agent with its own model setting can still use that setting. Read back model status and confirm the default before testing a reply.
openclaw models set PROVIDER/MODEL
openclaw models status
4. Verify the model in a fresh chat
If you're switching to reduce cost, compare model prices for the same OpenClaw message before you test your own workload.
In the Control UI, use the standalone /new command to start fresh. Send a short text prompt, then run /model without arguments to see the current model. Compare it with your chosen reference. A reply from a fallback does not verify the new primary.
5. Restore the previous primary if the test fails
Set the reference you recorded in step 1, confirm it in model status, and repeat the fresh-chat check. If the wrong model still runs, check for an agent or session override using the model selection FAQ.
openclaw models set PREVIOUS_PROVIDER/PREVIOUS_MODEL
openclaw models status