IranRouter
All models
Anthropic

Anthropic: Claude Sonnet 5

Unavailable

by Anthropic

anthropic/claude-sonnet-5Usage rank #14

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

At a glance

Context window
1Mtokens
Max output
128Ktokens
Knowledge to
Released
2026

Capabilities

CapabilitiesReasoningVisionToolsStructured output
InputTextImageFile
OutputText
ReasoningSupportedmaxxhighhighmediumlow

Benchmarks

Intelligence index
38
Coding index
72
Agentic index
44

Design Arena

CategoryEloWin rate
models · gamedev1,31254
models · uicomponent1,29755.1
models · codecategories1,29253.8
models · website1,28953.5
models · 3d1,28854.9
models · dataviz1,26052.8
models · asciiart1,22552.1
models · svg1,21551.6

Standard evaluations

BenchmarkScoreTasks
gpqa_diamond0.811,383
tau_bench_verified_airline0.77300

Source: Artificial Analysis, Design Arena · as of Sep 16, 2026

Performance

Reference uptime

100%

Aug 18Sep 16

Median latency

2,726 ms

Aug 18Sep 16

Throughput

57.8 tok/s

Aug 18Sep 16

IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.

Popularity

Current rank
#14
Rank change, 7 days
+4

Daily tokens · 90 days

156.6B

Jun 18Sep 15

Ranked by daily token volume across the global model market; the figure above the chart is the daily average.

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity

Parameters this model accepts; anything else is ignored.

Quick start

from openai import OpenAI

client = OpenAI(
    api_key="ir-...",
    base_url="https://iranrouter.com/v1",
)

resp = client.chat.completions.create(
    model="anthropic/claude-sonnet-5",
    messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)

Only base_url and the key change; the rest of your code stays as it is.