Anthropic

Claude Sonnet 4

API pricing, specifications, and comparison for Claude Sonnet 4 by Anthropic.
Input / 1M tokens
$3
Cached: $0.30
Output / 1M tokens
$15
Context Window
1M
Currency
USD

Capabilities

TextVisionFunction CallingStructured Output

Notes

The model Claude Code runs on by default. 200K standard context; 1M via long context (>200K billed at $6/$22.50). Prompt caching supported.