Claude Sonnet 5 is a mid-tier large language model from Anthropic, released on June 30, 2026, as the latest model in the Sonnet series and a direct successor to Claude Sonnet 4.6. It is a hybrid reasoning model designed primarily for agentic workflows, software coding, and professional tasks. The model features a 1 million token context window, a 128k maximum output token limit, and runs adaptive thinking by default, giving API users fine-grained control over reasoning effort across five levels (low, medium, high, max, and extra-high). It uses an updated tokenizer shared with Opus 4.7 and later models, which produces approximately 30% more tokens for equivalent text compared to earlier Claude models. On benchmarks, Sonnet 5 scores 63.2% on agentic coding and 81.2% on OSWorld, narrowing the gap with Opus 4.8 while remaining at Sonnet-tier pricing.
The model supports text and image input with text output, and accepts tools including browsers and terminals for autonomous multi-step task execution. Anthropic's safety evaluations report that Sonnet 5 shows a lower rate of undesirable behaviors than Sonnet 4.6 and is generally safer in agentic contexts, with improved resistance to prompt injection and reduced sycophancy. Cybersecurity safeguards equivalent to those on Opus 4.7 and 4.8 are active, though Anthropic notes the model was not deliberately trained on cybersecurity tasks. The model is proprietary and API-only, with no open weights.
Drag and drop an image here, or click to browse
Usage
Past 30 Days| Category | Passed | Score |
|---|---|---|
| Object Understanding | 13 / 14 | 92.9% |
| Spatial Understanding | 15 / 19 | 78.9% |
| Defect Detection | 11 / 15 | 73.3% |
| Document Understanding | 6 / 9 | 66.7% |
| Object Counting | 2 / 10 | 20% |
| Category | Passed | Score |
|---|---|---|
| License Plate Recognition | 27 / 30 | 90% |
| Focused Scene OCR | 88 / 99 | 88.9% |
| Text Recognition | 24 / 30 | 80% |
| VQA & Extraction | 48 / 60 | 80% |
| Handwritten Math | 5 / 10 | 50% |
Scores based on a single evaluation run · Methodology
View all Vision Evals →Claude Sonnet 5 costs $2.00 per 1M input tokens and $10.00 per 1M output tokens.
Pricing updated Jul 1, 2026
Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost).
11 of 11 models plotted
| Model | Score | Median tokens | Est. cost / task | Compare |
|---|---|---|---|---|
| Qwen3.5 122B A10B | 76.1% | 1.2K | $0.0003 | Compare |
| Gemini 3.1 Pro | 75.8% | 1.1K | $0.0024 | Compare |
| Gemini 3 Flash | 74.6% | 1.4K | $0.0014 | Compare |
| GPT-5 Mini | 73.1% | 1.8K | $0.0006 | Compare |
| Qwen3.5 27B | 71.6% | 1.2K | $0.0002 | Compare |
| Claude Sonnet 5(this model) | 70.2% | 2.2K | $0.0048 | — |
| Claude Sonnet 4.6 | 70.2% | 2.3K | $0.0080 | Compare |
| Gemini 2.5 Pro | 70.2% | 856 | $0.0060 | Compare |
| Gemini 3.1 Flash-Lite | 68.7% | 1.1K | $0.0003 | Compare |
| Gemma 4 26B A4B | 68.7% | 531 | $0.0001 | Compare |
| Qwen3.6 Plus | 68.7% | 1.6K | $0.0005 | Compare |
Other models worth comparing for similar use cases.
Other versions in the same family as Claude Sonnet 5.
License terms and commercial-use guidance for Claude Sonnet 5.
License information is provided as a guide and is not legal advice.