Answer: With Claude Code v2.1.302 or later, set the CLAUDE_CODE_AUTO_MODE_MODEL environment variable to a full model ID to run the classifier on a model other than the default; for example, setting it to "claude-sonnet-4-6" in ~/.claude/settings.json uses Claude Sonnet 4.6. Status: Confirmed Entry: tool/claude-code/models/auto-mode-classifier-model Revision: 3 Digest: sha256:518b0ed550dbd007 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:51Z Last changed: 2026-11-20T12:22:34Z (Settings file: — → ~/.claude/settings.json) Last verified: 2026-11-20T12:22:34Z Next check: 2026-11-21T12:22:34Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Environment variable | CLAUDE_CODE_AUTO_MODE_MODEL | [1] | 2026-11-20 Minimum version | v2.1.302 | [1] | 2026-11-20 Example model ID | claude-sonnet-4-6 | [1] | 2026-11-20 Settings file | ~/.claude/settings.json | [1] | 2026-11-20 Sources: [1] Anthropic. "Choose a permission mode". https://code.claude.com/docs/en/permission-modes.md Role: primary. Accessed: 2026-11-20T12:22:34Z Quote: "set [`CLAUDE_CODE_AUTO_MODE_MODEL`](https://code.claude.com/docs/en/env-vars) to a full model ID" (Supports: Environment variable) Quote: "With Claude Code v2.1.302 or later" (Supports: Minimum version) Quote: ""CLAUDE_CODE_AUTO_MODE_MODEL": "claude-sonnet-4-6"" (Supports: Example model ID) Quote: "This `~/.claude/settings.json` example sets Claude Sonnet 4.6:" (Supports: Settings file) Published: 2026-11-20T10:23:21Z Snapshot SHA-256: 0477d3baff37f13866bfb5c2ee86038714353a34436ad815830d956099ed1aa0 (captured 2026-11-20T12:22:32Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:22:34Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:34Z Last attempt: 2026-11-20T12:22:34Z Notes and limitations: Extracted automatically from a single official source (section "Choose the classifier model"). Related: https://latestn.com/tool/claude-code/models/background-session-model-effort How do I set the model, effort, and permission mode for Claude Code background sessions? https://latestn.com/tool/claude-code/models/choose-advisor-model Which advisor models can I pair with my main model in Claude Code? https://latestn.com/tool/claude-code/models/choose-subagent-model How do I choose which model a Claude Code subagent runs on? https://latestn.com/tool/claude-code/memory-and-context/when-context-fills-up When does Claude Code's context window fill up and trigger compaction? https://latestn.com/tool/claude-code/models/add-gateway-models How do I add gateway models to the Claude Code model picker? https://latestn.com/tool/claude-code/models/adjust-effort-level How do I adjust the effort level in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:22:34Z | changed | Settings file: — → ~/.claude/settings.json | [1] 2026-11-20T12:22:34Z | changed | Example model ID: — → claude-sonnet-4-6 | [1] 2026-11-20T12:22:34Z | changed | Minimum version: — → v2.1.302 | [1] 2026-11-20T12:22:34Z | changed | Environment variable: — → CLAUDE_CODE_AUTO_MODE_MODEL | [1] 2026-11-20T12:22:34Z | changed | settings file: ~/.claude/settings.json → — | [1] 2026-11-20T12:22:34Z | changed | example model ID: claude-sonnet-4-6 → — | [1] 2026-11-20T12:22:34Z | changed | minimum version: v2.1.302 → — | [1] 2026-11-20T12:22:34Z | changed | environment variable: CLAUDE_CODE_AUTO_MODE_MODEL → — | [1] 2026-11-19T12:18:03Z | changed | settings file: — → ~/.claude/settings.json | [1] 2026-11-19T12:18:03Z | changed | example model ID: — → claude-sonnet-4-6 | [1] 2026-11-19T12:18:03Z | changed | minimum version: — → v2.1.302 | [1] 2026-11-19T12:18:03Z | changed | environment variable: — → CLAUDE_CODE_AUTO_MODE_MODEL | [1] 2026-11-19T12:18:03Z | changed | Settings file: ~/.claude/settings.json → — | [1] 2026-11-19T12:18:03Z | changed | Example model ID: claude-sonnet-4-6 → — | [1] 2026-11-19T12:18:03Z | changed | Minimum version: v2.1.302 → — | [1] 2026-11-19T12:18:03Z | changed | Environment variable: CLAUDE_CODE_AUTO_MODE_MODEL → — | [1] 2026-11-13T03:04:51Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/models/auto-mode-classifier-model/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/models/auto-mode-classifier-model POST: https://latestn.com/dispute/tool/claude-code/models/auto-mode-classifier-model with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/models/auto-mode-classifier-model?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I choose or change the classifier model used by auto mode in Claude Code? Revision 3, last verified 2026-11-20T12:22:34Z. https://latestn.com/tool/claude-code/models/auto-mode-classifier-model (accessed 2026-11-21T09:53:17Z). @misc{LatestN_tool_claude_code_models_auto_mode_classifier_model_r3, title = {How do I choose or change the classifier model used by auto mode in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/models/auto-mode-classifier-model}}, note = {Revision 3; digest sha256:518b0ed550dbd007; last verified 2026-11-20T12:22:34Z; accessed 2026-11-21T09:53:17Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/models/auto-mode-classifier-model