Back to Blog
Blog

Claude Sonnet 5: Benchmarks, Pricing, and What Developers Need to Know (2026)

Tony Spiro's avatar

Tony Spiro

June 30, 2026

Updated July 31, 2026

Hero image

Anthropic released Claude Sonnet 5 on June 30, 2026. This is the most capable and agentic Sonnet model yet, with performance approaching Opus 4.8 at significantly lower cost. Here's everything developers need to know.

Source: Anthropic, Introducing Claude Sonnet 5, published June 30, 2026.

Updated July 31, 2026: Anthropic has since shipped Claude Opus 5. If you are choosing between the two current-generation models for real work, read Claude Sonnet 5 vs Opus 5: A Real-World Comparison. Everything below covers Sonnet 5 as launched on June 30, 2026, and the benchmarks and pricing are unchanged.

Pricing note, August 2026: Sonnet 5 introductory pricing ends August 31, 2026. From September 1 the rate moves to $3 per million input tokens and $15 per million output tokens. Budget accordingly, details in the Pricing section below.

What Is Claude Sonnet 5?

Claude Sonnet 5 is Anthropic's latest mid-tier model, positioned between Haiku (fast, cheap) and Opus (most capable). Anthropic describes it as delivering near-Opus-4.8 performance at Sonnet pricing, with particular strength in agentic, multi-step tasks.

Sonnet 5 is the new default model for Free and Pro plans, and is also available on Max, Team, Enterprise, Claude Code, and the Claude API.

Benchmark Results

All figures are sourced directly from the official Anthropic announcement.

Claude Sonnet 5 benchmark comparison
  • SWE-bench Verified: 72.7% (Sonnet 4.6: 62.3% / Opus 4.8: 79.4%)
  • Terminal-bench: 76.1% (Sonnet 4.6: 55.4%), the biggest jump at +20.7 points
  • GPQA Diamond: 78.0% (Sonnet 4.6: 68.0%)
  • MMMU: 76.3% (Sonnet 4.6: 70.4%)
  • MathVista: 76.6% (Sonnet 4.6: 67.2%)
  • CharacterEval: 90.3% (Sonnet 4.6: 81.0%)

The Terminal-bench jump (+20.7 points) is the headline number for agent builders. It measures performance in real terminal environments on multi-step agentic coding tasks, exactly the workload Sonnet 5 is designed for.

Agentic Cost vs Performance

Claude Sonnet 5 agentic search: cost vs performance
Claude Sonnet 5 computer use: cost vs performance

The cost/performance charts show Sonnet 5 sitting in a compelling position: better than every previous Sonnet and Haiku on agentic tasks, at a fraction of Opus pricing. For teams running high-volume agent workflows, this is a meaningful efficiency improvement.

From the announcement:

"Claude Sonnet 5 can update Salesforce account tiers, send a launch announcement to enterprise contacts, and finish end to end."

Anthropic is explicitly positioning this as a model for real, multi-step autonomous work.

Pricing

All pricing from the official announcement.

Introductory pricing (through August 31, 2026):

  • Input: $2 per million tokens
  • Output: $10 per million tokens

Standard pricing (from September 1, 2026):

  • Input: $3 per million tokens
  • Output: $15 per million tokens

For reference:

  • Sonnet 4.6: $3 / $15 per million tokens
  • Opus 4.8: $5 / $25 per million tokens

That is a 50% increase on both input and output when the introductory window closes. A pipeline spending $400/month on Sonnet 5 input and output today will spend roughly $600/month from September 1 at identical volume. If you are running Sonnet 5 in production, model the new rate before the end of August.

Important tokenizer note: Sonnet 5 uses a new tokenizer. The same input can map to 1.0 to 1.35x more tokens than on previous models. Anthropic set introductory pricing to be roughly cost-neutral vs Sonnet 4.6 to account for this. Audit your token budgets before switching in production.

Safety

Claude Sonnet 5 misaligned behavior rates

Anthropic reports lower hallucination and sycophancy rates vs Sonnet 4.6. Cyber safeguards are on by default. The misaligned behavior rate chart above shows Sonnet 5 performing meaningfully better than predecessors across multiple safety dimensions.

What This Means for Developers Building Agents

A more capable agent model raises the bar on everything downstream. When a model can reliably complete a 10-step task end to end, the quality, structure, and governance of the content it reads and writes become the constraint.

That's where a structured content layer matters. With Cosmic, agents get:

  • Typed, queryable Objects instead of raw blobs
  • Draft-by-default writes with human approval before publish
  • Scoped API keys that limit what each agent can read or write
  • Full attribution tracking which agent wrote what, and when

The Cosmic for AI teams overview covers how that fits together: MCP server, TypeScript SDK, REST API, and agents that read and write your content directly.

Here's a minimal example of a Sonnet 5 agent reading and writing structured content:

import { createBucketClient } from '@cosmicjs/sdk'; import Anthropic from '@anthropic-ai/sdk'; const cosmic = createBucketClient({ bucketSlug: 'your-bucket-slug', readKey: 'your-read-key', writeKey: 'your-write-key', }); const anthropic = new Anthropic(); // Fetch structured content for the agent to act on const { objects } = await cosmic.objects .find({ type: 'articles', 'metadata.status': 'needs-update' }) .props('id,title,metadata.body,metadata.last_updated') .limit(5); // Run Sonnet 5 on each article for (const article of objects) { const message = await anthropic.messages.create({ model: 'claude-sonnet-5', max_tokens: 1024, messages: [{ role: 'user', content: `Update this article for accuracy and clarity:\n\n${article.metadata.body}` }] }); // Write back as draft, human approves before publish await cosmic.objects.updateOne(article.id, { metadata: { body: message.content[0].text, last_updated: new Date().toISOString(), status: 'pending-review', }, status: 'draft', }); }

The agent does the work. The content layer enforces the governance.

Should You Upgrade?

Yes, if:

  • You run multi-step agentic workflows where reliability matters
  • You want near-Opus quality at Sonnet pricing during the introductory window
  • You need stronger coding/terminal performance than Sonnet 4.6

Watch first:

  • Audit token budgets before switching. Up to 1.35x more tokens per prompt.
  • Test your agent loops. More capable models can interpret prompts differently. Validate before hard-switching in production.
  • Introductory pricing ends August 31, 2026. Run your cost model at $3/$15 before committing.

Where It Fits in the Claude Lineup

  • Claude Haiku: fastest, cheapest, high-volume simple tasks
  • Claude Sonnet 5: best cost/performance for agentic and complex tasks (new default)
  • Claude Opus 4.8: maximum capability for the hardest reasoning tasks at the time Sonnet 5 shipped
  • Claude Opus 5: Anthropic's current flagship, released after Sonnet 5. See Claude Sonnet 5 vs Opus 5 for a side-by-side on cost, speed, and where each one earns its price.

For a tier-level routing rule you can apply at any model version, read Claude Sonnet vs Opus: how to choose. To see which models are live in Cosmic today, read Claude Opus 5 is available in Cosmic.

For most developers building content-aware agents, Sonnet 5 at introductory pricing is now the obvious starting point. If you want to run either model against your own structured content, start free on Cosmic or book a walkthrough with our CEO.


Source: Anthropic, Introducing Claude Sonnet 5, June 30, 2026.

Build AI-powered content workflows with Cosmic

Your content layer for AI agents. Structured, versioned, queryable, and analytics-ready out of the box.

Hero image