Skip to content

Add Claude Opus 4.8 (claude-opus-4-8) to the model catalog #87746

@hugoalphasmith-tech

Description

@hugoalphasmith-tech

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions