← model directory

anthropic

Anthropic: Claude Sonnet 4

anthropic/claude-sonnet-4

Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...

specs & pricing
Type
text
Provider
anthropic
Model ID
anthropic/claude-sonnet-4
Capabilities
vision, tools, reasoning
Context window
1M tokens
Input price
$3.30 / 1M tokens
Output price
$16.50 / 1M tokens

Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.