Pricing per million tokens:
| Model | Input | Output |
|---|---|---|
| Opus 4.6 | $15 | $75 |
| Sonnet 4.5 | $3 | $15 |
| Haiku 4.5 | $0.80 | $4 |
There are a few ways to switch models in Claude Code within VS Code:
In the chat prompt, use the /model command — type /model in the input box to open the model selector. This is the primary way.
Keyboard shortcut — you can switch models mid-prompt with Alt+P (Option+P on Mac).
In the CLI / terminal — if you're using the integrated terminal, run claude --model claude-opus-4-5-20251101 (or whichever model string you want) to start a session with a specific model.
Via settings — you can set a default model in ~/.claude/settings.json with something like:
{
"model": "claude-sonnet-4-5-20250929"
}
This persists across sessions for both the extension and the CLI.
The available models are Opus 4.5, Sonnet 4.5, and Haiku 4.5. Worth noting: Haiku 4.5 automatically uses Sonnet in plan mode and Haiku for execution, so there's some smart model routing built in already.
No comments:
Post a Comment