メインコンテンツまでスキップ

Token Estimator

初級

Paste any prompt or document and get a quick token estimate — so you can budget context window and cost before you hit the API. All client-side; nothing leaves your browser.

1単語
32文字
~18推定トークン数

あくまで大まかな目安です(おおよそ 文字数 ÷ 4、または 単語数 × 1.33)。トークン数はモデルごとに異なります — 別のモデルのトークナイザーは決して使わないでください。正確な数値が必要な場合は、Anthropicのトークンカウント用エンドポイントを使用してください。

:::tip Why tokens matter Context limits and pricing are both measured in tokens (≈ ¾ of a word). Trimming what you send cuts both cost and latency. Deep dive in Tokens, Context & Pricing. :::

Next