How do I unpin a profile I set with profile
Re-run /model without the @profile suffix:
/model anthropic/claude-opus-4-5
If you want to return to the default, pick it from /model (or send /model <default provider/model>). Use /model status to confirm which auth profile is active.
Can I use GPT 5.2 for daily tasks and Codex 5.2 for coding
Yes. Set one as default and switch as needed:
Quick switch (per session): /model gpt-5.2 for daily tasks, /model gpt-5.2-codex for coding.
Default + switch: set agents.defaults.model.primary to openai-codex/gpt-5.2, then switch to openai-codex/gpt-5.2-codex when coding (or the other way around).
Sub-agents: route coding tasks to sub-agents with a different default model.
See Models and Slash commands.
Why do I see Model is not allowed and then no reply
If agents.defaults.models is set, it becomes the allowlist for /model and any session overrides. Choosing a model that isn’t in that list returns:
Model "provider/model" is not allowed. Use /model to list available models.
That error is returned instead of a normal reply. Fix: add the model to agents.defaults.models, remove the allowlist, or pick a model from /model list.
Why do I see Unknown model minimaxMiniMaxM21
This means the provider isn’t configured (no MiniMax provider config or auth profile was found), so the model can’t be resolved. A fix for this detection is in 2026.1.12 (unreleased at the time of writing).
Fix checklist:
Upgrade to 2026.1.12 (or run from source main), then restart the gateway.
Make sure MiniMax is configured (wizard or JSON), or that a MiniMax API key exists in env/auth profiles so the provider can be injected.
Use the exact model id (case‑sensitive): minimax/MiniMax-M2.1 or minimax/MiniMax-M2.1-lightning.
Run:
openclaw models list
and pick from the list (or /model list in chat).
See MiniMax and Models.
Can I use MiniMax as my default and OpenAI for complex tasks
Yes. Use MiniMax as the default and switch models per session when needed. Fallbacks are for errors, not “hard tasks,” so use /model or a separate agent.
Option A: switch per session
{
env: { MINIMAX_API_KEY: "sk-...", OPENAI_API_KEY: "sk-..." },
agents: {
defaults: {
model: { primary: "minimax/MiniMax-M2.1" },
models: {
"minimax/MiniMax-M2.1": { alias: "minimax" },
"openai/gpt-5.2": { alias: "gpt" },
},
},
},
}
Then:
/model gpt
Option B: separate agents
Agent A default: MiniMax
Agent B default: OpenAI
Route by agent or use /agent to switch
Docs: Models, Multi-Agent Routing, MiniMax, OpenAI.
Are opus sonnet gpt builtin shortcuts
Yes. OpenClaw ships a few default shorthands (only applied when the model exists in agents.defaults.models):
opus → anthropic/claude-opus-4-5
sonnet → anthropic/claude-sonnet-4-5
gpt → openai/gpt-5.2
gpt-mini → openai/gpt-5-mini
gemini → google/gemini-3-pro-preview
gemini-flash → google/gemini-3-flash-preview
If you set your own alias with the same name, your value wins.