Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

9 pages for --fallback-model.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Manage multiple agents with agent view Claude Code CLI · in the page agent-view …`--settings` * `--setting-sources` * `--add-dir` * `--plugin-dir` * `--fallback-model` * `--allow-dangerously-skip-permissions` Directories you added during the session with [`/add-dir`](/docs/en/pe… Claude Code changelog Claude Code CLI · in the page changelog …e Control off; they now disconnect with a notice * Fixed refusal and `--fallback-model` retries failing when the fallback model can't run fast; they now run at standard speed, with a one-time notice i… CLI reference Claude Code CLI · in the page cli-reference …| | `--fallback-model` | Enable automatic fallback to the specified model(s) when the primary model is ove… Model configuration Claude Code CLI · in the page model-config …val and ignores extra entries. Set a chain for one session with the `--fallback-model` flag, which accepts a comma-separated list: ```bash theme={null} claude --fallback-model sonnet,haiku ``` To p… Manage sessions Claude Code CLI · in the page sessions …he session depended on `--mcp-config`, `--settings`, `--plugin-dir`, `--fallback-model`, or directories added with `--add-dir`, pass them again when you resume; directories added mid-session with `/ad… Claude Code settings Claude Code CLI · in the page settings …hest-precedence file that defines it supplies the entire chain. The [`--fallback-model`](/docs/en/cli-reference#cli-flags) flag overrides this for one session. See [Fallback model chains](/docs/en/mod… All settings Claude Code CLI · in the page settings-reference …request isn't retried on another model * **Per-session overrides**: `--fallback-model` takes precedence over this key for one session This example tries Sonnet 5 first, then Haiku 4.5, when your pri… Week 22 · May 25–29, 2026 Claude Code CLI · in the page whats-new/2026-w22 …e text as it is displayedClaude Code now switches to your configured `--fallback-model` for the rest of the session when the primary model is not found, instead of failing every requestPlugins can dec… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …ls tried in order when the primary is overloaded or unavailable, and `--fallback-model` now applies to interactive sessions tooSession titles are now generated in the language of your conversation; pi…
Feedback