/v1/chat/completionsClaude Sonnet 5
claude-sonnet-5Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.
Total Context
1Mtokens
Max Output
128Ktokens
Released
Jun 30, 2026
Modalities
Claude Sonnet 5 Price
| Input Price | Output Price | Cache Read |
|---|---|---|
| $2/M | $10/M | $0.2/M |
How do I use Claude Sonnet 5 through the API?
/v1/messagesClaude Sonnet 5 Benchmark
41.7
/100
Artificial Analysis Intelligence Index
Artificial Analysis broad capability aggregate
Index score
66.4
/100
Artificial Analysis Coding Index
Artificial Analysis software task aggregate
Index score
Knowledge & Reasoning
GPQA
Advanced science problem solving
80%
HLE
Broad expert-level exam set
17.8%
Coding & Engineering
SciCode
Scientific coding challenges
48.6%
Instruction Following & Agent Tasks
AA-LCR
Long-context reasoning
58.7%
Claude Sonnet 5 FAQs
Practical answers about Claude Sonnet 5 capabilities, tradeoffs, availability, and TokenHub API use.
What is Claude Sonnet 5?+
Claude Sonnet 5 is Anthropic's general-purpose Sonnet model for reasoning, coding, tool use, and knowledge work. It is designed to combine strong intelligence with Sonnet-class speed and cost.
What is Claude Sonnet 5 best used for?+
It is well suited to multi-step coding, debugging, agent workflows, research synthesis, document analysis, and professional tasks that benefit from planning and tool use.
What are the main strengths of Claude Sonnet 5?+
Its strengths include improved reasoning, coding, tool use, and task follow-through compared with Sonnet 4.6. Adaptive thinking is enabled by default, and the API supports a 1-million-token context window.
What limitations or API tradeoffs should I consider?+
Important outputs still need review. Manual extended thinking is not accepted, non-default temperature, top_p, or top_k values can cause API errors, and Anthropic's Priority Tier is not available for this model.
How do I use Claude Sonnet 5 through TokenHub?+
Use the model ID claude-sonnet-5 in your TokenHub API request with your TokenHub endpoint and credentials. Confirm the request format and supported parameters in the TokenHub integration documentation before production use.
What are the pricing and availability details?+
Anthropic lists introductory API pricing of $2 per million input tokens and $10 per million output tokens through August 31, 2026, followed by $3 and $15. TokenHub pricing or routing availability may differ, so check the current model page before use.
When should I choose Claude Sonnet 5 instead of another model?+
Choose it when you need a strong balance of agentic capability, coding quality, speed, and cost. Compare it with a higher-tier model for the hardest tasks and with smaller models for high-volume, latency-sensitive workloads.
Claude Sonnet 5 Media and Demos
Selected public announcements, discussions, and videos about Claude Sonnet 5.
X (Twitter)
Reddit
YouTube