Count tokens in a Message changedapi/beta/messages/count_tokens
Nearest release: v2.1.284, published 8 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+88added
Lines−80removed
From line
3,090
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 3090, old and new numbered
/
from line 3090
30903090
30913091 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
30923092
3093 - `string`
3093 - `"claude-sonnet-5-5" or "claude-fable-5-1" or "claude-opus-5-5" or 16 more`
30943094
3095 - `"claude-fable-5-1" or "claude-opus-5-5" or "claude-mythos-5-1" or 15 more`
3096
30973095 The model that will complete your prompt.
30983096
30993097 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
31003098
3099 - `"claude-sonnet-5-5"`
3100
3101 Efficient model for coding and agents
3102
31013103 - `"claude-fable-5-1"`
31023104
31033105 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 3114
31123114
31133115 - `"claude-sonnet-5"`
31143116
3115 High-performance model for coding and agents
3117 Efficient model for coding and agents
31163118
31173119 - `"claude-fable-5"`
31183120
from line 3174
31723174
31733175 New class of intelligence, strongest in coding and cybersecurity
31743176
3177 - `string`
3178
31753179 - `name: "advisor"`
31763180
31773181 Name of the tool.
from line 3788
37843788 - `BetaThinkingConfigDisabled object`
37853789
37863790 - `type: "disabled"`
3791
3792 - `BetaThinkingConfigBetweenTools object`
3793
3794 - `type: "between_tools"`
37873795
37883796 - `BetaThinkingConfigAdaptive object`
37893797
No line in this hunk matches that.