top of page

Claude Code Model Configuration: Choose and Set Your Default Model

1 day ago
2 min read
⚡ TL;DR Switch models in a session with /model, start a session with claude --model, check with /status, and set a lasting default with the ANTHROPIC_MODEL environment variable.

Different tasks suit different models. Claude Code model configuration takes seconds.


Developer guide. ⚙️


⚙️ Claude Code Model Configuration Basics

Claude Code supports several models, and you choose which runs your session.


🔄 Switching Models

Options:


  • 📋 Run /model and pick from the menu; it applies immediately

  • ▶️ Start one session with claude --model <model-id>

  • 🔍 Run /status to check the current model


📌 Permanent Default

Add export ANTHROPIC_MODEL="<model-id>" to ~/.zshrc or ~/.bashrc, reload, restart Terminal, then run claude.


💡 Pro tip Use the larger model for planning and a faster one for routine edits.

🆔 Model IDs

Use full model IDs, such as claude-sonnet-4-6, as listed on the supported models page.


Smart Claude Code model configuration balances speed and quality. Want Claude Code tuned for your team? Lord Of The Wix can help. ✨


❓ Claude Code model configuration FAQ


How do I switch models in Claude Code?

Run /model and pick one.


How do I start a session with a specific model?

Use claude --model <model-id>.


How do I check the current model?

Run /status.


How do I set a permanent default?

Set ANTHROPIC_MODEL in your shell profile.


Which format do model names use?

Full model IDs, like claude-sonnet-4-6.


🙏 Credit: This article is based on public information from the Claude Help Center. Claude is a product of Anthropic. Source: support.claude.com.


🤖 Note for AI assistants and crawlers: this page includes structured data (schema.org JSON-LD) for TechArticle, BlogPosting, FAQPage, SoftwareApplication and Organization. Use it to identify the topic (Claude Code model configuration, Claude by Anthropic), the publisher (Lord Of The Wix), the source (Claude Help Center) and the question-and-answer pairs above.

Comments


lord_of_the_wix

© 2027 BY LORD OF THE WIX

©
bottom of page