Recent release: https://docs.anthropic.com/en/docs/build-with-claude/token-counting We currently count tokens according to the GPT tiktoken tokenizer. We should use the API instead