Claude Code v2.1.219 — Opus 5 Becomes the Default Opus Model#

Published on July 24, 2026

Part of the Claude Code Version Tracker series. | Official Env Vars | Official Changelog

Claude Code v2.1.219 promotes Claude Opus 5 (claude-opus-5) to the default Opus model over the prior default claude-opus-4-8, wires it with a native 1M-token context window and $10/$50-per-Mtok pricing, and — beyond the model — ships a run of fixes a daily user actually feels: claude -p no longer swallowing an answer when a turn dies mid-stream, copy-on-select working again inside GNU screen, and Vim mode's left-arrow finally escaping back to the agent view.[1]

The New Model: Opus 5#

The registry entry in the v2.1.219 binary reads id:"claude-opus-5", family:"opus", display_name:"Opus 5", knowledge_cutoff:"May 2026". Its context block is {window:1e6, native_1m:true, supports_1m_beta:true} — a native million-token window rather than a beta bolt-on — with max_output_tokens:{default:64000, upper:128000} and a tier_10_50 pricing tag, matching the changelog's $10/$50 per Mtok. Provider IDs are populated across every backend Claude Code targets: first-party, us.anthropic.claude-opus-5 on Bedrock, Vertex, Foundry, anthropic.claude-opus-5 on Mantle, Anthropic AWS, Anthropic Google Cloud, and Gateway.

The switch is a single field flip: the opus alias default moves from claude-opus-4-8 in v2.1.218 to claude-opus-5 in v2.1.219 (the binary carries 76 references to the new id and none in the prior build). claude-opus-4-8 is retained — demoted, not removed — and the per-provider alias map still resolves opus to claude-opus-4-6 on Foundry, the one backend where Opus 5 is not yet the default. Fast mode moves with it: Opus 4.7 drops out and /fast now applies to Opus 5 and Opus 4.8. The /model picker gains matching polish — the merged Opus row now reads "Opus (1M context)" instead of a bare "Opus," and the picker highlights only the newest model's name so the marker actually points at the new release.

What Landed for Users#

The fixes are the story for anyone already on the tool. claude -p used to drop the answer it had already produced when a turn hit a mid-stream API error — headless runs now keep that text instead of erroring out empty. Copy-on-select inside GNU screen stopped printing base64 into the terminal and copies the selection again. Vim mode's on an empty prompt returns you to the agent view from NORMAL mode, not only from INSERT. Screen-reader mode stops rewriting the whole input line on every keystroke and echoes only the character you typed — a real accessibility win. The Fable model row no longer shows a stale "Requires usage credits" label for plans that include it, and Remote Control clients stop holding a stale fast-mode status after a model switch or reconnect.

New capability lands alongside the fixes. A sandbox.network.strictAllowlist setting denies non-allowlisted hosts for sandboxed commands outright, without a prompt. A DirectoryAdded hook fires after /add-dir (or an SDK repo-root registration) adds a working directory mid-session. Headless stream-json runs surface an mcp_server_errors list of --mcp-config entries dropped by validation — with a startup warning in terminal runs — and claude mcp list and /mcp now report the HTTP status and error text when a server fails to connect, plus a warning for config values with hidden leading or trailing whitespace. Dynamic workflows now default to a medium size guideline (aim for under 15 agents), tunable via a new workflowSizeGuideline settings key, and subagents can spawn nested subagents to depth 3 by default (was 1), disable with CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1.

The Undocumented Bit: CLAUDE_CODE_DISPATCH_V2S#

The one new environment variable the changelog never names is CLAUDE_CODE_DISPATCH_V2S, and the binary is specific about what it does. On a non-auxiliary first-party request the guard CLAUDE_CODE_DISPATCH_V2S ?? tengu_cedar_lattice decides whether to stamp the request header anthropic-dispatch-id: v2s (and logs [dispatch] sent anthropic-dispatch-id=v2s), sitting in the same request-setup path as the usage-limit and fallback-stamp headers. The env var wins if set; otherwise the code defers to the server-side GrowthBook gate tengu_cedar_lattice (default off).

The routing itself is not new. The anthropic-dispatch-id header, the v2s value, and the tengu_cedar_lattice gate all shipped in v2.1.218 — the header was already rolling out server-side by percentage flag. What v2.1.219 adds is the client escape hatch: CLAUDE_CODE_DISPATCH_V2S=1 forces anthropic-dispatch-id: v2s onto every request regardless of the flag, so a machine can opt into (or, set false, out of) the "v2s" dispatch path without waiting for the rollout. A dispatch id is how Anthropic's edge routes a request to a specific serving stack — so this is a new serving path being wired to a per-machine switch the same day Opus 5 becomes the model that runs through it.

What These Tell Us#

Opus 5 arrives as data, not code: a first-class registry entry with a full provider matrix, native 1M context, and its own pricing tier, promoted by flipping one alias default. That is why these model swaps stay low-risk — the outgoing model stays addressable for anyone who pins it, and Foundry still defaulting to Opus 4.6 in the same map shows the rollout is per-provider, not global. Around it, the release reads as maintenance-heavy in the best sense: a headless-output data-loss bug, a terminal-integration paper cut, a Vim navigation dead-end, and a screen-reader performance drag all closed in one build. A new flagship, deeper agent trees by default, and a per-machine switch onto a new serving path point at bigger and more nested runs; the fixes point at a team clearing the friction that shows up once people actually live in the tool.

This analysis is conducted for educational and research purposes under fair use principles. All trademarks and software referenced belong to their respective owners. This content is not intended to infringe on any intellectual property rights, circumvent any protections, or encourage unauthorized access to proprietary systems.

Sources#

  1. Claude Code Official Changelog — v2.1.219 release notes