Count tokens for Anthropic API messages, including system prompts, user messages, tools, images, and PDFs. For more details, see the official documentation. Get your API key from the Anthropic Console.
Anthropic API のメッセージのトークン数をカウントします。システムプロンプト、ユーザーメッセージ、ツール、画像、PDFを含むメッセージに対応しています。詳細は公式ドキュメントを参照してください。API KeyはAnthropic Consoleから取得できます。