Count tokens in a Message changedapi/messages/count_tokens
Nearest release: v2.1.286, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+77added
Lines−83removed
From line
1,061
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 1061, old and new numbered
/
from line 1061
10611061
10621062 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
10631063
1064 - `"claude-sonnet-5-5" or "claude-fable-5-1" or "claude-opus-5-5" or 16 more`
1064 - `"claude-sonnet-5-5"`
10651065
1066 The model that will complete your prompt.
1066 Efficient model for coding and agents
10671067
1068 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
1068 - `"claude-fable-5-1"`
10691069
1070 - `"claude-sonnet-5-5"`
1070 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
10711071
1072 Efficient model for coding and agents
1072 - `"claude-opus-5-5"`
10731073
1074 - `"claude-fable-5-1"`
1074 Powerful intelligence for coding, knowledge work, and long-running agents
10751075
1076 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
1076 - `"claude-mythos-5-1"`
10771077
1078 - `"claude-opus-5-5"`
1078 Our most capable model for cybersecurity and biology research, available through trusted access programs
10791079
1080 Powerful intelligence for coding, knowledge work, and long-running agents
1080 - `"claude-sonnet-5"`
10811081
1082 - `"claude-mythos-5-1"`
1082 Efficient model for coding and agents
10831083
1084 Our most capable model for cybersecurity and biology research, available through trusted access programs
1084 - `"claude-fable-5"`
10851085
1086 - `"claude-sonnet-5"`
1086 Next generation of intelligence for the hardest knowledge work and coding problems
10871087
1088 Efficient model for coding and agents
1088 - `"claude-mythos-5"`
10891089
1090 - `"claude-fable-5"`
1090 Most capable model for cybersecurity and biology research
10911091
1092 Next generation of intelligence for the hardest knowledge work and coding problems
1092 - `"claude-opus-5"`
10931093
1094 - `"claude-mythos-5"`
1094 Powerful intelligence for long-running agents and coding
10951095
1096 Most capable model for cybersecurity and biology research
1096 - `"claude-opus-4-8"`
10971097
1098 - `"claude-opus-5"`
1098 Powerful intelligence for long-running agents and coding
10991099
1100 Powerful intelligence for long-running agents and coding
1100 - `"claude-opus-4-7"`
11011101
1102 - `"claude-opus-4-8"`
1102 Powerful intelligence for long-running agents and coding
11031103
1104 Powerful intelligence for long-running agents and coding
1104 - `"claude-opus-4-6"`
11051105
1106 - `"claude-opus-4-7"`
1106 Powerful intelligence for long-running agents and coding
11071107
1108 Powerful intelligence for long-running agents and coding
1108 - `"claude-sonnet-4-6"`
11091109
1110 - `"claude-opus-4-6"`
1110 Best combination of speed and intelligence
11111111
1112 Powerful intelligence for long-running agents and coding
1112 - `"claude-haiku-4-5"`
11131113
1114 - `"claude-sonnet-4-6"`
1114 Fastest model with near-frontier intelligence
11151115
1116 Best combination of speed and intelligence
1116 - `"claude-haiku-4-5-20251001"`
11171117
1118 - `"claude-haiku-4-5"`
1118 Fastest model with near-frontier intelligence
11191119
1120 Fastest model with near-frontier intelligence
1120 - `"claude-opus-4-5"`
11211121
1122 - `"claude-haiku-4-5-20251001"`
1122 Powerful intelligence for long-running agents and coding
11231123
1124 Fastest model with near-frontier intelligence
1124 - `"claude-opus-4-5-20251101"`
11251125
1126 - `"claude-opus-4-5"`
1126 Powerful intelligence for long-running agents and coding
11271127
1128 Powerful intelligence for long-running agents and coding
1128 - `"claude-sonnet-4-5"`
11291129
1130 - `"claude-opus-4-5-20251101"`
1130 High-performance model for agents and coding
11311131
1132 Powerful intelligence for long-running agents and coding
1132 - `"claude-sonnet-4-5-20250929"`
11331133
1134 - `"claude-sonnet-4-5"`
1134 High-performance model for agents and coding
11351135
1136 High-performance model for agents and coding
1136 - `"claude-mythos-preview"`
11371137
1138 - `"claude-sonnet-4-5-20250929"`
1138 **Deprecated**: Will reach end-of-life on June 30, 2026. Please migrate to claude-mythos-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
11391139
1140 High-performance model for agents and coding
1141
1142 - `"claude-mythos-preview"`
1143
1144 **Deprecated**: Will reach end-of-life on June 30, 2026. Please migrate to claude-mythos-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1145
1146 New class of intelligence, strongest in coding and cybersecurity
1140 New class of intelligence, strongest in coding and cybersecurity
11471141
11481142 - `string`
11491143
No line in this hunk matches that.