OpenClaw operations guide

OpenClaw model is not allowed when switching with /model

Short answer. Find which model policy rejected a manual OpenClaw model switch, check the exact provider ref, and select an approved model for one session. If the picker shows a model but the chat refuses to switch, first read the error. An error naming modelPolicy.allow comes from OpenClaw’s selection policy.

Last updated

The OpenClaw Token Bill Kit ($24.95) is an optional paid kit. Its model-routing worksheets help you record which models the team approves for each workload and billing account.

By CWYN · Reviewed November 18, 2026 against OpenClaw 2026.11.5

If the picker shows a model but the chat refuses to switch, first read the error. An error naming modelPolicy.allow comes from OpenClaw’s selection policy. You can investigate it without sending a paid prompt.

1. Read the rejected model ref

In the affected chat, record the ref in the error, including the provider prefix. Run /model status and note the agent’s current selection. A provider HTTP error after a turn starts calls for a different investigation. This guide addresses a manual choice refused before a normal reply.

2. Compare the picker with the full name

Use /model list in the same session, then /models <provider>, replacing the placeholder with the provider ID. Compare the full ref with the one the picker submitted. Keep nested IDs intact. An operator using Discord and OpenRouter reported a picker dropping the outer provider prefix.

3. Find the policy that applies to this agent

Ask the Gateway config owner to check the named policy. A per-agent modelPolicy.allow replaces the default list for that agent. In agents.defaults.modelPolicy.allow, an exact entry permits that ref. A model alias or catalog listing alone cannot grant permission. Older configurations may still enforce a legacy model map. Model selection and legacy policies

4. Select one approved model for this session

If a listed model meets the task and budget, use /model <provider/model> -s with its exact ref. The session flag keeps the change local even on a Gateway configured for broader selections. If the required model needs approval, have the config owner add its exact ref to the effective list while preserving existing entries. Emptying an explicit allowlist opens manual selection across models.

5. Verify the switch before resuming work

Read /model status again in that chat. Check the selected ref against the approved billing route. If the same policy error persists, give the owner the agent ID, installed version, and rejected ref. A successful selection confirms permission. The next ordinary task provides separate evidence that the provider can serve it.

Get your free CWYN Score to choose your next setup improvement.

Next steps