Claude Agent Error: API Error (claude-opus-4-6): 400 The provided model identifier is invalid.

I have been using Claude Agent with an Anthropic API Key in Xcode 26.3 for a while now. Recently it stopped working, giving me this error message: API Error (claude-opus-4-6): 400 The provided model identifier is invalid.

I have tried relaunching Xcode, signing out and signing back in, changing the default model in the Claude configuration UI and nothing works.

I've had to fall back on using the Claude Code CLI and the MCP server, which loses a lot of the value of Xcode/Claude integration.

Claude Agent Error: API Error (claude-opus-4-6): 400 The provided model identifier is invalid.
 
 
Q