Claude Messages Count Tokens
API Reference
Claude Messages Count Tokens
POST
Claude Messages Count Tokens
Авторизации
API token from https://platform.acedata.cloud
Тело
application/json
The model that will complete your prompt.
Пример:
"claude-sonnet-4-6"
Input messages.
System prompt.
Configuration for enabling Claude's extended thinking.
How the model should use the provided tools.
Definitions of tools that the model may use.
Ответ
OK
The total number of tokens across the provided list of messages, system prompt, and tools.

