Input vs output token spend
Output tokens usually cost several times more than input, so answer length is what really drives your bill.
Home / Dev & AI / AI & LLM Cost / LLM Cost Calculator
AI & LLM Cost
Estimate the running cost of any large language model. Set your monthly volume and token sizes, choose a model, and this LLM cost calculator returns the monthly bill with a full 2026 price comparison across providers.
Estimated monthly cost
$0
Input vs output token spend
Output tokens usually cost several times more than input, so answer length is what really drives your bill.
The same workload priced across AI models
Your monthly token volume run through popular 2026 models, cheapest first.
A large language model is billed by usage, not by seat, so two teams running the same model can pay wildly different amounts. What matters is how many requests you make and how many tokens each one moves. This LLM cost calculator captures both and turns them into a monthly and annual figure.
Because model choice can swing the total by ten times or more, the tool prices your exact workload against the most used 2026 models at once. That makes it easy to spot when a smaller or open model would carry the same load for a fraction of the price.
A support assistant handles 250,000 requests a month at 1,500 input and 350 output tokens each. On Gemini 2.5 Flash that is 375M input × $0.30 + 87.5M output × $2.50 per million = $112.50 + $218.75 = about $331 a month. The same traffic on GPT-5 would be closer to $1,344.
| Model | Provider | Input / 1M tokens | Output / 1M tokens |
|---|---|---|---|
| GPT-5 | OpenAI | $1.25 | $10.00 |
| GPT-5 mini | OpenAI | $0.25 | $2.00 |
| Claude Opus 4.1 | Anthropic | $15.00 | $75.00 |
| Claude Sonnet 4.5 | Anthropic | $3.00 | $15.00 |
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 |
| Gemini 2.5 Pro | $1.25 | $10.00 | |
| Gemini 2.5 Flash | $0.30 | $2.50 | |
| DeepSeek V3 | DeepSeek | $0.27 | $1.10 |
| Grok 4 | xAI | $3.00 | $15.00 |
| Llama 4 Maverick | Meta | $0.20 | $0.60 |
Prices are public list estimates for planning as of July 2026 and change often. Providers bill per token, where roughly 1,000 tokens equals about 750 words. Always confirm live rates on the provider pricing page before you set a budget.
Three things: the model you pick, how many tokens each request uses, and how many requests you send. Output length and attached context are the usual culprits behind a surprise bill.
Not for every task. Smaller models like GPT-5 mini, Gemini Flash or DeepSeek V3 handle classification, extraction and routine chat well, so reserve premium models for the hard requests.
Start with 1,000 input and 500 output tokens as a rough default for a chat turn, then refine using your provider tokenizer once you have real prompts.
Some models charge a higher rate above a context threshold, such as very long inputs. For most everyday workloads the standard rate in this tool is what applies.
No, they are July 2026 planning estimates. Batch discounts and caching can lower real costs, so confirm with the provider.