⌨️CLAUDE_CODE_AUTO_MODE_MODEL
Also known as CLAUDE_CODE_AUTO_MODE_MODEL environment variable
It picks the model that checks actions in auto mode.
Think of it like
It is like you pick which guard checks the bags at the door.
Example
Why it matters
Auto mode needs its checker to be reachable. On a gateway or cloud, the default may not be.
Definition
Example code
bash
export CLAUDE_CODE_AUTO_MODE_MODEL=claude-sonnet-4-6
claude --permission-mode autoCommon mistake
Key takeaways
- 1The checker model. Not the main one.
- 2Full model ID. Not an alias.
- 3For auto mode. Only.