Count tokens in a Message changedapi/messages/count_tokens
Recorded here
Lines+1added
Lines−1removed
From line
2,969
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 2969, old and new numbered
/
from line 2969
29692969 "role": "user"
29702970 }
29712971 ],
2972 "model": "claude-opus-5",
2972 "model": "claude-opus-5-5",
29732973 "system": [
29742974 {
29752975 "text": "Today'\''s date is 2024-06-01.",
No line in this hunk matches that.