[Feature]: Add support for Claude Opus 4.6 (anthropic/claude-opus-4-6)
Summary
Claude Code 2.1.32 now supports Claude Opus 4.6, but OpenClaw's model registry doesn't include it yet.
Current behavior
npx openclaw models listonly showsanthropic/claude-opus-4-5- Setting
agents.defaults.model.primary: "anthropic/claude-opus-4-6"in config doesn't work (falls back to 4-5) - The model shorthand mapping only has
opus: "anthropic/claude-opus-4-5"
Expected behavior
- Add
anthropic/claude-opus-4-6to the model registry - Update the
opusshorthand to point to 4.6 (or addopus-4-6alias)
Environment
- OpenClaw: 2026.2.3-1
- Claude Code: 2.1.32
- Auth: OAuth via anthropic:claude-cli
References
- Claude Code 2.1.32 changelog mentions Opus 4.6 support
- Using OpenClaw with Anthropic OAuth (Claude Pro subscription)
Thanks! 🦞
#9837 #9811
PR open for this: https://github.com/openclaw/openclaw/pull/9853
Adds claude-opus-4-6 to the built-in model catalog — default model, normalization aliases, image tool preference, live model filter, and CLI backend mappings. Opus 4.5 remains as fallback.
Note: the upstream pi-ai model catalog (models.generated.ts) also needs updating. There's already a PR for that at https://github.com/badlogic/pi-mono/pull/1295. Once that merges and OpenClaw bumps its @mariozechner/pi-ai dep, Opus 4.6 will be fully native without any config-level workaround.
In the meantime, you can use Opus 4.6 today by adding it to your config:
"models": {
"mode": "merge",
"providers": {
"anthropic": {
"baseUrl": "https://api.anthropic.com",
"api": "anthropic-messages",
"models": [
{
"id": "claude-opus-4-6",
"name": "Claude Opus 4.6",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 200000,
"maxTokens": 32000,
"cost": { "input": 15, "output": 75, "cacheRead": 1.5, "cacheWrite": 18.75 }
}
]
}
}
}
Resolved by #9853 (merged): adds Claude Opus 4.6 (anthropic/claude-opus-4-6) to the built-in model catalog (incl. opus alias updates). Closing as completed—please update to a release that includes #9853.