Claude Sonnet 5

by Anthropic

Released 21 days after Claude Fable 5 · All Anthropic releases

Claude Sonnet 5 arrived on June 30, 2026 as the strongest agent-focused Sonnet Anthropic has shipped, closing much of the gap to the Opus tier while remaining the balanced choice for everyday work. The release brought large gains over Sonnet 4.6 across coding and agent evaluations, with its biggest single jump coming on terminal-based agent benchmarks, and it extends the context window to 1 million tokens. Sonnet 5 excels at agentic coding, terminal-driven workflows, and tool-heavy pipelines where reliability per request matters as much as peak intelligence. Vision, PDF input, structured output, and native tool use make it a strong default for production assistants and multi-step automations that run at volume.

Call Claude Sonnet 5 on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
1M
Max output
64K
Input price
$2.00 /1M$0.20 cache read · $2.50 write
Output price
$10.00 /1M
Released
  • EU residency available
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Claude Sonnet 5 runs on 5 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$2.00$10.00$0.20$2.50 write
EUNo$2.20$11.00$0.22$2.75 write
MultiNo$2.00$10.00$0.20$2.50 write
MultiNo$2.00$10.00$0.20$2.50 write
EUNo$2.20$11.00$0.22$2.75 write

Uptime and availability

Claude Sonnet 5 runs on 4 independently monitored routes through the Opper gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 95.77% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
4 monitored providers serve Claude Sonnet 5.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Claude Sonnet 5 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Anthropic United States🇺🇸

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 730 days, a person can view samples
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

AWS Bedrock Sweden🇸🇪

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
Always on, keeps nothing
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Azure Multi-region

Zero data retention with abuse monitoring: nothing is logged or used for training; content flagged by abuse monitoring is held for review. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
With abuse monitoring, flagged content held.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, holds flagged content, 730 days, a person can view samples
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 90 days, a person can view samples
GDPR DPA
DPA available
Transfer mechanism
SCCs

Google Cloud European Union🇪🇺

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. EU; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 90 days, a person can view samples
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Global rank#46 of 644 LLMs
TierStrong
Output speed82 tok/s
First token118.14s
Intelligence Index38.2
Coding Index71.5
Reasoning & knowledge
GPQA Diamond
91%
Humanity's Last Exam
41%
Long-context reasoning
82%
Coding
SciCode
54%

Get started

Call Claude Sonnet 5 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Claude Sonnet 5 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "claude-sonnet-5",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare Claude Sonnet 5 with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Anthropic

Start building with 700+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation