ai.canshu.com
中文
VRAM Calculator Advisor & TCO API Pricing Compare Models Leaderboard GPUs

Search models, GPUs, and tools

↑↓ Navigate · Enter Open · ★ Watchlist prioritized ai.canshu.com
Anthropic
Proprietary API Anthropic · claude-sonnet-5 · Text+Image+PDF

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

API Model ID: claude-sonnet-5

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

Official Reasoning & Tool Config
temperature=1 top_p=0.95 max_tokens=65,536

💡 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

⚔️ Compare head-to-head

💻 Coding 10 items

SWE-Bench Verified #4/59 85.2%

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 #2/38 80.4%

Terminal-Bench 2.0 is an updated benchmark for testing AI agents' tool use ability to operate a computer via terminal.

SWE-bench Multilingual #9/33 78.3%

A multilingual benchmark for issue resolving in software engineering that covers Java, TypeScript, JavaScript, Go, Rust, C, and C++.

SWE-Bench Pro #12/52 63.2%

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 #38/49 54%

DeepSWE 1.1 evaluates software engineering agents using the mini-swe-agent harness.

FrontierCode 1.1 #13/23 42.7%

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 #4/4 38.8%

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 #8/8 37.3%

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 #7/7 28.1%

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 #29/31 12.4%

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.

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

Compare with these →

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.