Count tokens in a Message changedapi/messages/count_tokens
Nearest release: v2.1.332, 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+10added
Lines−6removed
From line
1,155
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits26to this page, all time
The whole hunk
from line 1155, old and new numbered
/
from line 1155
11551155
11561156 - `"claude-haiku-4-5-20251001"`
11571157
1158 - `"claude-mythos-preview"`
1159
1160 **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.
1161
1162 New class of intelligence, strongest in coding and cybersecurity
1163
11581164 - `"claude-opus-4-5"`
11591165
1166 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1167
11601168 Powerful intelligence for long-running agents and coding
11611169
11621170 - `"claude-opus-4-5-20251101"`
11631171
1164 Powerful intelligence for long-running agents and coding
1172 **Deprecated**: Will reach end-of-life on January 22, 2027. Please migrate to claude-opus-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
11651173
1166 - `"claude-mythos-preview"`
1167
1168 **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.
1169
1170 New class of intelligence, strongest in coding and cybersecurity
1174 Powerful intelligence for long-running agents and coding
11711175
11721176 - `"claude-sonnet-4-5"`
11731177
No line in this hunk matches that.