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.

