Free tool · no sign-up

LLM API cost calculator

Enter your workload and compare the monthly bill across Claude, GPT and Gemini models side by side — then see what prompt caching, batch and smaller-model routing would save.

0%

Optional. Share of input tokens that are cache hits.

0%

Optional. Batch is about 50% cheaper but not real-time.

The link holds only these numbers and the model — nothing personal.

Claude Sonnet 5.5 · estimated per month
$2,432
304,000 requests / month
Levers below, each on its own
up to $1,617/mo

Savings levers for Claude Sonnet 5.5

  • Route simple requests to Claude Haiku 5.5

    If 70% of requests (lookups, extraction, short replies) went to Claude Haiku 5.5 and the rest stayed on Claude Sonnet 5.5. Check quality on a sample of real requests before switching.

    −$1,617/mo
  • Send work that can wait through the Batch API

    Batch requests are 50% cheaper and return within hours, not seconds. Moving half of the traffic (evals, back-fills, nightly summaries, classification) to batch is modelled here.

    −$608/mo
  • Cache the repeated part of your prompt

    If half of each prompt (system prompt, tools, shared documents) were served from the prompt cache, cached tokens bill at $0.10 instead of $2.00 per 1M on Claude Sonnet 5.5. Put stable content first and anything that changes per request last.

    −$578/mo

Each saving is measured against your current setup on its own; they overlap, so don't add them up.

Side by side

ModelInputCached inputOutputPer month
Claude Haiku 5.5
Anthropic · Prompts over 100K tokens are billed at $0.50 / $2.50.
$0.10$0.01$0.50$122
GPT-5.4 nano
OpenAI
$0.20$0.02$1.25$274
Gemini 3.5 Flash-Lite
Google · Cache storage fees not included.
$0.30$0.03$2.50$486
Gemini 3.8 Flash
Google · Google lists a rise to $1.50 / $7.50 (cache $0.15) from 1 Jan 2027. Cache storage fees not included.
$0.75$0.075$3.75$912
GPT-5.4 mini
OpenAI
$0.75$0.075$4.50$1,003
Claude Sonnet 5.5
Anthropic
$2.00$0.10$10.00$2,432
Claude Opus 5.5
Anthropic
$4.00$0.20$20.00$4,864
Gemini 4 Carbon
Google · Price from 1 Dec 2026 (it was $2 / $10 until 30 Nov), since a monthly estimate covers the coming month.
$4.00$0.20$20.00$4,864
GPT-6.2 Astra
OpenAI · Prompts over 272K tokens are billed at $16 / $60.
$8.00$0.40$40.00$9,728

List prices in USD per 1M tokens, standard tier, as of 2026-11-27 — check provider pages before you budget: Anthropic, OpenAI, Google. Not modelled: cache-write and cache-storage fees, regional or data-residency premiums, tool and search fees, taxes, and negotiated discounts. Token counts for the same text differ between providers' tokenizers.

Connect your cloud/AI billing for a free spend review

CloudAI reads your real AWS, Azure, Google Cloud, OpenAI and Anthropic spend with read-only keys and flags spikes and savings. 30 days free, no card.

Start your free spend review

How the estimate works

  • Monthly requests = requests per day × 30.4.
  • Input cost = uncached input tokens × input price + cached input tokens × cached-input price.
  • Output cost = output tokens × output price. Reasoning ("thinking") tokens are billed as output — include them in your average.
  • The batch share gets the provider's batch discount (50% for every model listed) on input and output.
  • Where a provider charges more for very long prompts, the whole request moves to the higher price.