Anthropic

Count Tokens

Count tokens for an Anthropic request using upstream tokenizer.

post/v1/messages/count_tokens

Request

  • Base URL: https://api.ambient.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.ambient.xyz/v1/messages/count_tokens
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.