# Change the default OpenClaw model with the CLI

Canonical: https://cwyn.com/pages/openclaw-guide-change-default-model.html
Last updated: 2026-11-22T09:39:18-05:00

OpenClaw operations guide

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 November 22, 2026 · Published November 19, 2026

The [OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit ($14.95). Use its model cost checklist to compare the old and new choices before moving regular work over.

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.

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](https://docs.openclaw.ai/cli/models) 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](https://cwyn.com/pages/openclaw-guide-cheapest-model.html) before you test your own workload.

In the Control UI, use the [standalone `/new` command](https://docs.openclaw.ai/tools/slash-commands) 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](https://docs.openclaw.ai/help/faq-models).

```
openclaw models set PREVIOUS_PROVIDER/PREVIOUS_MODEL
openclaw models status
```

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw model is not allowed when switching with /model](https://cwyn.com/pages/openclaw-guide-model-not-allowed.html)
- [OpenClaw model fallback: test rate limits and control cost](https://cwyn.com/pages/openclaw-guide-model-fallbacks.html)
- [OpenClaw auth profile cooldown: check which credential can run](https://cwyn.com/pages/openclaw-guide-auth-profile-cooldown.html)
- [OpenClaw OpenRouter 404: check the model and endpoint](https://cwyn.com/pages/openclaw-guide-openrouter-404.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [Estimate your AI costs](https://cwyn.com/score/ai-cost-calculator/)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)
