Claude Sonnet 5 Official Specifications, Pricing & Benchmarks
Claude Sonnet 5 (claude-sonnet-5) by Anthropic, released 2026-06-29, featuring 1,000,000 context window, 128,000 max output tokens, and Text+Image+PDF input.
📋 Claude Sonnet 5 Official API & System Card Specifications
Verified against official Anthropic developer documentation & pricing
1. Identity & Capabilities
API Spec- API Model ID
- claude-sonnet-5
- Release Date
- 2026-06-29
- Weight License
- Proprietary (Undisclosed)
- Native Reasoning
- ✅ Supported
- Function Calling & JSON Schema
- ✅ 原生支持
- Batch API 异步批处理
- ✅ Supported (50% off)
2. Context, Output & Modalities
Limits- Max Context Window
- 1,000,000 tokens (1000K)
- Max Output Tokens
- 128,000 tokens
- Input Modalities
- Text + Image + PDF
- Output Modalities
- Text
- Direct China Access
- 🌐 Global / OpenRouter
- Deployment Mode
- Cloud API only (Proprietary)
3. Official Pricing & Cache
USD / 1M- Input / 1M Tokens
- $ 2
- Cached Input / 1M
- $ 0.2 -90%
- Output / 1M Tokens
- $ 10
🎛️ Official Sampling & Reasoning Parameters
Recommended generation settings & API parameter constraints
💡 Custom temperature disabled in reasoning mode; adjust reasoning effort/budget instead.
📊 Claude Sonnet 5 Full Benchmark Scorecard
22 public benchmarks · ranks among 154 models · synced 2026-11-20
💻 Coding 10 items
A verified subset of 500 software engineering problems from real GitHub issues, validated by human annotators for evaluating language models' ability to resolve real-world coding issues by generating patches for Python codebases.
Terminal-Bench 2.0 is an updated benchmark for testing AI agents' tool use ability to operate a computer via terminal.
A multilingual benchmark for issue resolving in software engineering that covers Java, TypeScript, JavaScript, Go, Rust, C, and C++.
SWE-Bench Pro is an advanced version of SWE-Bench that evaluates language models on complex, real-world software engineering tasks requiring extended reasoning and multi-step problem solving.
DeepSWE 1.1 evaluates software engineering agents using the mini-swe-agent harness.
FrontierCode 1.1 evaluates whether coding-agent changes are mergeable, using unit tests, maintainer-defined rubrics, and verifiers. Runs flagged for unfair internet use receive a zero score.
FrontierCode is Cognition's coding evaluation that tests whether models can pass difficult coding tasks while meeting the standards of high-quality production codebases. The Diamond subset contains the hardest problems.
BenchCAD is a benchmark for programmatic CAD reasoning built from 17,900 execution-verified CadQuery programs spanning 106 industrial part families, roughly half anchored to real ISO, DIN, EN, ASME, and IEC specification tables.
SWE-Bench Multimodal extends SWE-Bench to evaluate language models on software engineering tasks that involve visual inputs such as screenshots, UI mockups, and diagrams alongside code understanding.
Terminal-Bench 4.0 evaluates AI agents on real-world work in terminal and command-line containerized environments across 66 tasks, with emphasis on science-adjacent and frontier engineering problems.
🤖 Agents & Tools 6 items
BrowseComp is a benchmark comprising 1,266 questions that challenge AI agents to persistently navigate the internet in search of hard-to-find, entangled information.
OSWorld-Verified is a verified subset of OSWorld, a scalable real computer environment for multimodal agents supporting task setup, execution-based evaluation, and interactive learning across Ubuntu, Windows, and macOS.
OfficeQA Pro evaluates AI models on professional knowledge-work questions and tasks drawn from real office workflows, including document analysis, spreadsheet reasoning, and information synthesis across business domains.
Tool Decathlon is a comprehensive benchmark for evaluating AI agents' ability to use multiple tools across diverse task categories. It measures proficiency in tool selection, sequencing, and execution across ten different tool-use scenarios.
AutomationBench is a tool-use benchmark that evaluates AI agents on automating real-world workflows, testing their ability to orchestrate tools and complete multi-step automation tasks.
The Legal Agent Benchmark (LAB) is Harvey's open-source benchmark for evaluating AI agents on complex, long-horizon legal work.
📐 Math 3 items
USAMO 2026 evaluates models on the six problems from the 2026 United States of America Mathematical Olympiad, requiring rigorous proof-based reasoning.
ArXivMath is a final-answer benchmark of research-level mathematics maintained by MathArena. Problems are extracted monthly from recent arXiv paper abstracts, then filtered through automated and manual checks to ensure they are self-contained, non-trivial, and verifiable.
Humanity's Last Exam (HLE) is a multi-modal academic benchmark with 2,500 questions across mathematics, humanities, and natural sciences, designed to test LLM capabilities at the frontier of human knowledge with unambiguous, verifiable solutions.
👁️ Multimodal 2 items
CharXiv-R is the reasoning component of the CharXiv benchmark, focusing on complex reasoning questions that require synthesizing information across visual chart elements.
GDP.pdf is a knowledge-work vision benchmark that evaluates models on economically valuable professional tasks presented as visual documents (PDFs), testing document-based reasoning, chart and table interpretation, and problem solving without tools.
Source: ZeroEval / llm-stats.com (✓ = third-party verified, others vendor-reported).
Closest Self-Hostable Open-Weight Alternatives to Claude Sonnet 5
Open-weight models with full HuggingFace weights for private GPU / Mac deployment
Frequently Asked Questions
Is Claude Sonnet 5 open-source or proprietary?
Claude Sonnet 5 (claude-sonnet-5) is a proprietary commercial model by Anthropic. Weights and internal layer dimensions are undisclosed; it is accessed via cloud API.
What are the context limit and API pricing of Claude Sonnet 5?
Claude Sonnet 5 supports 1000K input context and 128,000 max output tokens, priced at $2/1M input ($0.2/1M cached) and $10/1M output.