Count tokens in a Message changedapi/messages/count_tokens
Nearest release: v2.1.287, published 4 hours before 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,125
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 1125, old and new numbered
/
from line 1125
11251125
11261126 Powerful intelligence for long-running agents and coding
11271127
1128 - `"claude-mythos-preview"`
1129
1130 **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.
1131
1132 New class of intelligence, strongest in coding and cybersecurity
1133
11281134 - `"claude-sonnet-4-5"`
11291135
1136 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
1137
11301138 High-performance model for agents and coding
11311139
11321140 - `"claude-sonnet-4-5-20250929"`
11331141
1134 High-performance model for agents and coding
1142 **Deprecated**: Will reach end-of-life on November 30, 2026. Please migrate to claude-sonnet-5-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
11351143
1136 - `"claude-mythos-preview"`
1137
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.
1139
1140 New class of intelligence, strongest in coding and cybersecurity
1144 High-performance model for agents and coding
11411145
11421146 - `string`
11431147
No line in this hunk matches that.