Anthropic

claude-sonnet-5

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.

Input modalities

text

Accepted as model input

image

Accepted as model input

Providers

Available routing options for this model through OneInfer.

Available

Input tokens

$2.000 / 1M tokens

Output tokens

$4.000 / 1M tokens

Routing

OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Input tokens$2.000 / 1M tokens
Output tokens$4.000 / 1M tokens
Cached input tokens$2.500 / 1M tokens

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/ula/chat/completions \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [
      { "role": "user", "content": "Hello!" }
    ]
  }'