Claude Code's Code Mode lets the model talk less and do more: instead of calling Bash, Read, and Edit one at a time, it writes a JavaScript snippet that calls several tools at once. It shipped with Claude Code v2.1.323 on November 12, 2026, and the official ClaudeDevs account introduced it on November 17. It is experimental, off by default, and may change or be removed at any time.
What Code Mode Actually Changes
Without it, Claude stops to read the result after every tool call before deciding the next step. With Code Mode on, it writes a piece of JavaScript that fires a batch of tool calls in one go and only reads back the part of the output it needs. What you save is round-trip waiting and repeated output. Only the calling style changes — not the model itself, and not the pricing tier.
3 Requirements Before You Turn It On
- Version: Claude Code v2.1.323 or later. Run claude --version to check, and claude update if you are behind.
- Model: only four models are supported — Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.2.
- Session: it works only in an interactive terminal session. The -p non-interactive flag, the Agent SDK, the VS Code panel, the desktop app, and cloud sessions are all out; third-party channels such as Bedrock, Google Cloud, and Microsoft Foundry are not supported either.
Type CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude in the terminal and press Enter, then confirm once when the session starts. Organization admins can block it in managed settings, but they cannot turn it on for users. Permission rules stay the same: every tool call the script makes still passes your deny and ask rules, and Remote Control, Claude in Chrome, and computer use are unavailable while it is on.
2 Common Misunderstandings
The widely shared '37% fewer tokens' figure is not an official number — Anthropic's documentation never states it; it comes from a different, older article, so do not base decisions on it. Code Mode fits tasks with many tool calls, such as editing or searching many files at once; for a simple question it adds nothing. And because it is experimental, it can change at any time — do not build a critical workflow on it alone.