[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"article-5-model-config-tips-for-claude-code-users-en":3,"article-related-5-model-config-tips-for-claude-code-users-en":33,"series-industry-684d4d5f-a51c-4154-bce6-ececdc9ee92e":86},{"id":4,"slug":5,"title":6,"content":7,"summary":8,"source":9,"source_url":10,"author":11,"image_url":12,"cover_image":12,"category":13,"language":14,"translated_content":11,"related_article_id":15,"keywords":16,"key_takeaways":25,"views":29,"created_at":30,"published_at":31,"topic_cluster_id":32},"684d4d5f-a51c-4154-bce6-ececdc9ee92e","5-model-config-tips-for-claude-code-users-en","5 model config tips for Claude Code users","\u003Cp data-speakable=\"summary\">\u003Ca href=\"\u002Fnews\u002Fkimi-k25-claude-code-cline-roocode-setup-en\">Claude Code\u003C\u002Fa> model config \u003Ca href=\"\u002Fnews\u002Fleverage-meaning-no-more-buzzword-mistakes-en\">lets you\u003C\u002Fa> choose, pin, and restrict models for each session.\u003C\u002Fp>\u003Cp>\u003Ca href=\"\u002Ftag\u002Fclaude-code\">Claude Code\u003C\u002Fa> lets you pick from aliases, full \u003Ca href=\"\u002Fnews\u002Fwhy-gemini-drops-matter-more-than-model-names-en\">model names\u003C\u002Fa>, and provider-specific IDs, with \u003Ccode>claude --model\u003C\u002Fcode> at startup and \u002Fmodel during a session.\u003C\u002Fp>\u003Ctable>\u003Cthead>\u003Ctr>\u003Cth>Item\u003C\u002Fth>\u003Cth>Best for\u003C\u002Fth>\u003Cth>Notable behavior\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>default\u003C\u002Ftd>\u003Ctd>Most users\u003C\u002Ftd>\u003Ctd>Uses the recommended model for your account type\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>sonnet\u003C\u002Ftd>\u003Ctd>Daily coding\u003C\u002Ftd>\u003Ctd>Latest Sonnet model for general work\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>opus\u003C\u002Ftd>\u003Ctd>Complex reasoning\u003C\u002Ftd>\u003Ctd>Latest Opus model; can map to different versions by provider\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>haiku\u003C\u002Ftd>\u003Ctd>Fast, simple tasks\u003C\u002Ftd>\u003Ctd>Efficient model for lightweight requests\u003C\u002Ftd>\u003C\u002Ftr>\u003Ctr>\u003Ctd>opusplan\u003C\u002Ftd>\u003Ctd>Planning plus execution\u003C\u002Ftd>\u003Ctd>Opus for plan mode, then Sonnet for implementation\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003Ch2>1. Use model aliases when you want speed with less memorizing\u003C\u002Fh2>\u003Cp>\u003Ca href=\"\u002Ftag\u002Fclaude\">Claude\u003C\u002Fa> Code supports aliases such as \u003Ccode>default\u003C\u002Fcode>, \u003Ccode>best\u003C\u002Fcode>, \u003Ccode>sonnet\u003C\u002Fcode>, \u003Ccode>opus\u003C\u002Fcode>, \u003Ccode>haiku\u003C\u002Fcode>, \u003Ccode>sonnet[1m]\u003C\u002Fcode>, \u003Ccode>opus[1m]\u003C\u002Fcode>, and \u003Ccode>opusplan\u003C\u002Fcode>. These are handy when you want a behavior, not a version string.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780837376520-wtf2.png\" alt=\"5 model config tips for Claude Code users\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>Aliases point to recommended releases for your provider and can change over time, which is useful if you want the current default rather than a pinned build. If you need a fixed version, use the full model name instead, such as \u003Ccode>claude-opus-4-8\u003C\u002Fcode>.\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>default\u003C\u002Fcode> clears overrides and returns to the recommended model for your account type\u003C\u002Fli>\u003Cli>\u003Ccode>best\u003C\u002Fcode> maps to the most capable available model\u003C\u002Fli>\u003Cli>\u003Ccode>opusplan\u003C\u002Fcode> uses Opus in plan mode and Sonnet in execution mode\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>2. Start with \u003Ccode>claude --model\u003C\u002Fcode> when you want a clean session\u003C\u002Fh2>\u003Cp>The startup flag sets the model for the terminal session you launch, which is useful when you want different models in different windows. The docs note that \u003Ccode>--model\u003C\u002Fcode> and \u003Ccode>ANTHROPIC_MODEL\u003C\u002Fcode> apply only to the session you start with them.\u003C\u002Fp>\u003Cp>That makes startup selection a good fit for side-by-side work: one terminal can stay on Opus for hard reasoning while another uses Sonnet or Haiku for routine edits. If you resume a prior session, Claude Code keeps the model that was active when the transcript was saved.\u003C\u002Fp>\u003Ccode>claude --model opus\nclaude --model sonnet\u003C\u002Fcode>\u003Ch2>3. Use \u002Fmodel in-session when you need to switch quickly\u003C\u002Fh2>\u003Cp>The \u002Fmodel command changes the active model without restarting the app. In current versions, opening the picker and pressing Enter saves the choice as the default for new sessions, while \u003Ccode>s\u003C\u002Fcode> switches only the current session.\u003C\u002Fp>\n\u003Cfigure class=\"my-6\">\u003Cimg src=\"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780837369504-xj0i.png\" alt=\"5 model config tips for Claude Code users\" class=\"rounded-xl w-full\" loading=\"lazy\" \u002F>\u003C\u002Ffigure>\n\u003Cp>This is the fastest path when you realize a task needs a different balance of speed and reasoning. Claude Code also asks for confirmation when the conversation already has prior output, because the next response re-reads the full history without cached context.\u003C\u002Fp>\u003Cul>\u003Cli>Type \u003Ccode>\u002Fmodel sonnet\u003C\u002Fcode> to switch directly\u003C\u002Fli>\u003Cli>Run \u003Ccode>\u002Fmodel\u003C\u002Fcode> with no argument to open the picker\u003C\u002Fli>\u003Cli>Use \u003Ccode>Enter\u003C\u002Fcode> in the picker to save the choice\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>4. Pin versions and set defaults when consistency matters\u003C\u002Fh2>\u003Cp>If you need repeatable behavior, the docs recommend pinning a full model name or setting environment variables such as \u003Ccode>ANTHROPIC_DEFAULT_OPUS_MODEL\u003C\u002Fcode> and \u003Ccode>ANTHROPIC_DEFAULT_SONNET_MODEL\u003C\u002Fcode>. This matters because aliases can move to newer releases as \u003Ca href=\"\u002Ftag\u002Fanthropic\">Anthropic\u003C\u002Fa> updates them.\u003C\u002Fp>\u003Cp>Version pinning is especially useful in team settings, managed deployments, and long-lived workflows where the same prompt should keep landing on the same model. The docs also note that Opus 4.8 requires Claude Code v2.1.154 or later.\u003C\u002Fp>\u003Cul>\u003Cli>\u003Ccode>model\u003C\u002Fcode> in your settings file sets the startup default\u003C\u002Fli>\u003Cli>\u003Ccode>ANTHROPIC_DEFAULT_SONNET_MODEL\u003C\u002Fcode> pins what \u003Ccode>sonnet\u003C\u002Fcode> and Default resolve to\u003C\u002Fli>\u003Cli>\u003Ccode>ANTHROPIC_DEFAULT_OPUS_MODEL\u003C\u002Fcode> pins Opus resolution\u003C\u002Fli>\u003C\u002Ful>\u003Ch2>5. Add admin limits when you need to control user choice\u003C\u002Fh2>\u003Cp>Enterprise admins can use \u003Ccode>availableModels\u003C\u002Fcode> in managed or policy settings to limit what users can pick. That list is enforced in the picker, the \u003Ccode>--model\u003C\u002Fcode> flag, and \u003Ccode>ANTHROPIC_MODEL\u003C\u002Fcode>, so users cannot move outside the allowlist.\u003C\u002Fp>\u003Cp>For tighter control, combine \u003Ccode>availableModels\u003C\u002Fcode> with a \u003Ccode>model\u003C\u002Fcode> setting and the default-model environment variables. The docs warn that the picker’s Default option still resolves to the system default for the user’s tier unless you pin what Default maps to.\u003C\u002Fp>\u003Ccode>{\n  \"model\": \"claude-sonnet-4-5\",\n  \"availableModels\": [\"claude-sonnet-4-5\", \"haiku\"],\n  \"env\": {\n    \"ANTHROPIC_DEFAULT_SONNET_MODEL\": \"claude-sonnet-4-5\"\n  }\n}\u003C\u002Fcode>\u003Ch2>How to decide\u003C\u002Fh2>\u003Cp>Pick aliases if you want quick selection and are fine following Anthropic’s recommended updates. Pick full model names and default environment variables if you need stable, repeatable runs across sessions or providers.\u003C\u002Fp>\u003Cp>If you are an admin, use \u003Ccode>availableModels\u003C\u002Fcode> plus a pinned default to shape what users can choose and what Default means. If you are an individual user, start with \u003Ccode>claude --model\u003C\u002Fcode> for a fresh session, then use \u002Fmodel when you want to switch on the fly.\u003C\u002Fp>","5 model config tips for Claude Code users, including aliases, startup flags, and admin controls that shape model choice.","code.claude.com","https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fmodel-config",null,"https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780837376520-wtf2.png","industry","en","b2ba8a73-bd18-45bc-b6e5-5dffc52d7347",[17,18,19,20,21,22,23,24],"Claude Code","model configuration","model aliases","claude --model","\u002Fmodel","ANTHROPIC_MODEL","availableModels","effort level",[26,27,28],"Aliases are convenient, but full model names are better for pinning a specific version.","Use claude --model at launch for a session-level choice, or \u002Fmodel to switch during a conversation.","Admins can restrict selection with availableModels and pin what Default resolves to.",0,"2026-06-07T13:02:21.842646+00:00","2026-06-07T13:02:21.835+00:00","d19fc184-5852-4c4d-9ec0-db0c4841ac17",{"tags":34,"relatedLang":45,"relatedPosts":49},[35,37,39,41,43],{"name":19,"slug":36},"model-aliases",{"name":21,"slug":38},"model",{"name":17,"slug":40},"claude-code",{"name":20,"slug":42},"claude---model",{"name":18,"slug":44},"model-configuration",{"id":15,"slug":46,"title":47,"language":48},"5-model-config-tips-for-claude-code-users-zh","5 個 Claude Code 模型設定技巧","zh",[50,56,62,68,74,80],{"id":51,"slug":52,"title":53,"cover_image":54,"image_url":54,"created_at":55,"category":13},"0b06b38d-9d52-465b-a32c-20658ec99f6e","how-to-set-up-spacemit-k3-risc-v-sbc-en","How to Set Up a SpacemiT K3 RISC-V SBC","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780844581027-qdr8.png","2026-06-07T15:02:30.18636+00:00",{"id":57,"slug":58,"title":59,"cover_image":60,"image_url":60,"created_at":61,"category":13},"3bb0541d-4fbd-4ced-92e6-a86bbcffaa6d","bell-2026-slate-meatballs-littlest-hobo-en","Bell’s 2026 Slate Brings Back Meatballs and The Littlest Hobo","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780831088120-2acl.png","2026-06-07T11:17:37.184308+00:00",{"id":63,"slug":64,"title":65,"cover_image":66,"image_url":66,"created_at":67,"category":13},"f805c0ba-27cb-4dc0-af57-e901f8c12aef","rogen-goldberg-littlest-hobo-revival-playbook-en","How Rogen and Goldberg turn nostalgia into a reboot","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780830197847-0cek.png","2026-06-07T11:02:48.488846+00:00",{"id":69,"slug":70,"title":71,"cover_image":72,"image_url":72,"created_at":73,"category":13},"a7804aaf-0ac7-406f-818e-1faceaae20c6","why-reid-hoffman-leaving-microsoft-board-matters-en","Why Reid Hoffman leaving Microsoft’s board matters more than his titl…","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780828373734-jwy1.png","2026-06-07T10:32:22.634004+00:00",{"id":75,"slug":76,"title":77,"cover_image":78,"image_url":78,"created_at":79,"category":13},"4151c2b0-5419-4b65-b39c-299939d4e9ed","microsoft-openai-split-frees-ai-roadmap-en","Microsoft’s OpenAI split frees its AI roadmap","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780821205975-8qqs.png","2026-06-07T08:32:48.314773+00:00",{"id":81,"slug":82,"title":83,"cover_image":84,"image_url":84,"created_at":85,"category":13},"9bc08616-f290-4ceb-94fa-1397ebfd5ad7","why-leverage-is-making-indias-rally-look-stronger-en","Why leverage is making India’s market rally look stronger than it is","https:\u002F\u002Fxxdpdyhzhpamafnrdkyq.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcovers\u002Finline-1780819382549-dduk.png","2026-06-07T08:02:32.088659+00:00",[87,92,97,102,107,112,117,122,127,132],{"id":88,"slug":89,"title":90,"created_at":91},"d35a1bd9-e709-412e-a2df-392df1dc572a","ai-impact-2026-developments-market-en","AI's Impact in 2026: Key Developments and Market Shifts","2026-03-25T16:20:33.205823+00:00",{"id":93,"slug":94,"title":95,"created_at":96},"5ed27921-5fd6-492e-8c59-78393bf37710","trumps-ai-legislative-framework-en","Trump's AI Legislative Framework: What's Inside?","2026-03-25T16:22:20.005325+00:00",{"id":98,"slug":99,"title":100,"created_at":101},"e454a642-f03c-4794-b185-5f651aebbaca","nvidia-gtc-2026-key-highlights-innovations-en","NVIDIA GTC 2026: Key Highlights and Innovations","2026-03-25T16:22:47.882615+00:00",{"id":103,"slug":104,"title":105,"created_at":106},"0ebb5b16-774a-4922-945d-5f2ce1df5a6d","claude-usage-diversifies-learning-curves-en","Claude Usage Diversifies, Learning Curves Emerge","2026-03-25T16:25:50.770376+00:00",{"id":108,"slug":109,"title":110,"created_at":111},"69934e86-2fc5-4280-8223-7b917a48ace8","openclaw-ai-commoditization-concerns-en","OpenClaw's Rise Raises Concerns of AI Model Commoditization","2026-03-25T16:26:30.582047+00:00",{"id":113,"slug":114,"title":115,"created_at":116},"b4b2575b-2ac8-46b2-b90e-ab1d7c060797","google-gemini-ai-rollout-2026-en","Google's Gemini AI Rollout Extended to 2026","2026-03-25T16:28:14.808842+00:00",{"id":118,"slug":119,"title":120,"created_at":121},"6e18bc65-42ae-4ad0-b564-67d7f66b979e","meta-llama4-fabricated-results-scandal-en","Meta's Llama 4 Scandal: Fabricated AI Test Results Unveiled","2026-03-25T16:29:15.482836+00:00",{"id":123,"slug":124,"title":125,"created_at":126},"bf888e9d-08be-4f47-996c-7b24b5ab3500","accenture-mistral-ai-deployment-en","Accenture and Mistral AI Team Up for AI Deployment","2026-03-25T16:31:01.894655+00:00",{"id":128,"slug":129,"title":130,"created_at":131},"5382b536-fad2-49c6-ac85-9eb2bae49f35","mistral-ai-high-stakes-2026-en","Mistral AI: Facing High Stakes in 2026","2026-03-25T16:31:39.941974+00:00",{"id":133,"slug":134,"title":135,"created_at":136},"9da3d2d6-b669-4971-ba1d-17fdb3548ed5","cursors-meteoric-rise-pressures-en","Cursor's Meteoric Rise Faces Industry Pressures","2026-03-25T16:32:21.899217+00:00"]