LLM API cost calculator

Estimate monthly Claude, GPT, and Gemini costs from your volume and token counts. Compare 13 models side by side, right in your browser.

Prices checked against official provider pages on October 20, 2026.

Start from an example

Cheapest for this workload: Claude Haiku 5.5 at $46.50 a month.

Estimated monthly cost by model, cheapest first
ModelPer requestPer month
Claude Haiku 5.5Anthropic · $0.1 in / $0.5 outPrompts up to 100K tokens. Longer prompts cost 5x more.$0.0002$46.50
GPT-6 LunaOpenAI · $0.1 in / $0.5 out$0.0002$46.50
Gemini 3.5 Flash-LiteGoogle · $0.3 in / $2.5 out$0.0012$240
Gemini 3.8 FlashGoogle · $0.75 in / $3.75 outRises to $1.50 / $7.50 on January 1, 2027.$0.0022$450
Claude Haiku 4.5Anthropic · $1 in / $5 out$0.0023$465
Claude Sonnet 5.5Anthropic · $2 in / $10 out$0.0046$915
GPT-6.1 SolOpenAI · $2 in / $10 out$0.0046$915
Gemini 4 ArgonGoogle · $2 in / $10 outRises to $4 / $20 on December 1, 2026.$0.0060$1,200
Gemini 3.1 Pro (preview)Google · $2 in / $12 outPrompts up to 200K tokens.$0.0066$1,320
Claude Opus 5.5Anthropic · $4 in / $20 out$0.0092$1,830
GPT-5.5OpenAI · $5 in / $30 outPrompts up to 272K tokens.$0.0131$2,625
Claude Fable 5.1Anthropic · $10 in / $50 out$0.0227$4,538
GPT-6 AstraOpenAI · $10 in / $50 out$0.0232$4,650

A worked example: a support chatbot

Say a chatbot handles 200,000 conversations a month. Each sends about 1,500 tokens in, including a shared system prompt, and gets about 300 tokens back. Half the input is served from cache. Here is the monthly bill across six models, at the prices checked on October 20, 2026.

Estimated monthly cost of the support chatbot by model
ModelPer requestPer month
Claude Haiku 5.5$0.0002$46.50
GPT-6 Luna$0.0002$46.50
Claude Sonnet 5.5$0.0046$915
GPT-6.1 Sol$0.0046$915
Claude Opus 5.5$0.0092$1,830
Claude Fable 5.1$0.0227$4,538

The cheapest option here, Claude Haiku 5.5, costs $46.50 a month. The most expensive, Claude Fable 5.1, costs $4,538, about 98 times as much for the same traffic. Whether the extra capability is worth that is a quality question the calculator can’t answer, but it does show what you’re paying for the answer.

What moves the bill most

How the estimate works

How is LLM API cost calculated?
Providers charge per million tokens, with separate rates for input and output. Cost per request is input tokens times the input rate, plus output tokens times the output rate. Multiply by your monthly request volume for a monthly estimate.
How much does prompt caching save?
Cached input is billed at a fraction of the normal input rate, often a tenth or less. It pays off when many requests share a long, repeated prefix such as a system prompt, a document, or a codebase.
What is batch pricing?
Anthropic and OpenAI discount batch API requests by 50% in exchange for results within about 24 hours. It suits summarization, classification, and evaluation jobs that don't need an immediate answer.
What does this calculator leave out?
Extra charges for cache writes, long-context price tiers, tool and search fees, reasoning tokens that you can't predict, and taxes. Treat the result as a planning estimate, not a quote.

I’m Courtney Stephenson, an AI strategy and implementation leader, and I built this tool. If you’re planning an AI rollout and want to talk costs, get in touch.

Want a second opinion on your results?

Book a free 15-minute call and we’ll talk through what this means for your team.

Book a 15-minute call