Skip to main content
Get the number of tokens required for creating a message, including tools, images, and documents, without creating it.
External DocumentationTo learn more, visit the Anthropic documentation.

Basic Parameters

Advanced Parameters

Example Output