Claude Sonnet 5
anthropic/claude-sonnet-5
Back to model catalog

Anthropic · Model guide

Claude Sonnet 5

Compare
anthropic/claude-sonnet-5

The Sonnet of the fifth generation, built for agents that plan, drive browsers and terminals, and run without supervision. It carries the same five effort levels as Opus 5 and lands close to Opus 4.8 on Anthropic's agentic evaluations.

Modalities
TextImageText
Context
1M
Max output
128K
Price / 1M tokens
$ 2.00in$ 10.00out
StreamingTool callingJSON outputImage inputThinking mode · can be turned off

What this model is good at

What the vendor positions it for, and which of our models to reach for instead.

VendorClaude Sonnet 5 is built to be the most agentic Sonnet model yet.source

Best for
  • Agentic coding · Anthropic reports sustained autonomous coding and tool use close to Opus 4.8.(vendor claim)source

  • High-volume agent workloads · Its effort ladder reaches down to low, which Anthropic recommends for high-volume and latency-sensitive work.(vendor claim)source

Neighbouring models
Compare them side by side →

Pricing and billing

Billed per token. Cached input is charged at the cache-read rate.

Price / 1M tokensYou pay
Input$ 2.00
Output$ 10.00
Cache read$ 0.20
Cache write$ 2.50
Estimate a request
$ 0.0400
Estimated cost per request
10.0K × $ 2.00
+ 2.0K × $ 10.00
≈ $ 40.00 per 1,000 requests

Capabilities and limits

What CrossModel guarantees across every route this model can take right now.

Context window
1.0M tokens
Max output
128.0K tokens
Input / output modalities
Text + Image → Text
Streaming
Supported
Tool calling
Supported
Structured output (JSON)
Supported
Image input
Supported
Thinking mode
Supported· can be turned off
Reasoning effort
low · medium · high · xhigh · max
Available endpoints
/v1/chat/completions · /v1/responses · /v1/messages

Published benchmarks

Scores the vendor reported, with the evaluation setup each one came from.

Agentic coding
  • Terminal-Bench 2.1
    pass_rate·Anthropic · 2026-06-30setup not fully disclosed
    80.4%
Coding
  • SWE-Bench Pro
    resolved_rate·Anthropic · 2026-06-30setup not fully disclosed
    63.2%
Computer use
  • OSWorld-Verified
    success_rate·Anthropic · 2026-06-30setup not fully disclosed
    81.2%
Knowledge work
  • GDPval-AA v2
    elo·Anthropic · 2026-06-30setup not fully disclosed
    1618
Reasoning
  • Humanity's Last Exam
    accuracy·Anthropic · 2026-06-30setup not fully disclosed

    No tools.

    43.2%
  • Humanity's Last Exam (with tools)
    accuracy·Anthropic · 2026-06-30setup not fully disclosed

    Anthropic does not disclose which tools the run had.

    57.4%

Vendor-reported numbers, not CrossModel measurements. Scores are only comparable when the benchmark version, metric and evaluation setup match, so nothing here is averaged or ranked.

Use it in your tools

Point the base URL at CrossModel and paste this model ID — every tool below has a setup guide.

See all integration guides →

Frequently asked questions

What is Claude Sonnet 5?
Claude Sonnet 5 is available on CrossModel as anthropic/claude-sonnet-5. It has a 1M-token context window and can return up to 128K tokens per request.
How much does Claude Sonnet 5 cost?
Currently $ 2.00 per 1M input tokens and $ 10.00 per 1M output tokens. Cached input is billed at $ 0.20 per 1M.
Does Claude Sonnet 5 support tool calling and structured output?
Tool calling: Supported · Structured output (JSON): Supported · Image input: Supported · Streaming: Supported · Thinking mode: Supported
Which endpoint do I call?
For text models, OpenAI Chat Completions (/v1/chat/completions), OpenAI Responses (/v1/responses) and Anthropic Messages (/v1/messages) all work — pick whichever your SDK already speaks.
Can I try it without writing code?
Yes. Sign in and open the Playground on this page to chat with the model directly — no API key needed. Usage is billed from your wallet at the normal rate.

Chat first, integrate later

Chat first, then wire it in once you like the answers.