Claude Sonnet 4

by Anthropic

Claude Sonnet 4 is a significant upgrade to Claude Sonnet 3.7, reaching a state-of-the-art 72.7% on SWE-bench with stronger coding and reasoning. It balances capability with efficiency and responds more precisely to instructions for greater control over implementation. Sonnet 4 supports extended thinking with integrated tool use and parallel tool execution, enabling capable agentic workflows. It pairs vision with text analysis and shows substantial gains in multi-file development, with fewer navigation errors across a codebase. With a 200K token context window and support for tools, vision, and PDF processing, Sonnet 4 produces clean code with precise, surgical edits. It suits everyday applications that want near-frontier performance at practical efficiency.

Key info

Input
Output
Features
Context window
1M
Max output
64K

Benchmarks

Independent benchmark scores: the Intelligence Index and the individual evaluations behind it, grouped by skill.

Intelligence Index (previous version)18.9
Coding
LiveCodeBench
66%
Agentic & knowledge work
GDPval
10%
Terminal-Bench Hard
31%
τ²-Bench Telecom
65%
Science & reasoning
Humanity's Last Exam
11%
GPQA Diamond
78%
Long-context reasoning
70%
Knowledge
MMMU-Pro
62%
MMLU-Pro
84%
Math & instruction following
AIME 2025
74%
IFBench
55%

Available routes

No routes currently available — Claude Sonnet 4 isn't routed through the Opper gateway right now. It may return.

Contact us about this model →

Available models from Anthropic

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation