Claude Messages Count Tokens
API Reference
Claude Messages Count Tokens
POST
Claude Messages Count Tokens
Autoryzacje
API token from https://platform.acedata.cloud
Treść
application/json
The model that will complete your prompt.
Przykład:
"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.
Odpowiedź
OK
The total number of tokens across the provided list of messages, system prompt, and tools.

