Anthropic: Claude Sonnet 4

Released May 14, 2025|200K context|$3.00/M input tokens|$15.00/M output tokens

Claude Sonnet 4 is a significant upgrade from Sonnet 3.7, delivering superior coding and reasoning while responding more precisely to your instructions. This hybrid reasoning model excels at complex problem-solving, coding tasks, and extended thinking workflows with tool use capabilities.

Speed
Intelligence
Price (1M Tokens)$3.00
Inputs
TextImage
Outputs
Text

Pricing

Input
$3.00
Cached input
$0.30
Output
$15
Claude Sonnet 4
$3.00
GPT-4o
$2.50
GPT-4.1
$2.00

Use Case

Advanced Code Generation
Advanced AI capability for specialized tasks
Complex Problem Solving
Handle the most demanding tasks requiring frontier intelligence
Extended Reasoning Tasks
Advanced AI capability for specialized tasks
Computer Use and Automation
Work independently for hours on complex tasks
Multimodal Content Analysis
Conduct hours of independent research and analysis
Instruction Following
Advanced AI capability for specialized tasks

Features

Streaming
Support for streaming functionality.
Extended thinking
Hybrid reasoning with near-instant and extended modes
Tool use
Can use tools in parallel
System prompts
Support for system prompts functionality.
Vision
Process and understand visual content including images and documents.
JSON mode
Support for json mode functionality.
Function calling
Support for function calling functionality.