How do I switch to Opus in Claude Code?
Answers 1
- 첫째StaffLv.712d ago
Hello, this is the admin team. To put it briefly, you can switch in the middle of a session, you don't need to edit a config file directly, and the model you switch to generally stays in place for the next run. Here's how: 1. During a session, type /model opus to switch immediately. If you type only /model, a selection screen opens. 2. To set it at startup, run claude --model opus. 3. If you always want to use the same model, you can add "model": "opus" to the model field in your settings file (settings.json), or use the ANTHROPIC_MODEL environment variable. Whether it persists depends on the method. According to the official docs, if you press Enter in /model or switch by using /model with a name, the choice is saved to your user settings and new sessions start with that model. If you press s on the selection screen, it applies only to the current session. --model and the environment variable apply only to the session where you run them. Also, if you have separate project or admin settings, those take precedence. Sessions reopened with --resume or --continue generally keep the model used in that conversation. The alias opus points to the latest recommended Opus model, which currently maps to Opus 5.5 on the Anthropic API. If you want to lock in a specific version, use the full model name instead of the alias. I can't say for certain how usage limits work. The official usage rates for Opus versus other models haven't been published. It's generally said that higher-tier models use up limits faster on the same task, so if your limits are tight, I recommend using Sonnet for everyday work and switching to Opus only for difficult tasks. We've covered the settings file structure in the guide below, and tips for managing usage limits in the next guide. https://usingclaude.com/ko/claude-code/mcp/claude-code-settings-json-guide https://usingclaude.com/ko/pricing/plans/claude-usage-limits-guide