Benchmarks

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%),...

Prompt $/1M
$3.000
Completion $/1M
$15.000
Context
1,000,000 tok
Best provider
45 tok/s · Anthropic

Specs

Model id
anthropic/claude-sonnet-4
Display name
Anthropic: Claude Sonnet 4
Modality
text+image+file->text
Tokenizer
Claude
Instruct type
Context length
1,000,000
Max completion
64,000
Prompt $/1M
$3.000
Completion $/1M
$15.000
Free tier
no

Capabilities

  • Function callingno
  • JSON modeno
  • System promptno
  • Visionno
  • Moderatedyes

Benchmark scores

Each axis is one benchmark, normalized to the best model in the field.

No benchmark data for this model.

Speed by provider

Providertok/s
Anthropicfastest45
Amazon Bedrockfastest41
Google37
Anthropic: Claude Sonnet 4 - Benchmarks, Pricing and Speed | TryAii