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.
| Model | Status | Monthly | Annual |
|---|---|---|---|
| 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 · source | legacy (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.
| Model | Input / output $ per 1M | Cost per request | Monthly |
|---|---|---|---|
| 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 ID | Input | Output | Status | Source |
|---|---|---|---|---|
| gpt-6-luna | $0.10 | $0.50 | current | OpenAI |
| gpt-6.1-terra | $1.00 | $5.00 | current | OpenAI |
| gpt-6.1-sol | $2.00 | $10.00 | current | OpenAI |
| gpt-5.6-sol | $4.00 | $20.00 | previous generation | OpenAI |
| gpt-5.6-luna | $0.20 | $1.20 | previous generation | OpenAI |
| claude-haiku-5-5 | $0.10 | $0.50 | current | Anthropic |
| claude-sonnet-5-5 | $2.00 | $10.00 | current | Anthropic |
| claude-opus-5-5 | $4.00 | $20.00 | current | Anthropic |
| claude-sonnet-5 | $2.00 | $10.00 | legacy (still available) | Anthropic |
| claude-haiku-4-5 | $1.00 | $5.00 | legacy (still available) | Anthropic |
| gemini-3.5-flash-lite | $0.30 | $2.50 | current | |
| gemini-3.8-flash | $0.75 | $3.75 | current | |
| gemini-3.1-pro-preview | $2.00 | $12.00 | preview | |
| gemini-2.5-flash-lite | $0.10 | $0.40 | previous generation | |
| deepseek-flash | $0.30 | $1.20 | current | DeepSeek |
| deepseek-v4-pro | $1.32 | $3.96 | current | DeepSeek |
| mistral-small-4 | $0.15 | $0.60 | current | Mistral 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.
Read the model comparisons
- Claude Haiku 4.5 vs Gemini 2.5 Flash-Lite (2026)Claude Haiku 4.5 vs Gemini 2.5 Flash-Lite on price, context, latency and instruction following for high-volume support and chat workloads. August 2026.
- Claude Sonnet 5 vs Llama 4 (2026) — Frontier API vs Open WeightsClaude Sonnet 5 vs Llama 4 on coding, agents, long context, cost and control. When a hosted frontier model beats an open one you can self-host. August 2026.
- DeepSeek V4 vs GPT-5.6 (2026) — Cost, Coding & Where Each One WinsDeepSeek V4 vs GPT-5.6 compared on coding, cost, tool use and self-hosting. When the cheaper model is genuinely good enough, and when it isn't. August 2026.
- Gemini vs DeepSeek V4 (2026) — Context, Cost & RAG Fit ComparedGemini 3.1 Pro and 2.5 Flash-Lite vs DeepSeek V4 on context window, price, latency and self-hosting. Which fits RAG and long-document work in 2026. August 2026.