[
    {
        "role": "user",
        "content": "what%20is%20the%20settings.json%20entry%20to%20change%20claude%20code%20model%20to%20sonnet%204.6%3F"
    },
    {
        "role": "assistant",
        "content": "Here\u2019s how you\u2019d change the model in your `settings.json` file for **Claude Code** to use **Sonnet 4.6**:\n\n```json\n{\n  \"model\": \"claude-sonnet-4-6\"\n}\n```\n\n### When & where to put it\n\n- In your user-level settings file: `~/.claude/settings.json` \u2014 this applies to all Claude Code sessions globally. ([pasqualepillitteri.it](https://pasqualepillitteri.it/en/news/292/claude-sonnet-4-6-claude-code-guide?utm_source=openai))  \n- Or within a project-level config: `.claude/settings.json` in your project\u2019s root directory. ([docs.claude.com](https://docs.claude.com/en/docs/claude-code/settings?utm_source=openai))  \n\n---\n\n### Other ways to select Sonnet 4.6\n\nIf you don\u2019t want to tweak `settings.json`, there are alternate options:\n\n- **Session only**: Launch Claude with a model flag:  \n  ```bash\n  claude --model claude-sonnet-4-6\n  ```  \n  ([pasqualepillitteri.it](https://pasqualepillitteri.it/en/news/292/claude-sonnet-4-6-claude-code-guide?utm_source=openai))\n\n- **Inside a session**: Use the `/model` command. For example:\n  ```\n  /model claude-sonnet-4-6\n  ```  \n  ([pasqualepillitteri.it](https://pasqualepillitteri.it/en/news/292/claude-sonnet-4-6-claude-code-guide?utm_source=openai))\n\n- **Make it the default**: Set an environment variable in your shell config (`~/.bashrc`, `~/.zshrc`, etc.):\n  ```bash\n  export ANTHROPIC_MODEL=\"claude-sonnet-4-6\"\n  ```  \n  ([support.claude.com](https://support.claude.com/en/articles/11940350-claude-code-model-configuration?utm_source=openai))  \n\n---\n\nIf you tell me your operating system, shell, or whether you want this just for one project vs globally, I can show you exactly how/where to put this."
    }
]