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.

