Automations fails to save with "claude-opus-5 does not match a known variant"

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

When saving/updating an Automation configured to use the Claude Opus 5 (High thinking) model, the update request fails with a 400 Bad Request. The backend model registry does not recognize the model id claude-opus-5, even though “Claude Opus 5 High” is selectable in the Automations model picker in the UI.

Steps to Reproduce

  1. Open Automations and create/edit an automation with a webhook trigger.
  2. Set the model to Claude Opus 5 High
  3. Add agent instructions/prompt and at least one action (Open Pull Request, Send to Slack).
  4. Click Test.
  5. Observe the request to POST /api/automations/update-automation fails with a 400 error.

Expected Behavior

The automation should save successfully with the Claude Opus 5 High model selected, and the automation should be trigger-able via its webhook afterward.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Cursor Web

For AI issues: which model did you use?

Claude Opus 5

Additional Information

Actual Behavior

Save fails immediately with a 400 Bad Request and the following error banner in the UI:

Model ‘claude-opus-5’ does not match a known variant. Call GET /v1/models to list valid id+params combinations.

Response body:

{
  "error": {
    "message": "Model 'claude-opus-5' does not match a known variant. Call GET /v1/models to list valid id+params combinations.",
    "details": [
      {
        "error": "ERROR_BAD_REQUEST",
        "details": {
          "title": "Bad Request",
          "detail": "Model 'claude-opus-5' does not match a known variant. Call GET /v1/models to list valid id+params combinations.",
          "isRetryable": false,
          "additionalInfo": {},
          "buttons": [],
          "planChoices": []
        },
        "isExpected": true
      }
    ]
  }
}

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @youssefe!

Thanks a lot for the report. I can repro (along with Opus 4.7/4.8) and I’m sending this to the team.

Hey @youssefe,

Thanks again for the report. The save failure when Claude Opus 5 (or Opus 4.7 / 4.8) is selected in the Automations editor has been addressed on our side and will be rolled out soon if it hasn’t been already.

Could you give saving the automation another try and let me know if you still see the error?

Thank you so much Colin for the quick resolution, its working now!