LLM API cost calculator

Enter your own token counts and request volume to estimate the monthly token bill for each model. Prices come from the providers' own pricing pages, checked on 2026-11-08.

This tool estimates API token charges only. It does not rank models by quality — a cheaper model that fails your task can cost more per accepted result.

Presets are illustrative token counts, not measurements. Replace them with your own.

Prompt, instructions, retrieved text and any chat history.

Include billed reasoning/thinking tokens, not just visible text.

Average successful and retried calls, one model call each.

30 by default. Use 21 for a weekday-only workload.

Add your own rates (optional)

Enter a number from 0 to 1,000,000.

Enter a number from 0 to 1,000,000.

17 models calculated.
Estimated monthly token cost by model, sorted by estimated cost, not by quality
ModelStatusMonthlyAnnual
Gemini 2.5 Flash-LiteGoogle · sourceText/image/video input rate. Check the provider page for lifecycle notices before building on it.previous generation$7.50$90.00
GPT-6 LunaOpenAI · sourceRates apply up to 272K input tokens; above that, $0.20 input / $0.75 output for the full request.current$8.25$99.00
Claude Haiku 5.5Anthropic · sourcePrompts up to 100K tokens; above that, $0.50 input / $2.50 output.current$8.25$99.00
Mistral Small 4Mistral AI · sourceThe pricing page does not state an effective date or the processing tier.current$11.25$135.00
GPT-5.6 LunaOpenAI · sourceUp to 272K input tokens; above that, $0.40 / $1.80.previous generation$18.00$216.00
DeepSeek V4.1 Flash (peak-hour rate)DeepSeek · sourceCache-miss input. Peak rate shown (01:00-04:00 and 06:00-10:00 UTC, Mon-Fri); off-peak is half: $0.15 / $0.60.current$22.50$270.00
Gemini 3.5 Flash-LiteGoogle · sourceText/image/video input rate; audio input is priced separately.current$32.25$387.00
Gemini 3.8 FlashGoogle · sourceListed rates run through 31 December 2026; from 1 January 2027 the listed rates are $1.50 input / $7.50 output.current$61.88$742.50
GPT-6.1 TerraOpenAI · sourceUp to 272K input tokens; above that, $2.00 / $7.50 for the full request.current$82.50$990.00
Claude Haiku 4.5Anthropic · sourcelegacy (still available)$82.50$990.00
DeepSeek V4 Pro (peak-hour rate)DeepSeek · sourceCache-miss input. Peak rate shown; off-peak is half: $0.66 / $1.98.current$89.10$1069.20
GPT-6.1 SolOpenAI · sourceUp to 272K input tokens; above that, $4.00 / $15.00 for the full request.current$165.00$1980.00
Claude Sonnet 5.5Anthropic · source1M-token context window at this rate.current$165.00$1980.00
Claude Sonnet 5Anthropic · sourceThe $2/$10 launch price became the standard price; the planned increase to $3/$15 was cancelled.legacy (still available)$165.00$1980.00
Gemini 3.1 Pro (Preview)Google · sourcePrompts up to 200K tokens; above that, $4.00 input / $18.00 output.preview$180.00$2160.00
GPT-5.6 SolOpenAI · sourcePromotional pricing listed until 30 November 2026; above 272K input tokens, $8.00 / $30.00.previous generation$330.00$3960.00
Claude Opus 5.5Anthropic · source1M-token context window at this rate.current$330.00$3960.00

Sorted by estimated token cost, not by quality — a cheaper model that fails your task can cost more per accepted result. List prices verified 2026-11-08. Excludes caching, batch discounts, regional uplifts, tool charges, retries, retrieval, hosting and review time.

How the estimate is calculated

For simple standard pricing, one model call per request:

monthly cost = requests/day × days/month × ((input tokens × input price + output tokens × output price) ÷ 1,000,000)

Worked example: 1,000 requests a day for 30 days, 1,500 input and 250 output tokens per request.

Worked cost example
ModelInput / output $ per 1MCost per requestMonthly
GPT-6 Luna$0.10 / $0.50$0.000275$8.25
Gemini 3.5 Flash-Lite$0.30 / $2.50$0.001075$32.25
Claude Sonnet 5.5$2.00 / $10.00$0.005500$165.00

Special pricing — long-context tiers, caching, batch discounts, peak and off-peak rates, scheduled price changes — is not folded into the formula. The notes beside each model say when a different rate applies; use the manual-rate fields to model your own deal or a gateway's price.

API charges are not the whole bill

The calculator covers token charges. A production workflow also pays for:

  • Retries and multi-step calls — each retry or tool round-trip is billed again. Count calls, not just user requests.
  • Caching and batch discounts — these lower the input or total rate where the provider supports them, but write charges, minimum lengths, expiry and eligible models differ.
  • Retrieval and OCR — embeddings, vector storage, reranking and document extraction are separate line items.
  • Hosting and monitoring — logging, evaluation runs, queues and any self-hosted inference capacity.
  • Human review — often the largest cost. Divide total workflow cost by accepted results, not by requests.

To compare models on that basis, run the same fixed test set through each and record accepted results and reviewer minutes — see how to evaluate LLMs for your own task.

Prices and sources

Standard list prices in USD per million tokens, checked against each provider's own page on 2026-11-08. Provider prices and model availability change; confirm on the linked page before committing a budget.

Model prices, status and sources
Model IDInputOutputStatusSource
gpt-6-luna$0.10$0.50currentOpenAI
gpt-6.1-terra$1.00$5.00currentOpenAI
gpt-6.1-sol$2.00$10.00currentOpenAI
gpt-5.6-sol$4.00$20.00previous generationOpenAI
gpt-5.6-luna$0.20$1.20previous generationOpenAI
claude-haiku-5-5$0.10$0.50currentAnthropic
claude-sonnet-5-5$2.00$10.00currentAnthropic
claude-opus-5-5$4.00$20.00currentAnthropic
claude-sonnet-5$2.00$10.00legacy (still available)Anthropic
claude-haiku-4-5$1.00$5.00legacy (still available)Anthropic
gemini-3.5-flash-lite$0.30$2.50currentGoogle
gemini-3.8-flash$0.75$3.75currentGoogle
gemini-3.1-pro-preview$2.00$12.00previewGoogle
gemini-2.5-flash-lite$0.10$0.40previous generationGoogle
deepseek-flash$0.30$1.20currentDeepSeek
deepseek-v4-pro$1.32$3.96currentDeepSeek
mistral-small-4$0.15$0.60currentMistral AI

Where a model has tiered or scheduled pricing, the calculator uses the base rate shown here and the notes in the results table give the exceptions. DeepSeek is shown at its peak-hour rate; its off-peak rate is half.