AI API Cost Calculator — Compare LLM Pricing
Estimate and compare API costs across 14 major LLM models. Adjust input/output tokens and request volume to find the cheapest provider.
Compare API costs across GPT-4, Claude, Gemini, Llama, DeepSeek & more. Estimate per-request, daily, and monthly expenses.
| Model | Provider | Per Request | Daily | Monthly | $/M Input | $/M Output |
|---|---|---|---|---|---|---|
| Gemini 1.5 Flash | $0.0002 | $0.022 | $0.675 | $0.07 | $0.30 | |
| GPT-4o mini | OpenAI | $0.0004 | $0.045 | $1.35 | $0.15 | $0.60 |
| DeepSeek V3 | DeepSeek | $0.0008 | $0.082 | $2.46 | $0.27 | $1.10 |
| Claude 3 Haiku | Anthropic | $0.0009 | $0.088 | $2.63 | $0.25 | $1.25 |
| Llama 3.1 405B (Groq) | Meta/Groq | $0.0010 | $0.099 | $2.96 | $0.59 | $0.79 |
| Llama 3.1 70B (Groq) | Meta/Groq | $0.0010 | $0.099 | $2.96 | $0.59 | $0.79 |
| GPT-3.5 Turbo | OpenAI | $0.0013 | $0.125 | $3.75 | $0.50 | $1.50 |
| Gemini 1.5 Pro | $0.0037 | $0.375 | $11.25 | $1.25 | $5.00 | |
| Mistral Large | Mistral | $0.0075 | $0.750 | $22.50 | $3.00 | $9.00 |
| Claude 3.5 Sonnet | Anthropic | $0.010 | $1.05 | $31.50 | $3.00 | $15.00 |
| Cohere Command R+ | Cohere | $0.010 | $1.05 | $31.50 | $3.00 | $15.00 |
| GPT-4o | OpenAI | $0.013 | $1.25 | $37.50 | $5.00 | $15.00 |
| GPT-4 Turbo | OpenAI | $0.025 | $2.50 | $75.00 | $10.00 | $30.00 |
| Claude 3 Opus | Anthropic | $0.052 | $5.25 | $157.50 | $15.00 | $75.00 |
Estimate and compare API costs across major LLM providers. Prices are approximate and may change — check provider pricing pages for the latest rates.
DevUtility Hub is free forever. If it helped you, consider buying us a coffee.
Buy Me a CoffeeGPT-4o access with priority, plugins & file uploads
AI pair programmer — autocomplete entire functions
AI-first code editor — chat with your codebase
Sponsored links
Sponsored
Estimate and compare API costs across 14 major LLM models. Adjust input/output tokens and request volume to find the cheapest provider.
Sanitize text before sending to AI. Removes PII, API keys, URLs, code comments, and estimates token count.
Prepare text for AI summarization. Remove noise, format structure, estimate tokens, and generate optimal summarization prompts.
Prepare code snippets for AI explanation. Strip sensitive data, add context markers, detect language, and generate explanation prompts.
Calculate and convert aspect ratios for responsive design. Find dimensions, compare common ratios like 16:9 and 4:3.
Convert text between UPPER CASE, lower case, Title Case, camelCase, snake_case, and more.
Count words, characters, sentences, and paragraphs in your text. Estimate reading time instantly.