Omniscio

OmniscioGuidesModel is not a recognized model id

Claude Code: Model is not a recognized model id

This is a refusal at the switch, not a failure on a request. The current session is still on its old model, and the fix is to supply a name the picker recognizes.

Last checked against Anthropic's documentation on November 26, 2026. By the Omniscio team. Updated .

What is the exact message?

Model "Sonnet5" is not a recognized model id. Did you mean 'claude-sonnet-5'?

Anthropic gives this example. The string you passed follows Model, and the closest matching alias or model ID follows when one is close.

Anthropic says the example came from an app that sent the display name Sonnet 5, which the message repeats without its space. The value can look almost right and still be refused, because a display name is not an ID.

What does it mean?

The string you passed to a model switch is not one Claude Code can use as a model. It refused the switch without sending a request, and the session keeps its current model.

So nothing failed at the API. The value never became a request; Claude Code stopped at the name itself.

Where the switch comes from

Anthropic names three surfaces where this check runs: a model set through the Agent SDK's setModel() method, an app that runs the Claude Code CLI for you such as the Desktop app, and a model picked from a device connected through Remote Control.

On the Anthropic API, through the SDK or an app, only a string that cannot be a model ID gets this error, such as a display name or an empty string. A full ID that is not available is a different problem, and Model not found covers a name the API could not confirm.

Remote Control checks the string locally. Claude Code accepts a model alias, a model it lists or you configured, or an ID that starts with claude-. Any other string gets this error, including a mistyped ID such as claud-sonnet-5.

What the trailing hint is telling you

The hint names the closest matching alias or model ID. When nothing is close enough, it reads Run /model to see available models. instead.

In a session the Desktop app starts for you, that no-match hint reads Switch to a different model. The surface changes the sentence, not the cause.

How the check changed

Before v2.1.200, Claude Code saved the string and failed on the next request with There's an issue with the selected model. This message is the check that refuses the string at the switch instead.

Before v2.1.260, the local check did not cover Remote Control picks, so an unrecognized string was applied and failed on the next request instead.

A model saved before v2.1.200 is not repaired by this check. A stale value can keep coming back until you remove it from the places a model is set.

What to do

  1. Open the picker. Run /model with no argument and choose from the models available to your account, then pass the alias or ID shown there.
  2. Use the suggested value. When the message names a closest match, that hint is the value to use.
  3. Update if the alias is too new. If you used an alias that only a newer Claude Code version supports, run claude update, or pass the model's full ID instead.
  4. Remove a stale saved value. A value saved before v2.1.200 is not repaired by this check. Remove it from the places a model is set: /model, --model, ANTHROPIC_MODEL, the model field in a settings file, and ANTHROPIC_DEFAULT_MODEL.
  5. For the SDK, pass the value the picker uses. On the Anthropic API, the SDK or an app reaches this error with a display name or an empty string. Supply the alias or ID, not the name shown on a screen.

How do I know it is fixed?

  • The switch is accepted instead of printing the message, and the session shows the new model.
  • The SDK or app call that sets the model returns without the error.
  • A new session starts on the model you chose rather than falling back to the old one.

Where these answers come from

Common questions

What does "Model is not a recognized model id" mean?

The string passed to a model switch is not one Claude Code can use as a model. It refused the switch without sending a request, and the session kept the model it already had. Nothing about the current model changed.

Is this the same as "There's an issue with the selected model"?

No. This message is raised when the switch is made, before any request, so the session keeps its current model. There's an issue with the selected model is raised on the next request after an unrecognized value was saved, and it is what versions before v2.1.200 produced instead of this message.

How do I fix a mistyped model id?

Run /model with no argument and pick from the list, then pass the alias or ID shown there. If the trailing hint names a model, that is the closest match and the safest value to use. The picker lists what your account can actually select.

Why does it happen from the SDK, the Desktop app or Remote Control?

Those surfaces set the model programmatically rather than through the picker, so the value is checked at the switch. Anthropic says that on the Anthropic API, only a string that cannot be a model ID, such as a display name or an empty string, gets this error from the SDK or an app.