Skip to content

AI Token Cost Calculator

A free calculator for what an AI API job costs at each model’s published list price: tokens for language models, seconds for video, characters or minutes for speech.

How the cost is worked out: input tokens ÷ 1,000,000 × the input price per 1M, plus output tokens ÷ 1,000,000 × the output price per 1M. Prices come from each model’s page; for rankings see the benchmarks table.

  • 166Language models
  • 27Video models
  • 8Speech models
  • 8Models side by side

Quick comparisons

Models 5 of 8 selected

  • Gemini 4 Hydrogen logo
    Gemini 4 Hydrogen
  • GPT-6.1 Terra logo
    GPT-6.1 Terra
  • Kimi K3.1 Pro logo
    Kimi K3.1 Pro
  • Muse Wonder logo
    Muse Wonder
  • Claude Haiku 5.5 logo
    Claude Haiku 5.5

Calculate

Calculate from

Input tokens
Output tokens

Cost for this many tokens

  • Claude Haiku 5.5 logo
    Claude Haiku 5.5Lowest cost$0.23

    Input $0.10 (1M) · Output $0.13 (250k) · $0.1 in / $0.5 out per 1M

  • Input $1.00 (1M) · Output $1.25 (250k) · $1 in / $5 out per 1M

  • Input $1.50 (1M) · Output $1.88 (250k) · $1.5 in / $7.5 out per 1M

  • Input $2.00 (1M) · Output $2.50 (250k) · $2 in / $10 out per 1M

  • Input $4.00 (1M) · Output $5.00 (250k) · $4 in / $20 out per 1M

List prices in USD per 1M tokens, from each model's record on its model page. Cached-input, batch and long-context rates are not included. Click any figure to type it; values go up to 10 billion tokens.

Frequently asked questions

How many tokens is a word?+

OpenAI gives a rough rule of thumb for English text: one token is about 4 characters or 0.75 words, so 100 tokens is about 75 words. Each model family uses its own tokenizer, so the exact count differs between vendors.

How is the cost of an API call calculated?+

Input and output tokens are billed separately. The cost is input tokens divided by one million times the input price per million, plus output tokens divided by one million times the output price per million.

Does the calculator include cached-input or batch discounts?+

No. It uses each model's standard list price per million input and output tokens, as recorded on its model page. Cached-input, batch and long-context rates are vendor-specific and not included.