Model releaseReasoning models
Claude 4 (2025): Opus 4 and Sonnet 4 arrive with Claude Code
Event date
On 22 May 2025 Anthropic released Claude Opus 4 and Claude Sonnet 4, two hybrid models aimed at coding and long agentic work. The same day it made Claude Code generally available. It is on this timeline as the point where Anthropic's focus on coding agents became the centre of its model line.
Key numbers
- SWE-bench Verified, Opus 4, no extended thinking (Anthropic)
- 72.5%anthropic.com
- SWE-bench Verified, Sonnet 4, no extended thinking (Anthropic)
- 72.7%anthropic.com
- Opus 4 API price, input / output per million tokens
- $15 / $75anthropic.com
- Sonnet 4 API price, input / output per million tokens
- $3 / $15anthropic.com
What Anthropic released
Claude Opus 4 and Claude Sonnet 4 were announced on 22 May 2025. Both are hybrid models with two modes, near-instant responses and extended thinking. Sonnet 4 was an upgrade to Claude Sonnet 3.7. Opus 4 was priced at 15 US dollars per million input tokens and 75 dollars per million output tokens, and Sonnet 4 at 3 and 15 dollars, the same as Sonnet 3.7.
Both were available in the Claude apps for Pro, Max, Team and Enterprise plans, with Sonnet 4 also open to free users, and through the API, Amazon Bedrock and Google Cloud Vertex AI. Anthropic did not state parameter counts.
Sources: anthropic.com
What changed around the models
Anthropic described Opus 4 as the world's best coding model, which is the company's own claim. Claude Code left research preview and became generally available. It gained background tasks through GitHub Actions and beta extensions for VS Code and JetBrains, so the agent could run inside a developer's editor and continuous integration workflow.
Both models could also use tools, such as web search, during extended thinking, in a beta feature. That let the model alternate between reasoning and gathering information instead of finishing its thinking first. The pairing of a hybrid model with an agent product that had been in preview since February gave the release a clear focus on coding workflows.
Sources: anthropic.com
What Anthropic reported
Anthropic reported SWE-bench Verified scores without extended thinking of 72.5 per cent for Opus 4 and 72.7 per cent for Sonnet 4. With high compute, it reported 79.4 per cent and 80.2 per cent. These are Anthropic's figures, and the high-compute numbers use extra sampling that a normal single attempt does not.
Anthropic also said it implemented measures for higher AI Safety Levels, including ASL-3, with this release. Weeks later Moonshot's Kimi K2 model card listed the 72.5 and 72.7 figures as comparison points taken from Anthropic's reports, a sign of how quickly those numbers became a reference for open models.
Sources: anthropic.com, huggingface.co
What came next
The line continued with Claude Opus 4.5 in November 2025, priced at $5 and $25 per million tokens, a third of the Opus 4 price on this page. Alongside it Claude Code gained a Plan Mode that asks clarifying questions and builds an editable plan before acting, and became available in the desktop app for parallel sessions.
The llmsranked tracking set now lists later Claude generations. This page covers only the first release of the Claude 4 family. Anthropic's announcement of Claude 4 also remains the source for the original pricing and availability details above. The Opus 4.5 post is the source for that later price.
Sources: anthropic.com
Why it mattered
- It made coding and long-running agent work the stated purpose of the flagship models.
- It moved Claude Code from preview to general availability, with editor and GitHub integrations.
- It combined thinking and tool use in one pass, in a beta feature.
- It was announced with higher AI Safety Level measures in place, including ASL-3.
Questions
When was Claude 4 released?
What is the difference between Claude Opus 4 and Sonnet 4?
When did Claude Code become generally available?
About this page
Part of our LLM history timeline. The event happened on 22 May 2025; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our editorial policy. Found an error? Tell us and we will correct it with a dated note.