Anthropic · Capability
Anthropic Token Counting API — Tokens
Anthropic Token Counting API — Tokens. 1 operation. Lead operation: Count Message Tokens. Self-contained Naftiko capability for counting input tokens on a prospective Messages request without creating it.
Anthropic Token Counting API — Tokens is a Naftiko capability published by Anthropic, one of 22 capabilities the APIs.io network indexes for this provider. It bundles 1 operation across the POST method rooted at /v1/messages/count_tokens.
The capability includes 1 read-only operation. Lead operation: Anthropic Count Message Tokens. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.
Tagged areas include Anthropic, Tokens, and Counting.
What You Can Do
POST
Countmessagetokens
— Anthropic Count Message Tokens
/v1/messages/count_tokens
MCP Tools
anthropic-count-message-tokens
Anthropic Count Message Tokens
read-only
idempotent