Claude docs changes for February 18th, 2026 [diff]

Executive Summary

  • Claude Sonnet 4.6 launches as the new flagship balanced model, replacing Sonnet 4.5 as the default across Claude Code and the API. It supports adaptive thinking, 1M token context window (beta), and free code execution when paired with web tools.
  • Code execution, web fetch, web search, memory tool, programmatic tool calling, and tool search tool all graduate to general availability — no beta headers required.
  • Web search and web fetch now support dynamic filtering (beta): Claude can write and execute code to filter results before they reach the context window, improving accuracy and reducing token costs.
  • Claude Code 2.1.45 adds spinnerTipsOverride customization, SDKRateLimitInfo types, and fixes Agent Teams failures on Bedrock/Vertex/Foundry.
  • The legal and compliance docs now include an explicit Usage Policy section clarifying that OAuth tokens from Free/Pro/Max plans cannot be used in third-party products or the Agent SDK.

New Claude Code versions

2.1.45

New features

  • Added support for Claude Sonnet 4.6 as the new default model
  • Added support for reading enabledPlugins and extraKnownMarketplaces from --add-dir directories
  • Added spinnerTipsOverride setting to customize spinner tips — configure tips with an array of custom tip strings, and optionally set excludeDefault: true to show only your custom tips instead of the built-in ones
  • Added SDKRateLimitInfo and SDKRateLimitEvent types to the SDK, enabling consumers to receive rate limit status updates including utilization, reset times, and overage information

Existing feature improvements

  • Improved startup performance by removing eager loading of session history for stats caching
  • Improved memory usage for shell commands that produce large output — RSS no longer grows unboundedly with command output size
  • Improved collapsed read/search groups to show the current file or search pattern being processed beneath the summary line while active
  • [VSCode] Improved permission destination choice (project/user/session) to persist across sessions

Major bug fixes

  • Fixed Agent Teams teammates failing on Bedrock, Vertex, and Foundry by propagating API provider environment variables to tmux-spawned processes
  • Fixed sandbox "operation not permitted" errors when writing temporary files on macOS by using the correct per-user temp directory
  • Fixed Task tool (backgrounded agents) crashing with a ReferenceError on completion
  • Fixed autocomplete suggestions not being accepted on Enter when images are pasted in the input
  • Fixed skills invoked by subagents incorrectly appearing in main session context after compaction
  • Fixed excessive .claude.json.backup files accumulating on every startup
  • Fixed plugin-provided commands, agents, and hooks not being available immediately after installation without requiring a restart

Claude Code changes

Changed documents

Amazon Bedrock [Source]

  • Updated default primary model to claude-sonnet-4-6 (was claude-sonnet-4-5-20250929), reflected in the models table and example environment variable exports. [line 165] [Source]

CLI Reference [Source]

  • Updated the --model flag example to reference claude-sonnet-4-6. [line 48] [Source]

Costs [Source]

  • Updated average cost reference from Sonnet 4.5 to Sonnet 4.6. [line 3] [Source]

GitHub Actions [Source]

  • Updated all model references to claude-sonnet-4-6 in workflow examples (direct API and Bedrock). [lines 104, 123, 530, 658]

GitLab CI/CD [Source]

  • Updated Bedrock model ID example to us.anthropic.claude-sonnet-4-6 (simplified format without version suffix). [line 342] [Source]

Google Vertex AI [Source]

  • Updated default primary model to claude-sonnet-4-6 and noted that Sonnet 4.6 supports the 1M token context window on Vertex AI. [lines 95, 127]

Hooks [Source]

  • Updated SessionStart hook example payload to show claude-sonnet-4-6 as the model. [line 642] [Source]

Legal and Compliance [Source]

  • Added a new Usage Policy section covering acceptable use and authentication/credential restrictions. OAuth tokens from Free, Pro, or Max accounts are exclusively for Claude Code and Claude.ai and cannot be used in third-party tools or the Agent SDK. Developers building on Claude must use API key authentication. [lines 20-35] [Source]

MCP [Source]

  • Updated the featured MCP server list substantially — replaced niche/vertical integrations (Circleback, Clarify, Day AI, bioRxiv, ChEMBL, DevRev, etc.) with major platforms: Notion, Slack, Figma, Canva, Atlassian, Linear, Gamma, Sentry, Vercel, n8n, Hugging Face, Zapier, Stripe, Intercom, monday.com, ClickUp, Asana, Supabase, Amplitude, Box, PubMed, Miro, Cloudflare, Context7, Clay, Webflow, NetSuite, Ramp, and PayPal.

Microsoft Foundry [Source]

  • Updated default Sonnet model environment variable to claude-sonnet-4-6. [line 79] [Source]

Model Config [Source]

  • Updated sonnet alias description to reflect that it now points to Sonnet 4.6. [line 20] [Source]
  • Clarified default model behavior: Max and Team Premium now default to Opus 4.6; Pro and Team Standard now default to Sonnet 4.6. [lines 131-132] [Source]

Monitoring Usage [Source]

  • Updated all model identifier examples from claude-sonnet-4-5-20250929 to claude-sonnet-4-6 in telemetry attributes and event log schema. [lines 313, 322, 389, 407]

Settings [Source]

  • Updated model setting example to claude-sonnet-4-6. [line 150] [Source]
  • Updated auto-generated commit attribution footer to reference Claude Sonnet 4.6. [line 283] [Source]

API changes

Changed documents

Adaptive Thinking [Source]

  • Adaptive thinking is now supported on Claude Sonnet 4.6 in addition to Opus 4.6. [line 4] [Source]
  • Clarified that extended thinking with budget_tokens is deprecated on both Opus 4.6 and Sonnet 4.6 but remains functional. [line 16] [Source]
  • Clarified interleaved thinking availability by mode: automatic with adaptive thinking on both models; supported via beta header with manual mode on Sonnet 4.6; not available with manual mode on Opus 4.6. [lines 124-131] [Source]

Batch Processing [Source]

  • Added Claude Sonnet 4.6 to the Batch API pricing table at $1.50/$7.50 per MTok (input/output). [line 78] [Source]
  • Clarified that the Batch API is not covered by Zero Data Retention (ZDR) arrangements. [line 12] [Source]

Choosing a Model [Source]

  • Updated the model recommendation table: Sonnet 4.6 replaces Sonnet 4.5 with the description "Frontier intelligence at scale—built for coding, agents, and enterprise workflows." [line 58] [Source]

Code Execution Tool [Source]

  • Code execution is now generally available — beta header (code-execution-2025-08-25) is no longer required. All example requests updated accordingly. [line 2] [Source]
  • Code execution is now free when used with web search or web fetch (web_search_20260209 or web_fetch_20260209). [line 8] [Source]
  • Added Claude Sonnet 4.6 to the supported models table. [line 21] [Source]
  • Added platform availability section: available on Claude API and Microsoft Azure AI Foundry; not currently available on Amazon Bedrock or Google Vertex AI. [lines 35-42] [Source]
  • Clarified that code execution is not ZDR-eligible; data is retained per standard policy. [line 14] [Source]
  • Added code execution usage tracking example showing server_tool_use.code_execution_requests in the response. [lines 568-578] [Source]

Compaction [Source]

  • Clarified that the Compaction feature (beta) is not covered by ZDR arrangements. [line 13] [Source]

Context Windows [Source]

  • Claude Sonnet 4.6 added to the 1M token context window support list (beta for tier 4+ orgs). [line 90] [Source]
  • Sonnet 4.6 now features context awareness (tracks remaining token budget during long conversations), joining Sonnet 4.5 and Haiku 4.5. [line 122] [Source]

Effort [Source]

  • The effort parameter is now supported on Claude Sonnet 4.6 in addition to Opus 4.6 and Opus 4.5. [line 7] [Source]
  • Added recommended effort levels for Sonnet 4.6: medium (recommended default), low for latency-sensitive workloads, high for maximum intelligence. [lines 39-46] [Source]

Extended Thinking [Source]

  • Added Claude Sonnet 4.6 to the supported models list — supports both manual extended thinking with interleaved mode and adaptive thinking. [line 15] [Source]
  • Updated interleaved thinking documentation: Opus 4.6 automatically enables it with adaptive thinking (beta header deprecated); Sonnet 4.6 supports it via beta header with manual mode or automatically with adaptive thinking. [lines 277-285] [Source]
  • Updated comparison table to include Sonnet 4.6 column. [line 505] [Source]

Files [Source]

  • Clarified that the Files API (beta) is not covered by ZDR arrangements. [line 9] [Source]

Intro [Source]

  • Updated the featured model list: replaced Claude Sonnet 4.5 with Claude Sonnet 4.6 as the featured balanced model. [line 8] [Source]

MCP Connector [Source]

Memory Tool [Source]

  • Memory tool is now generally available — beta header (context-management-2025-06-27) is no longer required. [line 8] [Source]
  • Added Claude Sonnet 4.6 to the supported models list. [line 104] [Source]
  • Clarified that memory tool is ZDR-eligible. [line 10] [Source]

Migration Guide [Source]

  • Added a comprehensive new section: Migrating to Claude Sonnet 4.6, covering breaking changes (assistant prefilling removed, JSON escaping differences, tool version updates), recommended changes (remove fine-grained tool streaming beta header, migrate output_format), and detailed migration paths for extended thinking, adaptive thinking, and effort levels. [lines 158-330] [Source]
  • Clarified that the interleaved-thinking-2025-05-14 beta header deprecation applies to Opus 4.6 only; Sonnet 4.6 continues to support it. [line 43] [Source]

Model Deprecations [Source]

  • Added claude-sonnet-4-6 with Active status and a deprecation date not sooner than February 17, 2027. [line 69] [Source]

Models Overview [Source]

  • Claude Sonnet 4.6 replaces Sonnet 4.5 in the latest models comparison table. API ID is claude-sonnet-4-6. Adaptive thinking is now supported. Reliable knowledge cutoff is Aug 2025; training data cutoff is Jan 2026. [lines 15-29] [Source]

Overview (Build with Claude) [Source]

  • Code execution, memory, web fetch — updated to show GA status (no longer "Beta"). [lines 30-32] [Source]
  • Programmatic tool calling and tool search — updated to show GA status. [lines 52-53] [Source]
  • Updated code execution description: now "free when used with web search or web fetch." [line 30] [Source]

Pricing [Source]

  • Added Claude Sonnet 4.6 pricing: $3/$15 per MTok (input/output), same as Sonnet 4.5. [line 19] [Source]
  • Added Sonnet 4.6 to Batch API pricing table at $1.50/$7.50 per MTok. [line 98] [Source]
  • Added Sonnet 4.6 to long context pricing (supported with 1M token context window beta). [line 111] [Source]
  • Added Sonnet 4.6 to tool use system prompt token counts table. [line 179] [Source]
  • Expanded code execution pricing section to clarify free usage with web tools and added usage tracking example showing server_tool_use.code_execution_requests. [lines 210-230] [Source]

Programmatic Tool Calling [Source]

  • Programmatic tool calling is now generally available — beta header (advanced-tool-use-2025-11-20) is no longer required. All example requests updated accordingly. [line 2] [Source]
  • Added Claude Sonnet 4.6 to the supported models table. [line 18] [Source]
  • Clarified programmatic tool calling is not ZDR-eligible. [line 8] [Source]

Prompt Caching [Source]

  • Added Claude Sonnet 4.6 to the supported models list and pricing table. [lines 92, 121]
  • Added a note that prompt caching may be suitable for ZDR customers (it stores KV cache representations and hashes, not raw prompt text). [line 7] [Source]

Rate Limits [Source]

  • Updated Sonnet 4.x rate limit footnote to include Sonnet 4.6 in the combined traffic pool. [line 132] [Source]
  • Added Sonnet 4.6 to the long context rate limits section. [line 172] [Source]

Release Notes Overview [Source]

  • Added February 17, 2026 release notes: Sonnet 4.6 launch, code execution now free with web tools, web search and programmatic tool calling going GA, and additional tools graduating to GA. [lines 9-15] [Source]

Remote MCP Servers [Source]

  • Updated the remote MCP server examples list to feature major platforms: Notion, Slack, Figma, Canva, Linear, HubSpot, Gamma, Sentry, Vercel, n8n, Hugging Face, Granola, Zapier, Stripe, Intercom, monday.com, ClickUp, Asana, Supabase, Amplitude, Box, Miro, Cloudflare, Context7, Webflow, Netlify, and more.

Skills Guide [Source]

  • Clarified that the Skills feature (beta) is not ZDR-eligible. [line 12] [Source]

Tool Search Tool [Source]

  • Tool search tool is now generally available — beta headers removed from examples. [line 14] [Source]
  • Clarified ZDR status: server-side tool search is not ZDR-eligible; custom client-side implementations are. [line 16] [Source]

Web Fetch Tool [Source]

  • Web fetch tool is now generally available — beta header (web-fetch-2025-09-10) is no longer required. All example requests updated. [line 7] [Source]
  • Added Claude Sonnet 4.6 to the supported models list. [line 29] [Source]
  • Added new web_fetch_20260209 tool version supporting dynamic filtering (beta): use with code-execution-web-tools-2026-02-09 beta header to let Claude filter fetched content using code execution before it reaches the context window. [lines 49-92] [Source]
  • Clarified web fetch is ZDR-eligible. [line 10] [Source]

Web Search Tool [Source]

  • Web search tool is now generally available (no beta header required). [line 4] [Source]
  • Added Claude Sonnet 4.6 to the supported models list. [line 19] [Source]
  • Added new web_search_20260209 tool version supporting dynamic filtering (beta): Claude can write and execute code to post-process search results before they reach context, improving accuracy and reducing token costs. Requires code-execution-web-tools-2026-02-09 beta header. [lines 34-75] [Source]
  • Clarified web search is ZDR-eligible. [line 8] [Source]

What's New in Claude 4.6 [Source]

  • Added Claude Sonnet 4.6 (claude-sonnet-4-6) to the models table — supports 200K context (with 1M token beta), 64K max output, extended thinking, and adaptive thinking. [line 12] [Source]
  • Documented adaptive thinking support for Sonnet 4.6 including effort parameter recommendations. [lines 31-48] [Source]
  • Added new section: Code execution is now free with web tools when web_search_20260209 or web_fetch_20260209 is included in requests. [lines 42-45] [Source]
  • Added new section: Improved web search and web fetch with dynamic filtering (beta) — available for Opus 4.6 and Sonnet 4.6 via code-execution-web-tools-2026-02-09 beta header. [lines 48-52] [Source]
  • Added new section: Tools graduating to general availability: code execution, web fetch, programmatic tool calling, tool search, tool use examples, and memory tool. [lines 54-63] [Source]
  • Clarified that interleaved-thinking-2025-05-14 beta header is deprecated on Opus 4.6 but continues to be supported on Sonnet 4.6. [lines 101-103] [Source]

Zero Data Retention [Source]

  • Added web search, web fetch, memory tool, and client-side tool search to the ZDR-eligible features table. [lines 38-41] [Source]
  • Added code execution, programmatic tool calling, and server-side tool search to the not-ZDR-eligible table with retention policy details. [lines 50-52] [Source]