⌨️--fallback-model Flag
Also known as claude --fallback-model, fallbackModel
It names backup models for when the main one is busy.
Think of it like
It is like you call your dad if your mom does not pick up.
Example
Jack's night job uses the biggest model. With --fallback-model sonnet, a busy hour just slows it down. The whole run does not fail.
Why it matters
A run keeps going on a busy day, which matters most when no one is there to restart it.
Definition
Example code
bash
claude --fallback-model sonnet,haikuCommon mistake
Key takeaways
- 1A list. Tried in order.
- 2When busy or gone. Not on a bad answer.
- 3Flag beats setting. For this session.