Compare pricing across OpenAI, Anthropic, and Google language models.
| Provider | Model | Input Cost | Output Cost | Total Est. Cost |
|---|---|---|---|---|
| OpenAI | GPT-4o | $5.00 | $7.50 | $12.50 |
| OpenAI | GPT-4o mini | $0.15 | $0.30 | $0.45 |
| Anthropic | Claude 3.5 Sonnet | $3.00 | $7.50 | $10.50 |
| Anthropic | Claude 3 Haiku | $0.25 | $0.63 | $0.88 |
| Anthropic | Claude 3 Opus | $15.00 | $37.50 | $52.50 |
| Gemini 1.5 Pro | $3.50 | $5.25 | $8.75 | |
| Gemini 1.5 Flash | $0.07 | $0.15 | $0.22 | |
| Meta | Llama 3 70B (via API) | $0.50 | $0.25 | $0.75 |
LLM API Cost Calculator estimates monthly API costs across OpenAI, Anthropic, and Google based on input and output tokens.
LLM API Cost Calculator is a high-performance utility designed to help users streamline their workflow. Built with modern web technologies, it ensures fast processing times and high-quality outputs directly in your browser.
Costs are calculated using official pricing tiers (per 1M tokens) from OpenAI, Anthropic, and Google Cloud. The tool multiplies the user's estimated token volume by the provider's input and output rates.
A token is roughly 4 characters or 3/4 of a word.
We update our dataset regularly based on official provider pricing pages.