InferenceCount message tokensCount message tokens POST /v1/messages/count_tokens An estimate of the input tokens of a Messages request, for Anthropic clients that budget their context. Nothing is sent to a model. Request Responses200Default Response