openclaw - 💡(How to fix) Fix Add Claude Opus 4.8 (`claude-opus-4-8`) to the model catalog

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

The latest claude-opus-4-8 is live in the Anthropic API but is missing from OpenClaw's model catalog (verified on 2026.5.27). Trying to use it as a session model is rejected by the Gateway's allowlist.

Error Message

$ openclaw --version OpenClaw 2026.5.27 (27ae826)

$ openclaw capability model list | grep -i 'opus 4.[78]' | grep anthropic {"id":"claude-opus-4-7", ... "provider":"anthropic" ...}

No 4-8 entry.

$ openclaw config set agents.defaults.model.primary "anthropic/claude-opus-4-8" Updated agents.defaults.model.primary. Restart the gateway to apply.

After restart, attempting to use it on a session:

session_status error: 'Model "anthropic/claude-opus-4-8" is not allowed.'

Root Cause

The latest claude-opus-4-8 is live in the Anthropic API but is missing from OpenClaw's model catalog (verified on 2026.5.27). Trying to use it as a session model is rejected by the Gateway's allowlist.

Fix Action

Workaround

Stay on anthropic/claude-opus-4-7 until catalog ships.

Code Example

$ openclaw --version
OpenClaw 2026.5.27 (27ae826)

$ openclaw capability model list | grep -i 'opus 4\.[78]' | grep anthropic
{"id":"claude-opus-4-7", ... "provider":"anthropic" ...}
# No 4-8 entry.

$ openclaw config set agents.defaults.model.primary "anthropic/claude-opus-4-8"
Updated agents.defaults.model.primary. Restart the gateway to apply.

# After restart, attempting to use it on a session:
# session_status error: 'Model "anthropic/claude-opus-4-8" is not allowed.'

---

client.messages.create(model="claude-opus-4-8", ...)  # works, returns model='claude-opus-4-8'

---

claude-opus-4-8 - Claude Opus 4.8
claude-opus-4-7 - Claude Opus 4.7
claude-opus-4-6 - Claude Opus 4.6
...
RAW_BUFFERClick to expand / collapse

Summary

The latest claude-opus-4-8 is live in the Anthropic API but is missing from OpenClaw's model catalog (verified on 2026.5.27). Trying to use it as a session model is rejected by the Gateway's allowlist.

Repro

$ openclaw --version
OpenClaw 2026.5.27 (27ae826)

$ openclaw capability model list | grep -i 'opus 4\.[78]' | grep anthropic
{"id":"claude-opus-4-7", ... "provider":"anthropic" ...}
# No 4-8 entry.

$ openclaw config set agents.defaults.model.primary "anthropic/claude-opus-4-8"
Updated agents.defaults.model.primary. Restart the gateway to apply.

# After restart, attempting to use it on a session:
# session_status error: 'Model "anthropic/claude-opus-4-8" is not allowed.'

The model is reachable via Anthropic's API directly:

client.messages.create(model="claude-opus-4-8", ...)  # works, returns model='claude-opus-4-8'

And it's listed in https://api.anthropic.com/v1/models:

claude-opus-4-8 - Claude Opus 4.8
claude-opus-4-7 - Claude Opus 4.7
claude-opus-4-6 - Claude Opus 4.6
...

Ask

Add claude-opus-4-8 to the model catalog under at least the anthropic provider (ideally also bedrock + cloudflare-ai-gateway entries matching the 4.7 pattern). Should be a straightforward catalog addition — the model behaves like 4.7 with the same input modalities + reasoning support.

Workaround

Stay on anthropic/claude-opus-4-7 until catalog ships.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING