Anthropic: Claude Sonnet 5

by Anthropic

anthropic/claude-sonnet-5
UnavailableRank #44Down 7 places on last week

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

1Mtokens

About 1,429 pages of text at once

Max output

128Ktokens

About 183 pages in one answer

Intelligence

—

No score published for this model.

Output speed

72tokens/s

A 500-word answer in about 9.7 s

From public market statistics for this model

First token

1.6s

Reasoning models start later

From public market statistics for this model

Health, 30 days

50.00%

0 of 30 days without a fault

IranRouter’s measurements

Price & cost

Every rate in Rial. A request pays only for the tokens it actually uses.

Input5,481,986IRR / 1M tokens
Output27,409,930IRR / 1M tokens
Reasoning tokensThe output rate27,409,930IRR / 1M tokens
Cache read548,199IRR / 1M tokens
Cache write, 5 minutes6,852,483IRR / 1M tokens
Cache write, 1 hour10,963,972IRR / 1M tokens
Image input tokensThe input rate5,481,986IRR / 1M tokens
Per web search27,410IRR

With prompt caching, the fixed part of your prompt is billed at the cache-read rate on later requests.

What would this model cost you a month?

Monthly cost

986.76MIRR

32.89M IRR a day, 16K IRR each request

30 days at today’s rate.

Rial price over 90 days

It moves with the exchange rate; the steps are the maker’s own price changes. Built at today’s margin, so approximate if the margin changed in the window.

InputOutput

Performance, 30 days

Health is measured by IranRouter itself: a day counts as healthy unless requests to this model failed on our side or it could not be served. First token and speed come from IranRouter’s traffic, and from public market statistics for this model on days without enough of it.

Daily health50.00%

Time to first token1.82 s

Output speed72 tokens/s

Place in the market

By usage across the global model market.

Daily rank#44

Share of the day’s tokens0.2%

Capabilities

Image inputYes
Audio inputNo
Tool callingYes
JSON outputYes
ReasoningReasoning levels: max, xhigh, high, medium, low, none
Web searchNo
Prompt cacheYes
Makes imagesNo
Open weightsNo
On the free planNo
Input
TextImageFile
Output
Text

Parameters it accepts

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity

Other benchmarks

Coding index72
Agentic index44

Design contests

  • Game devElo: 1,275Win rate: 51%
  • Code (overall)Elo: 1,274Win rate: 53%
  • UI componentsElo: 1,273Win rate: 54%
  • WebsitesElo: 1,273Win rate: 52%
4 moreShow less
  • 3DElo: 1,258Win rate: 54%
  • Data vizElo: 1,252Win rate: 53%
  • ASCII artElo: 1,205Win rate: 51%
  • SVGElo: 1,190Win rate: 49%

Standard tests

  • GPQA DiamondScore: 85%Tasks: 2,376
  • τ-bench Verified AirlineScore: 76%Tasks: 550

Start in a minute

The official OpenAI and Anthropic SDKs; only the address and the key change.

Base URLhttps://iranrouter.com/v1
Model IDanthropic/claude-sonnet-5
# pip install openai
from openai import OpenAI

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

r = client.chat.completions.create(
    model="anthropic/claude-sonnet-5",
    messages=[{"role": "user", "content": "Hello, introduce yourself"}],
)
print(r.choices[0].message.content)
The full guide in the docs: keys, streaming and errors

Peer models

Its family and models with a close score; the last column compares one message’s cost with this model.

No peer models found.

Technical specs

ID
anthropic/claude-sonnet-5
Maker
Anthropic
Tokenizer
Claude
Released
Jun 30, 2026
Added to IranRouter
Aug 14, 2026
Context
1,000,000 tokens
Max output
128,000 tokens

Scores by Artificial Analysis, Design Arena, as of Oct 31, 2026

Anthropic: Claude Sonnet 5One message about 24,670 IRRStart with this model