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.

