You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Claude Code v1.0.98 - model config system + /doctor validation
- Version bump to 1.0.98
- NEW: model-config.md - comprehensive model alias documentation including opusplan hybrid mode
- NEW: /doctor command validates permission rule syntax with corrections (v1.0.97)
- NEW: settings for disableAllHooks and outputStyle
- UPDATED: environment variables reorganized for model configuration
- DEPRECATED: autoUpdates setting (use DISABLE_AUTOUPDATER env var)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* EN [This is some text inside of a div block.](https://www.anthropic.com/claude-code#)
105
-
*[Try Claude](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/login)Try Claude Try Claude [Download App](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/download)Download App Download App
105
+
*[Try Claude](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/login)Try Claude Try Claude [Download App](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/download)Download App Download App
* EN [This is some text inside of a div block.](https://www.anthropic.com/claude-code#)
200
-
*[Try Claude](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/login)Try Claude Try Claude [Download App](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/download)Download App Download App
200
+
*[Try Claude](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/login)Try Claude Try Claude [Download App](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/download)Download App Download App
201
201
202
202
Your code’s new collaborator
203
203
============================
@@ -215,19 +215,19 @@ Install [Node.js 18+](https://nodejs.org/en/download), then run:
[Try Claude Code on Max](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/upgrade/max?returnTo=/claude-code-install)Try Claude Code on Max
218
+
[Try Claude Code on Max](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/upgrade/max?returnTo=/claude-code-install)Try Claude Code on Max
219
219
220
220
Try Claude Code on Max
221
221
222
-
[Try Claude Code on Max](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/upgrade/max?returnTo=/claude-code-install)Try Claude Code on Max
222
+
[Try Claude Code on Max](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/upgrade/max?returnTo=/claude-code-install)Try Claude Code on Max
*### Pro $17 Per month with annual subscription discount; $200 billed up front. $20 if billed monthly. Claude Code is included in your Pro plan. Perfect for short coding sprints in smaller codebases with Claude Sonnet 4. [Sign up](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/upgrade/pro?returnTo=/claude-code-install)Sign up Sign up
427
-
*### Max 5x $100 Per person billed monthly Claude Code is included in your Max plan. Great value for everyday use in larger codebases with access to both Claude Sonnet 4 & Claude Opus 4.1. [Sign up](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/upgrade/max?plan=max_5x&returnTo=/claude-code-install)Sign up Sign up
428
-
*### Max 20x $200 Per person billed monthly Even more Claude Code included in your Max plan. Great value for power users with the most access to Claude Opus 4.1. [Sign up](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/upgrade/max?plan=max_20x&returnTo=/claude-code-install)Sign up Sign up
426
+
*### Pro $17 Per month with annual subscription discount; $200 billed up front. $20 if billed monthly. Claude Code is included in your Pro plan. Perfect for short coding sprints in smaller codebases with Claude Sonnet 4. [Sign up](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/upgrade/pro?returnTo=/claude-code-install)Sign up Sign up
427
+
*### Max 5x $100 Per person billed monthly Claude Code is included in your Max plan. Great value for everyday use in larger codebases with access to both Claude Sonnet 4 & Claude Opus 4.1. [Sign up](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/upgrade/max?plan=max_5x&returnTo=/claude-code-install)Sign up Sign up
428
+
*### Max 20x $200 Per person billed monthly Even more Claude Code included in your Max plan. Great value for power users with the most access to Claude Opus 4.1. [Sign up](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/upgrade/max?plan=max_20x&returnTo=/claude-code-install)Sign up Sign up
429
429
430
430
*Additional [usage limits](https://support.anthropic.com/en/articles/9797557-usage-limit-best-practices) apply. Prices shown do not include applicable tax.
431
431
432
432
*### Anthropic API Pay as you go with standard Anthropic API pricing. Deploy to unlimited developers with no per-seat fee or platform charges. [Start building](https://console.anthropic.com/login?returnTo=%2F%3F)Start building Start building
433
-
*### Team $150 Per person / month. Minimum 5 members. Claude Code is included with Team plan premium seats. Includes self-serve seat management and additional usage at standard API rates, plus access to both Claude Sonnet 4 and Claude Opus 4.1. [Get the Team plan](https://claude.ai/redirect/website.v1.26319ac3-0876-4bb5-9ff6-5c9ce61de157/login)Get the Team plan Get the Team plan
433
+
*### Team $150 Per person / month. Minimum 5 members. Claude Code is included with Team plan premium seats. Includes self-serve seat management and additional usage at standard API rates, plus access to both Claude Sonnet 4 and Claude Opus 4.1. [Get the Team plan](https://claude.ai/redirect/website.v1.764972df-cf81-4d9c-8b06-5cec0cca7e1a/login)Get the Team plan Get the Team plan
434
434
*### Enterprise Enterprise plan premium seats include everything in the Team plan, plus advanced security, data, and user management. [Contact sales](https://anthropic.com/contact-sales)Contact sales Contact sales
435
435
436
436
Prices shown do not include applicable tax. [Usage limits](https://support.anthropic.com/en/articles/9797557-usage-limit-best-practices) may apply.
Configure your preferred line break behavior in terminal settings. Run `/terminal-setup` to install Shift+Enter binding for iTerm2 and VS Code terminals.
|`#` at start | Memory shortcut - add to CLAUDE.md | Prompts for file selection |
37
+
|`/` at start | Slash command | See [slash commands](/en/docs/claude-code/slash-commands)|
38
+
|`!` at start | Bash mode | Run commands directly and add execution output to the session |
34
39
35
-
## Vim mode
40
+
## Vim editor mode
36
41
37
42
Enable vim-style editing with `/vim` command or configure permanently via `/config`.
38
43
@@ -75,10 +80,6 @@ Enable vim-style editing with `/vim` command or configure permanently via `/conf
75
80
|`cw`/`ce`/`cb`| Change word/to end/back |
76
81
|`.`| Repeat last change |
77
82
78
-
<Tip>
79
-
Configure your preferred line break behavior in terminal settings. Run `/terminal-setup` to install Shift+Enter binding for iTerm2 and VS Code terminals.
80
-
</Tip>
81
-
82
83
## Command history
83
84
84
85
Claude Code maintains command history for the current session:
|**`default`**| Recommended model setting, depending on your account type |
21
+
|**`sonnet`**| Uses the latest Sonnet model (currently Sonnet 4) for daily coding tasks |
22
+
|**`opus`**| Uses the most capable Opus model (currently Opus 4.1) for complex reasoning |
23
+
|**`haiku`**| Uses the fast and efficient Haiku model for simple tasks |
24
+
|**`sonnet[1m]`**| Uses Sonnet with a [1 million token context window](/en/docs/build-with-claude/context-windows#1m-token-context-window) window for long sessions |
25
+
|**`opusplan`**| Special mode that uses `opus` during plan mode, then switches to `sonnet` for execution |
26
+
27
+
### Setting your model
28
+
29
+
You can configure your model in several ways, listed in order of priority:
30
+
31
+
1.**During session** - Use `/model <alias|name>` to switch models mid-session
32
+
2.**At startup** - Launch with `claude --model <alias|name>`
33
+
3.**Environment variable** - Set `ANTHROPIC_MODEL=<alias|name>`
34
+
4.**Settings** - Configure permanently in your settings file using the `model`
35
+
field.
36
+
37
+
Example usage:
38
+
39
+
```bash
40
+
# Start with Opus
41
+
claude --model opus
42
+
43
+
# Switch to Sonnet during session
44
+
/model sonnet
45
+
```
46
+
47
+
Example settings file:
48
+
49
+
```
50
+
{
51
+
"permissions": {
52
+
...
53
+
},
54
+
"model": "opus"
55
+
}
56
+
```
57
+
58
+
## Special model behavior
59
+
60
+
### `default` model setting
61
+
62
+
The behavior of `default` depends on your account type.
63
+
64
+
For certain Max users, Claude Code will automatically fall back to Sonnet if you
65
+
hit a usage threshold with Opus.
66
+
67
+
### `opusplan` model setting
68
+
69
+
The `opusplan` model alias provides an automated hybrid approach:
70
+
71
+
***In plan mode** - Uses `opus` for complex reasoning and architecture
72
+
decisions
73
+
***In execution mode** - Automatically switches to `sonnet` for code generation
74
+
and implementation
75
+
76
+
This gives you the best of both worlds: Opus's superior reasoning for planning,
77
+
and Sonnet's efficiency for execution.
78
+
79
+
### Extended context with \[1m]
80
+
81
+
For Console/API users, the `[1m]` suffix can be added to full model names to
82
+
enable a
83
+
[1 million token context window](/en/docs/build-with-claude/context-windows#1m-token-context-window).
84
+
85
+
```bash
86
+
# Example of using a full model name with the [1m] suffix
0 commit comments