Cut off the text as soon as any stop words occur.
Check if all requirements for Anthropic count_tokens() are met.
Get the number of tokens in a string of text.
Get the token ids for a string of text.
Check if the thinking parameter is enabled in the request.