{
"input_tokens": 1
}Anthropic Messages
Count tokens
Count the number of tokens in a message using the Anthropic-compatible API.
POST
/
anthropic
/
v1
/
messages
/
count_tokens
{
"input_tokens": 1
}Otorisasi
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Respons
200 - application/json
Successful response
Rentang yang diperlukan:
x >= 0⌘I