---
title: Claude 4 (2025): Opus 4 and Sonnet 4 arrive with Claude Code
url: https://llmsranked.com/history/claude-4/
updated: 2026-11-20
---

Model release· [Reasoning models](https://llmsranked.com/history/#era-reasoning)

# Claude 4 (2025): Opus 4 and Sonnet 4 arrive with Claude Code

Event date 22 May 2025

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.

- [Anthropic](https://llmsranked.com/providers/anthropic/)
- [LLMs Ranked editors](https://llmsranked.com/editorial-policy/)
- Published 20 Nov 2026
- 3 min read
- 3 sources

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

2025

On this page

- [Key numbers](#kn-h)
- [What Anthropic released](#what-anthropic-released)
- [What changed around the models](#what-changed-around-the-models)
- [What Anthropic reported](#what-anthropic-reported)
- [What came next](#what-came-next)
- [Why it mattered](#wm-h)
- [Questions](#hf-h)
- [On the timeline](#tl-h)
- [Sources](#hsrc-h)

## Key numbers

**SWE-bench Verified, Opus 4, no extended thinking (Anthropic)**
72.5%[anthropic.com](https://www.anthropic.com/news/claude-4)

**SWE-bench Verified, Sonnet 4, no extended thinking (Anthropic)**
72.7%[anthropic.com](https://www.anthropic.com/news/claude-4)

**Opus 4 API price, input / output per million tokens**
$15 / $75[anthropic.com](https://www.anthropic.com/news/claude-4)

**Sonnet 4 API price, input / output per million tokens**
$3 / $15[anthropic.com](https://www.anthropic.com/news/claude-4)

## 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](https://www.anthropic.com/news/claude-4)

## 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](https://www.anthropic.com/news/claude-4)

## 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](https://www.anthropic.com/news/claude-4), [huggingface.co](https://huggingface.co/moonshotai/Kimi-K2-Instruct)

## 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](https://www.anthropic.com/news/claude-opus-4-5)

## 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? Anthropic released Claude Opus 4 and Claude Sonnet 4 on 22 May 2025.

What is the difference between Claude Opus 4 and Sonnet 4? Opus 4 was positioned as the stronger coding model and cost five times as much per token. Sonnet 4 was the upgrade to Sonnet 3.7 and was available to free users as well.

When did Claude Code become generally available? Anthropic announced general availability on 22 May 2025, together with the Claude 4 release.

## About this page

Part of our [LLM history timeline](https://llmsranked.com/history/). 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](https://llmsranked.com/editorial-policy/). Found an error? [Tell us](https://llmsranked.com/contact/) and we will correct it with a dated note.

## On the timeline

[Earlier29 Apr 2025
Qwen3 (2025): Alibaba's open models with a thinking switch](https://llmsranked.com/history/qwen3/)[LaterJul 2025
Kimi K2 (2025): Moonshot AI's one trillion parameter open model](https://llmsranked.com/history/kimi-k2/)

### Related milestones

- [2025 · 02Claude 3.7 Sonnet and Claude Code (2025): hybrid reasoning](https://llmsranked.com/history/claude-3-7-sonnet-and-claude-code/)
- [2024 · 06Claude 3.5 Sonnet (2024): a mid-tier model beats Opus](https://llmsranked.com/history/claude-3-5-sonnet/)
- [2025 · 08GPT-5 (2025): one system with a router and a thinking model](https://llmsranked.com/history/gpt-5/)
- [2025 · 07Kimi K2 (2025): Moonshot AI's one trillion parameter open model](https://llmsranked.com/history/kimi-k2/)
- [2025 · 11Claude Opus 4.5 (2025): a cheaper Opus with an effort control](https://llmsranked.com/history/claude-opus-4-5/)

## Terms and labs

- [Coding agent](https://llmsranked.com/glossary/#coding-agent)
- [SWE-bench Verified](https://llmsranked.com/glossary/#swe-bench-verified)
- [Tool use](https://llmsranked.com/glossary/#tool-use)
- [Safety framework](https://llmsranked.com/glossary/#safety-framework)
- [Reasoning model](https://llmsranked.com/glossary/#reasoning-model)
- [Anthropic models](https://llmsranked.com/providers/anthropic/)

## Sources

Papers and announcements we read for this page.

- [Anthropic, Introducing Claude 4 (22 May 2025)](https://www.anthropic.com/news/claude-4)
- [Anthropic, Introducing Claude Opus 4.5](https://www.anthropic.com/news/claude-opus-4-5)
- [Hugging Face, Kimi-K2-Instruct model card](https://huggingface.co/moonshotai/Kimi-K2-Instruct)
