🤖 Claude Code Hack: Flexible Model Switching
In Claude Code, the /model command allows you to switch the AI model being used. Pressing Enter will set the model as the default for all future sessions, while pressing the [s] key will apply the changes only to the current active session.
🌍 This is an example of high-quality UX design in CLI tools, where separating global state from session settings allows for flexible resource and cost management without constant environment reconfiguration.
👤 This is useful for quickly testing more powerful and expensive models for a specific task without changing your main workspace configuration.
Source 1: https://code.claude.com/docs/en/commands
