AIトークンコスト計算ツール
販売中の Claude と GPT の全 19 モデルで同じワークロードを並べて計算します。各行にはプロバイダーの定価と Kunavo 経由の価格がカタログからリアルタイムで表示され、キャッシュヒット、キャッシュ書き込み、推論トークンは各ベンダー自身のルールで課金されます。計算機の下には、実際のコーディングエージェントの実行に請求された金額があります。無料・登録不要で、先にプロンプトを貼り付けてトークン数を数えることもできます。
Your workload
Estimate for Claude Sonnet 5: Anthropic does not publish Claude's tokenizer, so this is OpenAI's o200k_base count. Anthropic's free count_tokens endpoint returns Claude's own number.Counted in your browser — nothing you paste leaves this page.
Rate: $1.40 in / $7.00 out · cache hit $0.1400 · cache write $1.75 — all per 1M tokens, read live from the Kunavo catalog.
Estimated cost
You save vs Anthropic list
$150/ month · ~30%
Pay as you go from $10, failed calls not billed. The dashboard opens with this model in a ready-to-run request.
Estimate only. Reasoning models bill hidden reasoning tokens at the output rate, so a reasoning workload costs more than the output box suggests. Cache writes are billed separately at $1.75 per 1M and are not in this figure — they are a one-off per cache entry, not per request. Failed requests are never billed.
Measured: one coding task, start to finish
Our own test on 2026/10/10, not a customer's: the same small repo task — make a six-test unit suite pass, five of them failing at the start — run headless in two coding agents against Kunavo. "Cost" is the run at Kunavo's rates, read from our usage log; one OpenCode call was missing from that log and went uncharged, and it is counted here at the same rates.
| Client | Model | Model calls | Time | Input (cache read / write) | Output | Cost |
|---|---|---|---|---|---|---|
| OpenCode 1.18.35 | Claude Sonnet 5 | 5 | 3:03 | 53,077 (26,999 / 24,212) | 3,976 | $0.0766 |
| Cline CLI 3.0.70 | Claude Sonnet 5 | 4 | 1:58 | 45,171 (30,855 / 14,181) | 5,301 | $0.0664 |
| Cline CLI 3.0.70 | GPT-5.6 Terra | 6 | 1:01 | 49,835 (35,328 / 0) | 2,298 | $0.0223 |
At these sizes, $10 pays for about 130–448 runs of this task.
Cache rules: Anthropic vs OpenAI
The same cached prefix is billed differently on the two protocols. Each row is read from the rates billing uses, and each ratio is a multiple of that model's own input rate on Kunavo.
| Vendor | Models | Cache hit | Cache write |
|---|---|---|---|
| Anthropic | Claude Fable 5, Claude Opus 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 5, Claude Sonnet 4.6, Claude Haiku 5.5, Claude Haiku 4.5 | ×0.1 | ×1.25 |
| Anthropic | Claude Fable 5.2, Claude Fable 5.1 | ×0.025 | ×1.25 |
| Anthropic | Claude Opus 5.5, Claude Sonnet 5.5 | ×0.05 | ×1.25 |
| OpenAI | GPT-6 Astra, GPT-6 Sol, GPT-6 Luna, GPT-5.6 Sol, GPT-5.6 Terra | ×0.1 | ×1.25 |
| OpenAI | GPT-5.5 | ×0.1 | ×1 |
On both, reasoning tokens are billed at the output rate, including the ones the response does not show, so the output field wants billed output tokens rather than the length of the answer you see.
How caching works on each protocolこの計算ツールをサイトに埋め込む
ブログ記事やドキュメントに無料で埋め込めます。価格は Kunavo の最新カタログに基づき、リンクを開くと新しいタブで kunavo.com が表示されます。
<iframe src="https://kunavo.com/ja/embed/llm-cost-calculator" title="AI token cost calculator" width="100%" height="760" style="border:0;border-radius:16px;max-width:720px" loading="lazy"></iframe>モデルファミリー別の料金ガイド
プロンプトを数えてから料金を計算
キャッシュヒットは入力料金の10分の1
キャッシュ済み入力と推論トークン
Haiku / Sonnet / Opusの料金
モデル別GPT料金
すべてのモデルに1つのAPI
画像ごとの料金
すべてのモデル、公式料金との比較
ほかの無料ツール
- Token counter
Paste text, get its token count, and see what it costs as input or output on every Claude and GPT model — counted in your browser.
- Claude token cost calculator
Claude rates with the cache maths the others leave out — cache hits at a tenth of input and cache writes at 1.25×, each at the model's own discount.
- AI video cost calculator
Per-clip and per-second video models priced as the different things they are — resolution, clip length and volume, each next to the provider's list price.
- AI 画像生成コスト計算機
キーにあるすべての画像モデルを 1 枚あたり・段階別に計算します —— 1 つだけ解像度によらず一律なので、出力解像度が変わると一番安いモデルも入れ替わります。
- OpenAI API pricing calculator
GPT rates including cached input at a tenth of the input rate, and what reasoning tokens do to an output-heavy bill.
LLMトークンのコストはどのように計算しますか?
LLM APIは100万トークン単位で料金が設定され、入力と出力には異なる料金が適用されます。そのため、1回のリクエストのコストは(入力トークン ÷ 1,000,000 × 入力料金)+(出力トークン ÷ 1,000,000 × 出力料金)です。出力は通常、入力より数倍高価です。そのため、短いプロンプトと長い回答の方が、長いプロンプトと短い回答より高くなることがあります。月間コストはこのリクエスト単位の金額にリクエスト数を掛けたもので、キャッシュ済み入力のコストは、入力料金の一部に相当する料金で計算する第3の項として加わります。
このトークンコスト計算機は、テキストのトークン数を数えますか?
はい。入力欄の上にあるボックスにプロンプトまたは文書を貼り付けると、OpenAIのGPT-4oおよびGPT-5モデルのトークナイザーo200k_baseを使ってブラウザー内でカウントされます。ワンクリックで、その数値を入力欄または出力欄に反映できます。このトークナイザーの使用が確認されているGPTモデルでは正確な数値で、ClaudeとGeminiでは推定値です。ボックスの下の注記に、選択したモデルに適用される方が表示されます。すでに送信しているトラフィックについては、引き続きAPIレスポンスのusageフィールドが課金対象の数値です。
このトークンコスト計算機は無料ですか?
はい。トークンコスト計算機は無料でブラウザー上で動作し、登録もAPIキーも必要ありません。料金はKunavoのモデルカタログからリアルタイムで取得され、各モデルはプロバイダーが公開している定価と並べて表示されます。そのため、プロバイダー自身の料金ページと照合できます。
自分のワークロードに最も安いLLM APIはどれですか?
入力と出力の比率によって異なります。だからこそ、思い込みではなく比較する必要があります。長いコンテキストを送って短い回答を返すワークロードでは入力料金が支配的です。長いテキストを生成するワークロードでは出力料金が支配的で、料金階層間の差も出力側で最も大きくなります。自分のトークン数を上に入力して月間の列を確認してください。要約タスクで最も安いモデルが、チャットタスクでも最も安いとは限りません。
実際のAPI請求額が計算機より高いのはなぜですか?
リクエスト単位の見積もりが含めないものが3つあります。推論トークンはレスポンスに現れなくても出力として課金されます。キャッシュ書き込みはキャッシュエントリごとに一度課金され、リクエスト単位の金額には含まれません。再試行も課金されます。トークンを消費した失敗リクエストもカウントされます。エージェント型ツールでは、ユーザーに見える1つのタスクが複数の課金対象ラウンドトリップになるため、差が最も大きくなります。