estimate_tokens
Count Claude tokens for text input, accurately handling Korean/CJK characters. Works without an API key.
Instructions
Estimate the number of Claude tokens for a piece of text. Korean/CJK-aware (Korean uses ~1.3x the tokens of equivalent English). No API key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The prompt or text to count tokens for |