Claude Sonnet 4

deprecatedproprietary

Succeeded by claude-sonnet-4-6

Intelligence
Reasoning
Speed
Context
200K
Max output
64K
Input price
$3/1M tokens
Output price
$15/1M tokens
Snapshots

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Model IDclaude-sonnet-4-0
Provider Anthropic
Creator anthropic
Licenseproprietary
Statusdeprecated
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window200K tokens
Max input—
Max output64K tokens
Reasoning tokens—
Thinking modesExtended
Knowledge cutoff
Training data cutoff
Release date—
Deprecation date
Retirement date
Priority tierYes
AWS Bedrock IDanthropic.claude-sonnet-4-20250514-v1:0
GCP Vertex IDclaude-sonnet-4@20250514
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs

Endpoints

MessagesPOST
Create messages with multi-turn conversationshttps://api.anthropic.com/v1/messages

Pricing

Input
$3
Output
$15
Cache write (5m)
$3.75
Cache write (1h)
$6
Cache read
$0.3
Batch in
$1.5
Batch out
$7.5

Family Comparison: claude-sonnet

ModelContextMax outPricing
Claude Sonnet 5.51M128K$2$10
Claude Sonnet 51M128K$2$10
Claude Sonnet 3.7——$3$15
Claude Sonnet 4200K64K$3$15
Claude Sonnet 4.5200K64K$3$15
Claude Sonnet 4.61M128K$3$15

API

GET/v1/models/anthropic/claude-sonnet-4-0

Claude Sonnet 4

deprecated
claude-sonnet-4-0
Changes · 13 entries
claude-sonnet-4-0updateca7a400Nov 2, 2026, 03:02 AM
tools["function_calling","computer_use","mcp"]→["function_calling"]
deprecation_date2026-04-14
retirement_date2026-06-15
successorclaude-sonnet-4-6
claude-sonnet-4-0updateab879c8Jun 18, 2026, 08:32 AM
tools["function_calling","computer_use","mcp"]→["function_calling"]
claude-sonnet-4-0update745e306Jun 10, 2026, 02:43 AM
deprecation_date2026-04-14
retirement_date2026-06-15
successorclaude-sonnet-4-6
claude-sonnet-4-0updateeab58fcApr 17, 2026, 02:18 AM
pricingcache write 1h$6
extended_thinkingyes
thinking_modes["extended"]
bedrock_idanthropic.claude-sonnet-4-20250514-v1:0
vertex_idclaude-sonnet-4@20250514
claude-sonnet-4-0update5b18252Apr 16, 2026, 07:01 AM
statusactive→deprecated
claude-sonnet-4-0update22fb110Apr 1, 2026, 10:05 AM
context_window1000000→200000
claude-sonnet-4-0updatef43e286Mar 24, 2026, 04:45 AM
capabilitiesstructured outputyesjson modeyesbatchyes
claude-sonnet-4-0update2b100acMar 23, 2026, 05:30 AM
licenseproprietary
open_weightno
page_urlhttps://docs.anthropic.com/en/docs/about-claude/models#cl...
claude-sonnet-4-0update7a4f1f6Mar 22, 2026, 05:43 AM
performance4
reasoning4
extended_thinkingyes
training_data_cutoff2025-03
priority_tieryes
model_typechat
claude-sonnet-4-0updateb50649fMar 21, 2026, 11:58 PM
tools["function_calling","computer_use","mcp"]
endpoints["messages"]
claude-sonnet-4-0update2801e21Mar 21, 2026, 07:41 PM
pricingcache write$3.75
claude-sonnet-4-0updatec9a70c5Mar 21, 2026, 08:12 AM
knowledge_cutoffJan 2025→2025-01
claude-sonnet-4-0create7f5c66fMar 21, 2026, 05:16 AM