Anthropic

claude-sonnet-5

Context

1M

Input

text, image

Output

text

Tool calling

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

View API docs
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

Available

Input

$2.000 / 1M

Output

$4.000 / 1M

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Input tokens$2.000 / 1M
Output tokens$4.000 / 1M

Performance

Published evaluation results associated with this model.

SWE-bench Pro

score63.2

Terminal-Bench 2.1

score80.4

OSWorld-Verified

score81.2

Humanity's Last Exam (w/ tools)

score57.4

GDPval-AA v2

score1618

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!" }
    ]
  }'