YFarmX logoYFarmX

Anthropic: Claude Sonnet 5

anthropic/claude-sonnet-5 · AnthropicDeclared and measured agree
Tokenizer lineage (measured)
Claude
Declared tokenizer tag
Claude
Entered catalogue
30 June 2026
Last tested
5 October 2026
Evidence confidence
Moderate

Why moderate: near-exact agreement (49 of 49 strings) with anthropic/claude-opus-4.8, short of a full exact signature.

Evidence
  • ✓ near-exact agreement (49/49) with anthropic/claude-opus-4.8

Identity statement

Anthropic: Claude Sonnet 5 is Anthropic's model. Its measured tokenizer sits with the Claude group, which is evidence that it builds on the Claude tokenizer. Tokenizer reuse is normal engineering, open vocabularies travel between labs, and this says nothing against Anthropic's authorship of the model itself.

What we checked

Four different kinds of evidence, and what each one showed
We checkedWhat we foundWhere it came from
How it counts tokensCounted, using the 49 strings that came back reliablywe measured it
How its API is set upSet up identically to 1 other listing, field for fieldapi_5d3cdea0
How much it can read and writeReads up to 1,000,000 tokens at once, writes up to 128,000its own listing
Whether it thinks before answeringReasons when asked to, at max, xhigh, high, medium, low, high by defaultits own listing
Who served our requestsClaude Platform on AWSwe measured it, 5 October 2026
Measured twiceThe 5 October 2026 reading agreed with the 3 September 2026 reading on every one of the 49 strings clean in both: the tokenizer behind this name held.49/49 agree

Closest measured models

Agreement across the mutually clean test strings

Click a row to open the full comparison.

The measured fingerprint

What each test string cost this model, in tokens

We sent Anthropic: Claude Sonnet 5 fifty short pieces of text and recorded what each one cost it in tokens. The bars below are those costs. Two models built on the same tokenizer produce the same bars; a model built on a different one produces a different set, which is what makes this a fingerprint.

All 50 rows, 1 excluded as corrupt

English and whitespace

en-prose24
en-long28
spaces-204
spaces-606
tabs-204
newlines-204
mixed-ws9

Digits

digits-93
digits-124
digits-3010
digits-sep7
float-long9

CJK

zh-common18
zh-long24
zh-rare20
ja-kana12
ja-kanji16
ko19

Other scripts

ru14
ar21
he18
hi23
th25
el22

Emoji

emoji-basic10
emoji-skin25
emoji-zwj-family14
emoji-zwj-x342
emoji-flags24
emoji-prof27

Rare Unicode

math46
boxdraw28
combining6
cjk-ext-b16
surrogates54
zalgo36
rtl-mix11

Code

py-code30
py-indent19
json29
html18
regex63
camel16
snake14

Repetition and encodings

rare-word-x556
repeat-tok61
base64x
hex18
url26
uuid27

An x marks a row excluded as corrupt (caching or provider interference detected during measurement). Overhead subtracted: 6 prompt tokens.

Declared record

What the catalogue claims about this model

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

Modalities
text+image+file->text
Declared tokenizer
Claude
Prompt price
$2.00 / M tokens
Completion price
$10.0 / M tokens

Supported parameters

include_reasoningmax_completion_tokensmax_tokensreasoningreasoning_effortresponse_formatstopstructured_outputstool_choicetoolsverbosity

defaults: {}

Catalogue entry

History

Every observation, kept as taken
  • 30 June 2026Enters the OpenRouter catalogue declared as Claude.
  • 3 September 2026Fingerprinted in the YFarmX catalogue sweep · 49 of 50 strings measured clean.
  • 5 October 2026Fingerprinted again, to check the reading held · 49 of 50 strings measured clean.
  • 5 October 2026YFarmX assessment: consistent with the Claude family, moderate confidence.