LLM API 料金計算ツール 2026
OpenAI・Anthropic・Google・xAI・DeepSeek・Mistral・Metaの30モデルのトークン単価を比較し、プロンプトキャッシュ・バッチ割引込みの実際の月額を試算しましょう。
1 · ワークロードを入力
2 · モデル別の月額コスト比較
| ベンダー | モデル | コンテキスト | 入力 $/1M | 出力 $/1M | リクエスト単価 | 月額 ▲ |
|---|
表示価格はすべて Standard 料金・短いコンテキスト基準です — Batch・Flex・Priority ではなく、長いコンテキスト区間でもありません。各社はモデルごとに複数の単価を公開しているため、別の軸の値を見ると実際の請求額を2倍以上誤って見積もることがあります。 キャッシュ命中分の入力は各ベンダーのキャッシュ単価(入力の10〜25%、ベンダーにより異なる)で計算されます。キャッシュ単価が非公開のモデルはスライダーの影響を受けません。バッチ割引はベンダーごとに入出力の両方へ適用されます — OpenAI・Anthropic・Google は−50%ですが、xAI は−20%です。2026年8月30日に各社の公式料金ページで確認済みです。DeepSeek のピーク時間は月〜金 UTC 01:00〜04:00 と 06:00〜10:00 で、オフピークは半額として別行に表示しています。Llama はオープンウェイトのため一次公式単価が存在せず、掲載値は DeepInfra のもので、他の推論プロバイダでは単価が異なります。
トークンカウンター — テキストを貼り付けてトークン数を推定
英語の目安は1トークン ≈ 4文字 ≈ 0.75語。日本語・韓国語・コードは文字あたりのトークン数が多くなります。正確な値は各モデルのトークナイザーに依存します。
How LLM API pricing works in 2026
Every major AI provider bills by the token — roughly a word fragment. You pay separately for input tokens (your prompt, system message, retrieved context) and output tokens (the model's reply). Output tokens cost 2–6× more than input tokens, so long-form generation is what really drives your bill.
Two discounts matter more than the sticker price. Prompt caching bills repeated prompt prefixes (system prompts, few-shot examples, long documents) at a reduced rate — 10% of the input rate at OpenAI, Anthropic and Google, but 16-25% at xAI and about 3% at DeepSeek. A chatbot with a 3,000-token system prompt saves dramatically at scale either way. The Batch API gives 50% off both directions at OpenAI, Anthropic and Google (20% at xAI) when you can wait minutes-to-hours for results, which suits evals, ETL and bulk summarization.
The spread between models is enormous: as of August 2026, a million output tokens runs from about $0.04 (Llama 3.1 8B on DeepInfra) to $180 (GPT‑5.5 Pro) — a 4,500× range. Picking the smallest model that clears your quality bar is the single biggest cost lever, ahead of caching, batching, or prompt trimming.
Frequently asked questions
How much does the GPT‑5.6 API cost?
How much does the Claude API cost?
What's the cheapest LLM API right now?
How many tokens is 1,000 words?
Do caching and batch discounts stack?
Where do these prices come from?
Go deeper
Every Anthropic model's current rates. OpenAI API pricing
GPT-5.6 Sol, Terra, Luna and the full lineup. Gemini API pricing
Google's tiers, incl. the long-context surcharge. Claude vs GPT
Tier-by-tier cost comparison with caching factored in. Cheapest LLM APIs
The 2026 budget leaderboard — and when cheap is enough. Prompt caching guide
The discount most teams leave on the table — 75% to 97%, by vendor. LLM API 価格改定の記録
日付つきの料金改定 — 私たちの誤りも含めて。 DeepSeek API pricing
Off-peak vs peak rates, and the cache discount. Gemini vs GPT
Which is cheaper for your token mix.
Sponsor TokenTally
Building an AI product, inference platform, or dev tool? Put it in front of developers actively comparing LLM costs. One tasteful placement, no tracking scripts. Get in touch →