AI Token Cost Calculator
AI Cost Calculator estimates what an LLM API call costs from token counts and per-million pricing for GPT, Claude, Gemini and more, with no key and no account.
Input Cost
$0.00007500
Output Cost
$0.00015000
Total Cost
$0.00000000
About LLM and AI Model Pricing
LLM pricing varies based on the complexity and capabilities of the model. Providers charge per token, typically measured per 1 million tokens for both input (prompts) and output (responses).
A token is roughly 4 characters or about 3/4 of a word in English. The cost calculation above shows the estimated price based on the current token pricing for each model.
Note: Prices may change over time as providers update their pricing models.
LLM API Pricing Comparison
| Model | Input / 1M tokens | Output / 1M tokens |
|---|---|---|
| Gemini 2.0 Flash-Lite | $0.075 | $0.3 |
| Mistral 3.1 Small | $0.1 | $0.3 |
| Gemini 2.0 Flash | $0.1 | $0.4 |
| ChatGPT 4.1-nano | $0.1 | $0.4 |
| DeepSeek v3 (old) | $0.14 | $0.28 |
| ChatGPT 4o-mini | $0.15 | $0.6 |
| DeepSeek v3 | $0.27 | $1.1 |
| Grok 3-mini | $0.3 | $0.5 |
| ChatGPT 4.1-mini | $0.4 | $1.6 |
| DeepSeek r1 | $0.55 | $2.19 |
| ChatGPT o3-mini | $1.1 | $4.4 |
| Gemini 2.5 Pro | $1.25 | $10 |
| ChatGPT 4.1 | $2 | $8 |
| ChatGPT 4o | $2.5 | $10 |
| Claude 3.5 Sonnet | $3 | $15 |
| Grok 3 | $3 | $15 |
| ChatGPT o1 | $15 | $60 |
| ChatGPT 4.5 | $75 | $150 |
| O1 Pro | $150 | $600 |
All prices are per 1 million tokens, as published by each provider; use the calculator above to price your exact token counts.
At a glance
- Accepts
- Token counts and a model you pick
- Outputs
- Estimated cost per call and per million tokens
- Where it runs
- Entirely in your browser, on your device
- What leaves your device
- Nothing - what you type stays in this tab
- Limits
- An estimate from listed prices, not a billing figure
- Account
- Not required - there is no sign-up
- Price
- Free, with no watermark and no usage cap
Pick an LLM - GPT, Claude, Gemini, DeepSeek, Grok, or Mistral - enter how many input and output tokens you expect to use, and see a cost breakdown immediately. This is an LLM pricing calculator and AI cost calculator in one. The math - (tokens / 1,000,000) x price per million - runs in your browser against a fixed pricing table; no API key, account, or usage data ever leaves your machine.
How to use it
- Choose an AI model from the dropdown.
- Enter expected input and output token counts, or click a preset from 500 tokens up to 1M tokens.
- Read the input, output, and total cost - they update as you type.
- Click "Share This Calculation" to copy a URL that reproduces the same model and token counts.
Frequently asked questions
Does this send my token counts or usage anywhere?
No - the whole calculation is (tokens / 1,000,000) x price per million, run in your browser. Nothing you enter is transmitted anywhere.
How accurate are the listed prices?
They're per-million-token input and output rates hardcoded into this page as a snapshot. Providers change pricing over time, so check the provider's own pricing page before making a decision based on these numbers.
What do input and output tokens mean?
Input tokens are what you send the model (the prompt); output tokens are what it generates back (the response). Most providers price the two differently, which is why the calculator asks for both separately.
What does the Share This Calculation button do?
It copies the current page URL to your clipboard, with your model choice and token counts encoded as query parameters. Opening that link reproduces the same numbers - it's just a URL, not a record saved on any server.
Can I price a model that isn't on the list?
Not directly - the dropdown only includes the models built into this page. You can still do the math yourself: (input tokens / 1,000,000 x input price) + (output tokens / 1,000,000 x output price), using whatever per-million rate the provider publishes.
How do I calculate LLM API pricing?
Multiply your input tokens by the provider's input price per 1M tokens, and your output tokens by the output price, then add them. This calculator does that math for every model in the list - for example, 100K input and 50K output tokens on ChatGPT 4o cost $0.25 + $0.50 = $0.75.