n4nAI
← Models
A

Claude Sonnet 5

anthropicReleased Jun 2026

anthropic/claude-sonnet-5

About

Sonnet 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,...

Context
1M
Max output
128K
Tokenizer
Claude
Knowledge cutoff
Input
text · image · file
Output
text

Pricing

per 1M tokens
Input
$2.00
Output
$10.00

Use this model

curl https://api.n4n.ai/v1/chat/completions \
  -H "Authorization: Bearer $N4N_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Authenticate with an API key from your console; prices above are per 1M tokens.

Providers

max context 1M
ProviderInput $/1MOutput $/1M
Claude Router claude-router$2.00$10.00
Yuwu yuwu$2.00$10.00

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity