Claude 4 Released: Architecture, Specs, and Migration Guide
Anthropic released Claude 4 (Opus 4 and Sonnet 4) with extended thinking. Review launch benchmarks, retirement dates, and Claude 5.5 migration paths.
Anthropic released the Claude 4 family (Claude Opus 4 and Claude Sonnet 4) on May 22, 2025 with hybrid extended thinking, 200,000-token context windows, and 72.7% SWE-bench Verified coding accuracy. In late 2026, original Claude 4.0 API endpoints are officially retired, making migration to Claude Sonnet 5.5, Claude Opus 5.5, Claude Haiku 5.5, and Claude Fable 5.2 mandatory for production engineering teams.
Upgrading from retired Claude Opus 4 ($15.00 input and $75.00 output per million tokens) to Claude Opus 5.5 ($4.00 input and $20.00 output) cuts standard token rates by 73% while expanding context fivefold to 1 million tokens. Teams maintaining legacy integrations must also resolve breaking schema shifts, including rejected sampling flags and adaptive thinking payloads.
Key Takeaways
- Claude Opus 4 ($15/$75 per 1M tokens, 32K max output) and Claude Sonnet 4 ($3/$15 per 1M tokens, 64K max output) launched on May 22, 2025 with 200K context windows and hybrid extended thinking.
- Anthropic retired original Claude 4.0 snapshots (
claude-opus-4-20250514andclaude-sonnet-4-20250514) on June 15, 2026, followed by Claude Opus 4.1 in August 2026 and Claude Sonnet 4.5 on November 30, 2026.- Upgrading from Claude Opus 4 to Claude Opus 5.5 cuts input pricing by 73%, expands context to 1M tokens, and reaches 89.9% on SWE-bench Pro.
- Migrating Claude 4 codebases to Claude 5.5 requires deleting deprecated
temperatureandtop_pfields, switching from manualbudget_tokensto adaptive thinking, and replaying unmodified thinking blocks across tool turns.
What Did Anthropic Claude 4 Introduce and What Is Its Lifecycle Status?
Anthropic launched Claude Opus 4 and Claude Sonnet 4 on May 22, 2025 to replace single-pass chat completions with hybrid reasoning and tool-interleaved execution. On Anthropic-operated APIs, those original Claude 4.0 endpoints retired permanently on June 15, 2026, so live applications must route to Claude 5.5 or Claude Fable 5.2.
Understanding the Claude 4 release architecture still matters when auditing legacy codebases, benchmarking token economics, or refactoring older agent SDK pipelines. Many repositories on GitHub and internal enterprise services continue to reference retired 2025 snapshot strings or manual thinking flags that now trigger runtime errors.
Core Architectural Shifts from Claude 3.7 to Claude 4
Before Claude 4, developers had to choose between fast non-reasoning models and slow standalone reasoning runs that finished thinking before touching external tools. According to the Anthropic Introducing Claude 4 Announcement, Opus 4 and Sonnet 4 unified both behaviors inside a single model architecture.
Both models introduced dual-mode inference: near-instant responses for low-latency completions and explicit extended thinking for multi-file debugging. Standardized 200,000-token context windows removed early memory ceilings, complementing broader engineering strategies for LLM context window limits.
Claude 4 also paired reasoning with local memory file persistence and parallel tool execution inside the general availability launch of Claude Code. That combination shifted Anthropic from conversational prose generation toward long-running autonomous software engineering loops.
Official Claude 4 Deprecation and Retirement Timeline
Anthropic enforces a four-stage model lifecycle across its direct API, Claude Platform on AWS, Anthropic-managed Google Cloud models, and Microsoft Foundry: Active, Legacy, Deprecated, and Retired. Once a model crosses into Retired status, direct API calls fail immediately with 404 not_found_error.
The schedule below tracks every Claude 4 generation milestone verified in the Anthropic Model Deprecations Documentation:
| Model Generation | Primary API Identifier | Current Status | Hard Retirement Date | Recommended Replacement |
|---|---|---|---|---|
| Claude Opus 4.0 | claude-opus-4-20250514 |
Retired | June 15, 2026 | claude-opus-5-5 |
| Claude Sonnet 4.0 | claude-sonnet-4-20250514 |
Retired | June 15, 2026 | claude-sonnet-5-5 |
| Claude Opus 4.1 | claude-opus-4-1-20250805 |
Retired | August 5, 2026 | claude-opus-5-5 |
| Claude Sonnet 4.5 | claude-sonnet-4-5-20250929 |
Retired | November 30, 2026 | claude-sonnet-5-5 |
| Claude Opus 4.5 | claude-opus-4-5 |
Deprecated | January 22, 2027 | claude-opus-5-5 |
Partner-managed cloud endpoints on Amazon Bedrock and Google-managed Vertex AI maintain independent deprecation windows set by each cloud provider. Even on third-party clouds, teams should schedule upgrades off Claude 4.x before partner retirement cutoffs eliminate fallback capacity.
[!WARNING] Do not rely on unpinned model aliases if your compliance pipeline requires reproducible JSON parsing. Always pin explicit production identifiers like
claude-sonnet-5-5orclaude-opus-5-5and monitor Anthropic deprecation headers in CI.
Claude Opus 4 vs Sonnet 4 vs Claude 5.5: Specs, Benchmarks, and Pricing
When comparing Claude Opus 4 vs Sonnet 4 against late-2026 Claude 5.5 successors, the performance and pricing jump is dramatic. Claude Opus 5.5 reduces standard input token pricing by 73% ($4.00 vs $15.00 per million tokens) while lifting context capacity from 200K to 1 million tokens and reaching 89.9% on SWE-bench Pro.
Developers who remember Claude 4 launch rates often overestimate Anthropic API costs today. Lower per-token rates across Haiku 5.5, Sonnet 5.5, and Opus 5.5 change how teams design multi-agent routing and automated test generation.
Historical Claude Opus 4 vs Claude Sonnet 4 Capabilities
At launch in May 2025, Anthropic segmented the generation into two distinct pricing and output tiers. Claude Opus 4 carried flagship rates of $15.00 per million input tokens and $75.00 per million output tokens with a 32,000-token output ceiling and 72.5% SWE-bench Verified accuracy.
Claude Sonnet 4 offered fivefold lower token pricing at $3.00 input and $15.00 output per million tokens, paired with a larger 64,000-token max output ceiling. Surprisingly to many engineering teams, Sonnet 4 achieved 72.7% on SWE-bench Verified, matching Opus 4 on single-attempt repository patches while running faster in IDE loops.
Opus 4 justified its 5x price premium mainly on sustained multi-hour agent trajectories where long-horizon coherence prevented architectural drift. Sonnet 4 handled everyday pull request reviews, unit test synthesis, and high-throughput code generation.
How Claude 5.5 and Fable 5.2 Upgrade Performance and Unit Economics
Anthropic’s current lineup in late 2026 spans four core production tiers: Claude Haiku 5.5, Claude Sonnet 5.5, Claude Opus 5.5, and Claude Fable 5.2. Every tier supports a 1 million token context window and adaptive reasoning, verified across the Anthropic Models Overview Documentation.
The Anthropic Claude Sonnet 5.5 Release Overview reports 81.3% accuracy on SWE-bench Pro and 80.1% on OSWorld 2.1, while the Anthropic Claude Opus 5.5 Release Overview records 89.9% on SWE-bench Pro and 81.8% on OSWorld 2.1. Meanwhile, Claude Haiku 5.5 achieves 39.2% on Terminal-Bench 4.0 and 72.4% on OSWorld 2.1 at sub-dollar pricing.
Figure 2: Production workload routing from retired Claude 4 IDs to Claude 5.5 and Fable 5.2 models.
The table below contrasts historical Claude 4 launch specs against current Anthropic production models:
| Model | Lifecycle Status | Context / Max Output | Input / Output (per 1M) | Verified Coding Benchmark | Best Production Use Case |
|---|---|---|---|---|---|
| Claude Opus 4 | Retired (June 15, 2026) | 200K / 32K tokens | $15.00 / $75.00 | 72.5% SWE-bench Verified | Legacy flagship baseline (must migrate) |
| Claude Sonnet 4 | Retired (June 15, 2026) | 200K / 64K tokens | $3.00 / $15.00 | 72.7% SWE-bench Verified | Legacy balanced coding (must migrate) |
| Claude Haiku 5.5 | Active (claude-haiku-5-5) |
1M / up to 64K+ | $0.10 / $0.50 (<=100K) | 39.2% Terminal-Bench 4.0 | High-volume triage, routing, subagents |
| Claude Sonnet 5.5 | Active (claude-sonnet-5-5) |
1M / up to 128K | $2.00 / $10.00 | 81.3% SWE-bench Pro | Daily agentic coding and API automation |
| Claude Opus 5.5 | Active (claude-opus-5-5) |
1M / up to 128K | $4.00 / $20.00 | 89.9% SWE-bench Pro | Deep multi-file refactoring and architecture |
| Claude Fable 5.2 | Active (claude-fable-5-2) |
1M / up to 128K | $8.00 / $40.00 | Top-tier SWE-bench Pro | Peak scientific reasoning and long horizons |
Notice how Haiku 5.5 introduces tiered pricing past 100,000 input tokens ($0.50 input and $2.50 output above 100K), keeping short subagent loops remarkably cheap. Teams comparing cross-vendor costs can examine our OpenAI vs Claude vs Gemini API comparison to benchmark Sonnet 5.5 against GPT-6.2 Sol and Gemini 4 Neon.
Extended Thinking, Interleaved Tool Use, and Adaptive Reasoning Mechanics
Claude 4 transformed tool-augmented agents by allowing internal reasoning chains to interleave directly between tool invocations within a single assistant turn. Instead of committing to an entire plan upfront, the model inspects intermediate tool_result outputs inside new thinking blocks before selecting its next action.
That execution model solved a major failure mode in early reasoning systems. Previously, if a database query returned an unexpected schema error, a non-interleaved model could not re-enter deep reasoning until the next user turn.
How Interleaved Thinking Alternates Reasoning and Tool Execution
In the May 2025 architecture, enabling interleaved thinking (often paired with beta header interleaved-thinking-2025-05-14 on early snapshots) produced a multi-step sequence inside one turn. First, the model emitted a signed thinking block to plan its investigation, followed by one or more tool_use JSON payloads.
Figure 1: Anatomy of an interleaved thinking turn showing signed reasoning blocks, parallel tool calls, and result replay.
Once your application executed those external commands and returned tool_result messages, Claude generated another thinking block to interpret errors, compare stack traces, or pivot strategies. According to the Anthropic Extended Thinking Documentation, every thinking block carries a cryptographic signature field that verifies reasoning integrity.
Applications must pass every unmodified thinking block and its signature back into the conversation array alongside subsequent tool_result turns. Stripping or summarizing those blocks breaks continuity and triggers immediate API validation failures.
Manual Thinking Budgets vs Claude 5.5 Adaptive Effort Scaling
Claude 4 exposed reasoning depth through manual flags: developers passed "thinking": {"type": "enabled", "budget_tokens": 4000} or toggled "type": "disabled" for fast turns. That required hardcoding fixed token ceilings per route and ensuring max_tokens always stayed strictly above budget_tokens.
Claude 5.5 retires rigid manual budgets in favor of adaptive thinking ("thinking": {"type": "adaptive"}) paired with an output_config.effort setting (low, medium, high, or max). Rather than burning fixed reasoning tokens on trivial queries or starving hard architecture reviews, the model allocates thought tokens dynamically per prompt.
Adaptive thinking also tightens API constraints around deterministic sampling. Developers who previously paired manual temperature=0.0 with tool calls must transition control to system prompt instructions and strict JSON schemas, a pattern covered in our Claude Agent SDK vs LangGraph comparison.
Migrating Python Code from Retired Claude 4 APIs to Claude Sonnet 5.5
Upgrading legacy Claude 4 Python code to Claude Sonnet 5.5 or Claude Opus 5.5 is not a one-line string replacement. Removing deprecated sampling flags, migrating to adaptive thinking, and preserving thinking signatures in parallel tool loops are all required to pass API schema checks.
Before editing application handlers, verify that your environment runs an updated anthropic Python SDK release supporting output_config and adaptive thinking types. Older SDK versions reject newer response block schemas during Pydantic validation.
Replacing Retired Model IDs and Deprecated Sampling Flags
The snippet below illustrates a legacy Claude 4 request pattern that now fails in production against Anthropic-operated endpoints. Notice the retired claude-sonnet-4-20250514 identifier, the temperature=0.0 override, and the manual budget_tokens block:
import anthropic
client = anthropic.Anthropic()
# DEPRECATED PATTERN: Fails on retired 4.0 IDs and triggers HTTP 400 on Claude 5.5
response = client.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=8000,
temperature=0.0,
thinking={"type": "enabled", "budget_tokens": 4000},
messages=[
{"role": "user", "content": "Audit this PostgreSQL transaction for lock contention."}
],
)
In this legacy payload, claude-sonnet-4-20250514 returns a 404 not_found_error after the June 15, 2026 retirement cutoff. Even if you swap the model string to claude-sonnet-5-5, leaving temperature=0.0 or manual budget_tokens in place triggers an HTTP 400 rejection on Claude 5.5 endpoints.
The updated production snippet below replaces the retired model ID with claude-sonnet-5-5, strips temperature, enables adaptive thinking, and expands max_tokens to accommodate reasoning overhead:
import anthropic
client = anthropic.Anthropic()
# CURRENT PRODUCTION PATTERN: Claude Sonnet 5.5 with adaptive thinking
response = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=32000,
thinking={"type": "adaptive"},
output_config={"effort": "high"},
system="Be deterministic and concise. Return findings as structured bullet points.",
messages=[
{"role": "user", "content": "Audit this PostgreSQL transaction for lock contention."}
],
)
for block in response.content:
if block.type == "thinking":
print("[Thinking Summary Length]:", len(block.thinking))
elif block.type == "text":
print(block.text)
Setting output_config={"effort": "high"} scales reasoning depth automatically without locking your budget to a static integer. Raising max_tokens to 32000 (or 64000 for deep refactoring) prevents premature truncation because thinking tokens count directly toward output token limits.
Handling Adaptive Thinking and Parallel Tool Loops in Python
Opus 4 and Sonnet 4 popularized parallel tool calls, allowing the model to emit multiple independent tool_use blocks in one assistant message. That behavior carries forward into Claude 5.5, where preserving unmodified assistant content blocks (including signed thinking blocks) during concurrent execution is mandatory.
The Python loop below demonstrates an async-ready pattern that executes every returned tool_use call and replays the exact response.content array back to claude-sonnet-5-5:
import json
import anthropic
client = anthropic.Anthropic()
def inspect_file(path: str) -> str:
return json.dumps({"path": path, "status": "ok", "lines": 142})
TOOL_REGISTRY = {"inspect_file": inspect_file}
tools = [
{
"name": "inspect_file",
"description": "Read file metadata and line counts from the repository.",
"input_schema": {
"type": "object",
"properties": {"path": {"type": "string"}},
"required": ["path"],
},
"cache_control": {"type": "ephemeral"},
}
]
messages = [{"role": "user", "content": "Inspect src/db.py and src/auth.py in parallel."}]
while True:
response = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=16000,
thinking={"type": "adaptive"},
output_config={"effort": "medium"},
tools=tools,
messages=messages,
)
# Preserve complete unmodified content (thinking + signature + tool_use blocks)
messages.append({"role": "assistant", "content": response.content})
if response.stop_reason != "tool_use":
final_text = "".join(b.text for b in response.content if b.type == "text")
print(final_text)
break
tool_results = []
for block in response.content:
if block.type == "tool_use":
fn = TOOL_REGISTRY.get(block.name)
result = fn(**block.input) if fn else json.dumps({"error": "unknown tool"})
tool_results.append({
"type": "tool_result",
"tool_use_id": block.id,
"content": result,
})
messages.append({"role": "user", "content": tool_results})
Appending response.content directly preserves every thinking block and its cryptographic signature automatically. For streaming handlers, TypeScript equivalents, and retry decorators, consult our collection of Claude API Python and TypeScript snippets.
Prompt Caching, Message Batches, and Claude Code Ecosystem Economics
Moving off legacy 2025 snapshots cuts baseline token prices substantially, yet uncached 1M-token prompts or synchronous batch jobs still inflate monthly infrastructure bills. Pairing prompt caching (cache_control), the Message Batches API, and Claude Code with MCP unlocks enterprise unit economics across agentic pipelines.
Engineering teams frequently evaluate the Claude API vs OpenAI API for coding agents based on cache predictability. Anthropic gives callers explicit breakpoint control rather than relying exclusively on opaque automatic prefix matching.
Prompt Caching Breakpoints and Batch API Unit Economics
As documented in the Anthropic Prompt Caching Documentation, placing cache_control: {"type": "ephemeral"} at the end of tool definitions, system prompts, or large repository files caches the static prefix in provider memory. Cache reads deliver up to a 90% discount across standard tiers, dropping Claude Sonnet 5.5 cached reads to $0.10 per million tokens and Claude Opus 5.5 or Fable 5.2 reads to $0.20 per million tokens.
When running offline evaluations, security scans, or dataset labeling that can wait up to 24 hours, the Message Batches API applies a flat 50% discount on both input and output tokens. Combining tiered model routing with caching and batching reduces blended token spend dramatically without sacrificing frontier accuracy.
| Optimization Lever | Configuration Mechanism | Quantified Cost & Latency Impact | Primary Target Workload |
|---|---|---|---|
| Ephemeral Prompt Caching | Attach cache_control: {"type": "ephemeral"} to tools/system prefix |
Up to 90% read discount ($0.10/M on Sonnet 5.5) and lower TTFT | Multi-turn coding loops and large tool schemas |
| Message Batches API | Submit async jobs to /v1/messages/batches |
Flat 50% discount across all input and output token tiers | Nightly repo audits, eval suites, bulk extraction |
| Adaptive Effort Scaling | Set output_config.effort to low or medium on routine steps |
Cuts wasted reasoning output tokens on straightforward tasks | Triage steps, formatting, single-file edits |
| Tiered Subagent Routing | Route search/parsing to claude-haiku-5-5 ($0.10/$0.50 <=100K) |
Keeps high-frequency subagent orchestration under pennies | Parallel file indexing and log classification |
Keep cacheable prefixes byte-identical from the start of tools through system to the marked message breakpoint. Injecting dynamic timestamps or random request IDs at the top of a system prompt invalidates the entire downstream cache prefix.
Claude Code, Claude Cowork, and Model Context Protocol Integration
Claude 4 marked the general availability launch of Claude Code, Anthropic’s autonomous terminal agent that edits files, executes test suites, and resolves Git conflicts directly inside developer shells. Today, Claude Code runs natively on Sonnet 5.5, Opus 5.5, and Fable 5.2, taking advantage of 1M-token repository context and fewer wasted agent steps.
For non-terminal workflows, the Anthropic Claude Cowork desktop environment brings comparable file, spreadsheet, and workspace automation to cross-functional engineering and operations teams. Both environments connect to external tools through the open Model Context Protocol Specification.
By standardizing JSON-RPC tool discovery over stdio and streamable HTTP, MCP eliminates bespoke wrapper glue between Claude agents and Postgres databases, GitHub repositories, or observability stacks. Teams upgrading from custom 2025 tool adapters can replace brittle glue code with reusable MCP servers.
Production Troubleshooting: Retired Endpoints, HTTP 400s, and Silent Failures
Migrating production services off retired Claude 4 endpoints surfaces several deterministic HTTP errors and two subtle runtime regressions. Auditing every request builder and streaming parser against these failure modes prevents silent data loss after deployment.
Figure 3: Five-tier hardening checklist for migrating Claude 4 integrations to Claude 5.5.
Teams often assume a provider major-version upgrade only requires swapping a model string in an environment variable. In practice, stricter validation rules in Claude 5.5 expose hidden shortcuts that older 2025 endpoints silently tolerated.
Resolving 404 Model Retirements and 400 Parameter Rejections
When an unmigrated worker calls claude-opus-4-20250514 or claude-sonnet-4-20250514 on Anthropic’s API, requests fail immediately with 404 not_found_error. Updating the model ID to claude-sonnet-5-5 or claude-opus-5-5 clears the 404, but frequently exposes secondary HTTP 400 schema errors.
Specifically, Claude 5.5 rejects explicit temperature, top_p, and top_k parameters, rejects "thinking": {"type": "disabled"}, and forbids "tool_choice": {"type": "any"} during active thinking. On intermediate 4.x models that still accept manual budgets, setting max_tokens equal to or below budget_tokens also fails validation immediately.
Use the remediation matrix below to diagnose and resolve migration errors during rollout:
| Error Symptom / HTTP Code | Exact Root Cause | Production Remediation Fix |
|---|---|---|
404 not_found_error |
Calling retired claude-sonnet-4-0, claude-opus-4-0, 4.1, or 4.5 ID |
Pin claude-sonnet-5-5, claude-opus-5-5, or claude-haiku-5-5 |
400 on temperature / top_p |
Sampling overrides sent to Claude 5.5 adaptive thinking endpoint | Delete temperature, top_p, and top_k from request payloads |
400 on thinking.type |
Passing "disabled" or manual budget_tokens to Claude 5.5 |
Switch to {"type": "adaptive"} and tune output_config.effort |
max_tokens <= budget_tokens |
Legacy manual budget exceeds total output allocation on 4.x models | Raise max_tokens above budget_tokens or upgrade to adaptive mode |
tool_choice: any unsupported |
Forced tool selection combined with extended or adaptive thinking | Change tool_choice to "auto" or "none" and guide via schema |
Diagnosing Thinking Signature Failures and Tokenizer Drift
Two silent issues can degrade agent behavior even when API calls return HTTP 200. First, if middleware strips thinking blocks or alters their signature strings before appending tool_result turns, Anthropic rejects the continuation turn with a signature validation error.
Second, streaming parsers built for 2025 Anthropic snapshots sometimes read only top-level text deltas between tool calls. In Claude 5.5, intermediate reasoning between tool steps lives inside thinking blocks, making legacy progress logs appear blank unless your parser inspects thinking_delta events.
Finally, the Claude 5.5 tokenizer produces roughly 30% higher token counts on identical input strings compared to Claude 4. Even though list prices per million tokens dropped significantly, verify max_tokens ceilings and token-budget alerts against live production traffic so long agent trajectories do not hit early truncation.
[!TIP] Run a shadow replay of 200 real production prompts against
claude-sonnet-5-5before cutting over live traffic. Compare measuredinput_tokens,output_tokens, and JSON schema pass rates to calibrate yourmax_tokensandeffortdefaults accurately.
Frequently Asked Questions
When was Claude 4 released and what models did it include?
Anthropic released the Claude 4 generation on May 22, 2025, introducing Claude Opus 4 for complex software engineering and Claude Sonnet 4 for balanced daily coding. Both models launched with 200,000-token context windows, hybrid extended thinking, and parallel tool execution.
Is Claude 4 still active or has Anthropic retired it?
Anthropic officially retired the original Claude Opus 4 and Claude Sonnet 4 snapshots on June 15, 2026 across Anthropic-operated APIs, followed by Claude Sonnet 4.5 on November 30, 2026. Production workloads must migrate to Claude Sonnet 5.5, Claude Opus 5.5, Claude Haiku 5.5, or Claude Fable 5.2, though partner clouds like Amazon Bedrock follow separate deprecation timelines.
What is the difference between Claude 4 extended thinking and Claude 5.5 adaptive thinking?
Claude 4 used manual extended thinking where developers toggled reasoning on or off and set an explicit budget_tokens ceiling. Claude 5.5 replaces manual toggles with always-on adaptive thinking controlled through output_config.effort, scaling internal reasoning depth dynamically per prompt.
How do Claude Opus 4 and Sonnet 4 prices compare to Claude 5.5?
Claude Opus 4 launched at $15.00 per million input tokens and $75.00 per million output tokens, whereas Claude Opus 5.5 lowers rates to $4.00 input and $20.00 output. Similarly, Claude Sonnet 5.5 drops standard pricing to $2.00 input and $10.00 output compared to Claude Sonnet 4 at $3.00 and $15.00.
Why does migrating from Claude 4 to Claude 5.5 trigger HTTP 400 temperature errors?
Claude 5.5 endpoints and current Anthropic SDK releases reject explicit temperature, top_p, and top_k overrides during adaptive thinking with HTTP 400 validation errors. Developers must remove sampling parameters from request payloads and enforce determinism through system instructions and structured output schemas.
How does interleaved thinking with tool use work in the Claude API?
Interleaved thinking lets Claude generate internal reasoning blocks, invoke external tools, inspect returned tool_result payloads, and resume thinking before producing a final response. Applications must pass every unmodified thinking block and its cryptographic signature back into subsequent assistant messages to avoid validation errors.
Which Claude 5.5 model should replace Claude Sonnet 4 in production?
Claude Sonnet 5.5 (claude-sonnet-5-5) is the direct production successor to Claude Sonnet 4, delivering 81.3% on SWE-bench Pro and a 1M-token context window at $2.00 per million input tokens. High-volume subagents or classification pipelines can step down to Claude Haiku 5.5 at $0.10 per million input tokens up to 100K tokens.