Anthropic
claude-sonnet-5
1M
text, image
text
Supported
About this model
Claude Sonnet 5 is the most agentic Sonnet model yet, released by Anthropic on June 30, 2026. It offers a 1M token context window and 128k max output tokens. It is designed for complex, multi-step agentic tasks like coding, tool use, and autonomous planning, achieving performance close to the more expensive Opus 4.8 model. It features adaptive thinking enabled by default and a new tokenizer that produces approximately 30% more tokens for the same text compared to Sonnet 4.6.
Capabilities
text
Available through the unified API
image
Available through the unified API
Quick start
curl https://api.oneinfer.ai/v1/chat/completions \
-H "Authorization: Bearer $ONEINFER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "5e65acc478f54682b5a1353a0bfcf870",
"messages": [
{ "role": "user", "content": "Hello!" }
]
}'Providers
Available routing options for this model through OneInfer.
Anthropic
5e65acc478f54682b5a1353a0bfcf870
Input
$2.000 / 1M
Output
$4.000 / 1M
Routing
OneInfer optimized
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Input tokens | $2.000 / 1M |
| Output tokens | $4.000 / 1M |
Performance
Published evaluation results associated with this model.
SWE-bench Pro
Terminal-Bench 2.1
OSWorld-Verified
Humanity's Last Exam (w/ tools)
GDPval-AA v2
API example
curl https://api.oneinfer.ai/v1/chat/completions \
-H "Authorization: Bearer $ONEINFER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "5e65acc478f54682b5a1353a0bfcf870",
"messages": [
{ "role": "user", "content": "Hello!" }
]
}'