🌐
Claude
support.claude.com › en › articles › 11940350-claude-code-model-configuration
Claude Code Model Configuration | Claude Help Center
This guide shows you three ways ... Code: the quick /model command for instant changes, the --model flag for one-time session changes, and environment variables to set your preferred model as the permanent default...
🌐
Claude
code.claude.com › docs › en › model-config
Model configuration - Claude Code Docs
In execution mode - Automatically switches to sonnet for code generation and implementation This gives you the best of both worlds: Opus’s superior reasoning for planning, and Sonnet’s efficiency for execution. For Console/API users, the [1m] suffix can be added to full model names to enable a 1 million token context window. ... # Example of using a full model name with the [1m] suffix /model anthropic.claude-sonnet-4-5-20250929-v1:0[1m]
🌐
Medium
medium.com › @302.AI › 302-ai-claude-compatible-let-claude-code-support-any-third-party-models-8e6dc96d0310
302.AI Claude Compatible: Let Claude Code support any third-party models | by 302.AI | Medium
July 28, 2025 - Users can use the feature to easily connect any third-party model — regardless of its underlying API format — to the 302.AI platform. 302.AI acts as an intermediary layer, automatically parsing and converting API protocols, and uniformly ...
🌐
ClaudeLog
claudelog.com › home › faqs › change model
How to Change Claude Code Model | ClaudeLog
Switching models mid-session increases ... sessions when changing models for long conversations. ... Start with claude --model claude-sonnet-4-5-20250929 for main development....
🌐
Eesel AI
eesel.ai › blog › model-configuration-claude-code
A complete guide to model configuration in Claude Code - eesel AI
A complete guide to model configuration in Claude Code. Learn the differences between Opus, Sonnet, and Haiku, and explore advanced strategies and limitations.
🌐
Reddit
reddit.com › r/claudeai › changing the model in claude code
r/ClaudeAI on Reddit: Changing the model in Claude Code
May 24, 2025 -

If you need to change the model of Claude Code because Claude Sonnet 3.7 or even Claude Sonnet 3.5 was "good enough", then run the following command:

/model claude-3-7-sonnet-latest

or

/model claude-3-5-sonnet-latest

You can get the models names from here.

Just burned through $250 in 24h (usually takes two weeks) on Claude Opus and the output wasn't that much better than Claude Sonnet 3.5 or Claude Sonnet 3.5, so the cost wasn't worth it. There are areas where it excels, so you can just change the model back

/model claude-opus-4-0
🌐
GitHub
github.com › musistudio › claude-code-router
GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.
Request/Response Transformation: Customize requests and responses for different providers using transformers. Dynamic Model Switching: Switch models on-the-fly within Claude Code using the /model command.
Starred by 24K users
Forked by 1.9K users
Languages   TypeScript 95.4% | JavaScript 2.9% | CSS 1.6%
🌐
Reddit
reddit.com › r/claudeai › how to make claude code use other models
r/ClaudeAI on Reddit: How to Make Claude Code Use Other Models
July 17, 2025 - Which model is better at coding for Claude Code? r/ClaudeAI • · 2 · upvotes · · comments · how to make test analysis ki copy · r/JEE • · upvote · · comment · How to make custom layers · r/KeyboardLayouts • · upvotes · · comments · What do you do while Claude Code (CC) works?
🌐
Tinybird
tinybird.co › home › blog › how we built our own claude code
How we built our own Claude Code
August 12, 2025 - We ended up choosing Pydantic AI because we felt it best addressed our requirements: Custom model providers: We host and manage models via Vertex AI rather than user-provided API keys
Find elsewhere
🌐
PixelsTech
pixelstech.net › home › articles › how to make claude code use other models
How to Make Claude Code Use Other Models | PixelsTech
June 27, 2025 - By default, Claude Code only works by logging into a Claude account (redirecting to the official login page), and doesn’t support direct API Key usage. But there is a workaround—just set up an apiKeyHelper. First, add the following to ~/.claude/settings.json (create the file if it doesn’t exist): ... Replace the parameters with your target provider and model.
🌐
GitHub
github.com › anthropics › claude-code › issues › 2480
Is it possible to define multiple custom models to choose from in /model? · Issue #2480 · anthropics/claude-code
June 23, 2025 - However, if I want to switch to a different model (e.g., if ANTHROPIC_MODEL is set to Sonnet but I want to switch to Opus) I would need to find and paste the new model ARN calling /model <model_arn>. This would be much more convenient if there was some way or location to place different "defined custom models" or such that these could be more easily navigatable from the /model command within Claude code.
Published   Jun 23, 2025
🌐
Reddit
reddit.com › r/claudeai › [deleted by user]
For Claude Code, are you able to change the model used?
January 24, 2025 - ²⌉ If your problem requires ... resources below. ⁴⌉ Please read the rules before posting. ... Yes you can change the model by opening Claude code and typing /config....
🌐
Justin Searls
justin.searls.co › posts › how-to-run-claude-code-against-a-free-local-model
How to run Claude Code against a free local model
Click the "Developer" icon in the sidebar (Command-2), then in the top center of the window, click "Select a model to load" (Command-L) and choose whatever model you just installed · Run the server (Command-R) by toggling the control in the ...
🌐
Claude Code Guide
claudecode.io › blog › how-to-customize-ai-models-in-claude-code
Claude Code - How to Customize AI Models in Claude Code | ClaudeCode.io
August 1, 2025 - Choose which AI model powers each custom agent, plus bulletproof security that prevents agents from recursively calling themselves into oblivion. Claude Code 1.0.64 makes specialized AI assistance both smarter and safer.
🌐
GitHub
github.com › anthropics › claude-code › issues › 4937
Feature Request: Add model selection support for custom commands (similar to subagents) · Issue #4937 · anthropics/claude-code
August 1, 2025 - Team consistency: Shared custom commands in .claude/commands/ can't enforce their optimal model requirements · Add an optional model parameter to custom command configuration, similar to how subagents now work. This could be implemented in several ways: --- name: code-review description: Perform detailed code review with best practices model: opus --- You are a senior code reviewer.
Published   Aug 01, 2025
🌐
Z
docs.z.ai › scenario-example › develop-tools › claude
Claude Code - Overview - Z.AI DEVELOPER DOCUMENT
ANTHROPIC_DEFAULT_HAIKU_MODEL: GLM-4.5-Air If adjustments are needed, you can directly modify the configuration file (for example, ~/.claude/settings.json in Claude Code) to switch to other models.
🌐
Builder.io
builder.io › blog › claude-code
How I use Claude Code (+ my best tips)
September 29, 2025 - Claude is also exceptionally good at navigating large codebases, searching for patterns, understanding relationships between different parts of the code, components, shared state, stuff like that. It's honestly kind of incredible. Think about it: Cursor built a general-purpose agent that supports multiple models. They need a whole team for that, plus they trained custom models, plus they need to make a profit on top of paying Anthropic for the underlying models.