messages
Count message tokens (Anthropic Messages API)
Returns a provider-agnostic heuristic estimate of the input token count.
POST
Error
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Anthropic Messages request
Response
OK
Error