Omniscio

OmniscioGuidesCustomize the /model picker

Claude Code: customize the /model picker

The built-in picker lists Anthropic's names. If your team runs deployments with their own IDs, or you keep choosing between the same three models, the picker can list exactly those, under names people recognize.

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

What the setting does

modelPicker lists the models the /model picker offers, in the order you write them and under labels you choose. Each row's model is taken verbatim, so it accepts anything --model accepts: an alias such as opus, an Anthropic model ID, or a provider-format ID for Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry or an LLM gateway.

The key requires Claude Code v2.1.242 or later. Its default is unset, so the picker shows the built-in lineup.

Where to set it

Add modelPicker as a top-level key inside your settings object — user settings (~/.claude/settings.json), managed settings, or a file you pass with --settings — and keep the keys already there. Claude Code ignores the key in project and local settings, so a repository you clone cannot relabel the picker.

The highest of those three sources that sets the key supplies the whole lineup. Claude Code never combines lineups from two sources, so a managed lineup does not merge with rows from your user settings.

The value is an object with an options array of rows and an optional replaceBuiltInOptions Boolean.

A worked example

This adds two Bedrock deployments after the built-in lineup, under names your team recognizes:

{
  "modelPicker": {
    "options": [
      { "model": "us.anthropic.claude-opus-4-8", "label": "Opus (production)" },
      {
        "model": "us.anthropic.claude-sonnet-4-6",
        "label": "Sonnet (production)",
        "description": "Day-to-day work"
      }
    ]
  }
}

With no label, Claude Code titles the row with the built-in name for a model it knows, or the model ID otherwise. With no description, it writes a generic second line.

The fields

What each modelPicker field does.
FieldTypeWhat it does
optionsArray of rows, each with a required model and optional label, description and behavesAsThe rows the picker shows, in this order, except that a grayed-out row moves to the bottom
replaceBuiltInOptionsBoolean, default falseSet it to true to show only these rows, Default, and a row for the model the session is already using

Telling Claude Code how a model behaves

A row can carry an optional behavesAs string beside its model. Set it to the ID of a model your Claude Code version already knows, such as claude-opus-4-8, on a row whose model is newer than your version. Claude Code then applies that known model's capabilities and effort defaults to the row instead of treating its model as unknown.

The row's label and the model ID Claude Code sends in requests do not change. behavesAs requires v2.1.257 or later.

Replace the built-in lineup, or add to it

With replaceBuiltInOptions on, Claude Code hides every other row: the built-in lineup, the rows it adds for availableModels entries, the models gateway discovery found, and a single entry set with ANTHROPIC_CUSTOM_MODEL_OPTION.

With it off, Claude Code skips a listed model that the built-in lineup already covers, so a row you add under a built-in name does not appear twice.

A label changes what the picker shows, not which model Claude Code runs.

Why a row is missing or grayed out

An availableModels allowlist still applies to these rows, and a specific model ID narrows its family's wildcard entry. Claude Code also checks each row against the session before it shows the picker:

  • Dropped. A row Claude Code cannot serve, such as a retired model or a model your organization has no access to.
  • Grayed out. A row you cannot select yet, shown with the reason.
  • No row survives. Claude Code keeps the built-in lineup, filtered by the allowlist as usual.

Claude Code drops a row it cannot parse and keeps the rest, so one bad row does not empty the picker.

Adding a single model instead

For one custom entry rather than a lineup, set ANTHROPIC_CUSTOM_MODEL_OPTION to the model ID. Claude Code lists the entry after the built-in entries, and any modelPicker rows you append come after it.

When availableModels is set, include the custom model ID in the allowlist as well, or Claude Code filters the entry from the picker and rejects a --model selection of it.

Common mistakes

  • Putting it in the project's settings file. Project and local settings are ignored for this key.
  • Expecting a managed lineup and a user lineup to merge. The highest source that sets the key supplies the whole lineup.
  • Thinking a label selects a different model. The label changes display only; the model value is what runs.
  • Forgetting the allowlist. A row outside availableModels is filtered like any other model.
  • Expecting built-in rows to remain with replaceBuiltInOptions: true. Only your rows, Default, and the current model remain.
  • Leaving behavesAs off a newer model. Without it, Claude Code treats an unknown model as unknown rather than applying a known model's capabilities.

How do I know it worked?

  • Run /model and check the rows, their labels and their order.
  • Select one of your rows and run /status to see the model the session is using.
  • If a row is missing, the section above names the dropped, grayed-out and no-row-survives cases; check the allowlist first.

Where these answers come from

Common questions

What does the modelPicker setting do?

It lists the models the /model picker offers, in the order you write them and under labels you choose. Leave replaceBuiltInOptions unset to add your rows after the built-in lineup, or set it to true to show only your rows, Default, and the model the session is already using.

Which settings file can set modelPicker?

User settings, managed settings, or a file passed with --settings. Claude Code ignores the key in project and local settings, so a repository you clone cannot relabel your picker.

Does a label change which model runs?

No. A label changes what the picker shows, not which model Claude Code runs. Each row's model is taken verbatim and accepts anything the --model flag accepts, including an alias, an Anthropic model ID, or a provider-format ID.

Why is my row missing or grayed out?

Claude Code checks each row against the session before it shows the picker. It drops a row it cannot serve, such as a retired model or one your organization has no access to, and grays out a row you cannot select yet, with the reason. If no row survives, it keeps the built-in lineup filtered by the allowlist.