50+ AI Models
AI API Cost Calculator
Calculate costs for OpenAI, Anthropic Claude and Google Gemini APIs with all available models.
New: New: All Claude 4 and Gemini 2.5 models now available! Compare 50+ different AI models.
Filter & Search
Find the perfect model for your requirements
47 models found
Calculation
Enter your parameters to calculate costs
≈ 1000 Tokens
≈ 1000 Tokens
Total cost:$0.0187
Cost per call:$0.000188
Input cost:$0.0037
Output cost:$0.0150
Model Comparison
Cost comparison of all available AI models
| Model | API Provider | Input $/1M | Output $/1M | Context | Total Cost |
|---|---|---|---|---|---|
Gemini 1.5 Flash-8B Smallest model for simple tasks | $0.04 | $0.15 | 1M | $0.0187 Cheapest Option | |
Gemini 2.0 Flash-Lite Optimized for scaling | $0.07 | $0.30 | 1M | $0.0375 | |
Gemini 1.5 Flash Fast multimodal model | $0.07 | $0.30 | 1M | $0.0375 | |
GPT-5 Nano Most cost-effective GPT-5 model with impressive performance | OpenAI | $0.05 | $0.40 | 272K | $0.0450 |
Llama 4 Scout 109B parameter open-source model | Groq / Together AI | $0.11 | $0.34 | 10M | $0.0450 |
Gemini 2.5 Flash-Lite Most cost-effective Gemini model | $0.10 | $0.40 | 1M | $0.0500 | |
Gemini 2.0 Flash Balanced multimodal model | $0.10 | $0.40 | 1M | $0.0500 | |
GPT-4o-mini Fastest and most cost-effective GPT-4o model | OpenAI | $0.15 | $0.60 | 128K | $0.0750 |
Grok 3 Mini Budget-friendly Grok model | xAI | $0.30 | $0.50 | 131K | $0.0800 |
Mistral Small Compact and fast model | Mistral AI | $0.20 | $0.60 | 128K | $0.0800 |
Llama 4 Maverick 400B parameter premium performance | Groq / Together AI | $0.50 | $0.77 | 1M | $0.1270 |
Claude Haiku 3 Older Haiku model - very affordable | Anthropic | $0.25 | $1.25 | 200K | $0.1500 |
GPT-4.1-mini Compact model with excellent price-performance ratio | OpenAI | $0.40 | $1.60 | 1M | $0.2000 |
GPT-3.5 Turbo Classic ChatGPT model | OpenAI | $0.50 | $1.50 | 16K | $0.2000 |
GPT-5 Mini 80% of GPT-5 performance at 20% of the cost | OpenAI | $0.25 | $2.00 | 272K | $0.2250 |
Gemini 2.5 Flash Hybrid reasoning with adaptive thinking | $0.30 | $2.50 | 1M | $0.2800 | |
Claude Haiku 3.5 Fastest and most affordable Claude model | Anthropic | $0.80 | $4.00 | 200K | $0.4800 |
o1-mini Compact reasoning model | OpenAI | $1.10 | $4.40 | 128K | $0.5500 |
o3-mini Newest mini reasoning model | OpenAI | $1.10 | $4.40 | 200K | $0.5500 |
o4-mini Latest generation mini reasoning | OpenAI | $1.10 | $4.40 | 200K | $0.5500 |
Gemini 1.5 Pro Highest intelligence with 2M token context | $1.25 | $5.00 | 2M | $0.6250 | |
GPT-3.5 Turbo 16K GPT-3.5 with extended context | OpenAI | $3.00 | $4.00 | 16K | $0.7000 |
Mistral Large 2 Flagship with 128K context | Mistral AI | $2.00 | $6.00 | 128K | $0.8000 |
GPT-4.1 GPT-4.1 generation with extended context | OpenAI | $2.00 | $8.00 | 1M | $1.0000 |
o3 Improved o3 with 80% price reduction | OpenAI | $2.00 | $8.00 | 200K | $1.0000 |
GPT-5 Flagship model with reasoning and multimodal capabilities | OpenAI | $1.25 | $10.00 | 272K | $1.1250 |
GPT-5 Chat Optimized for conversations and dialogues | OpenAI | $1.25 | $10.00 | 272K | $1.1250 |
GPT-4o Optimized GPT-4 model | OpenAI | $2.50 | $10.00 | 128K | $1.2500 |
GPT-4o Audio GPT-4o with audio processing (text) | OpenAI | $2.50 | $10.00 | 128K | $1.2500 |
Gemini 2.5 Pro State-of-the-art thinking model with Deep Think | $2.50 | $15.00 | 1M | $1.7500 | |
Claude Sonnet 4.5 Latest Sonnet with improved performance | Anthropic | $3.00 | $15.00 | 200K | $1.8000 |
Claude Sonnet 4 Optimal balance between intelligence and cost | Anthropic | $3.00 | $15.00 | 200K | $1.8000 |
Claude Sonnet 3.7 Improved Sonnet model | Anthropic | $3.00 | $15.00 | 200K | $1.8000 |
Claude Sonnet 3.5 Proven Sonnet model | Anthropic | $3.00 | $15.00 | 200K | $1.8000 |
Grok 4 Latest flagship model with reasoning | xAI | $3.00 | $15.00 | 256K | $1.8000 |
Grok 3 Standard Grok with 1M context | xAI | $3.00 | $15.00 | 131K | $1.8000 |
GPT-4o Realtime Real-time processing with GPT-4o (text) | OpenAI | $5.00 | $20.00 | 128K | $2.5000 |
Grok 4 Heavy Most powerful Grok model (SuperGrok Heavy) | xAI | $5.00 | $25.00 | 256K | $3.0000 |
Grok 3 Speed Fastest Grok variant | xAI | $5.00 | $25.00 | 131K | $3.0000 |
GPT-4 Turbo Faster GPT-4 variant | OpenAI | $10.00 | $30.00 | 128K | $4.0000 |
o1 Advanced reasoning model | OpenAI | $15.00 | $60.00 | 200K | $7.5000 |
GPT-4 Original GPT-4 model | OpenAI | $30.00 | $60.00 | 8K | $9.0000 |
Claude Opus 4.1 Latest Opus with 74.5% SWE-bench score | Anthropic | $15.00 | $75.00 | 200K | $9.0000 |
Claude Opus 4 Intelligent Claude model | Anthropic | $15.00 | $75.00 | 200K | $9.0000 |
Claude Opus 3 Previous generation with high intelligence | Anthropic | $15.00 | $75.00 | 200K | $9.0000 |
o3-pro Premium o3 model with maximum performance | OpenAI | $25.00 | $100.00 | 200K | $12.5000 |
GPT-4-32K GPT-4 with extended context | OpenAI | $60.00 | $120.00 | 32K | $18.0000 |
Note on Pricing
Displayed prices are based on official API pricing (as of September 2025). Audio and Realtime models show text-based prices only. Gemini prices may vary by context length (standard prices shown). Actual costs may vary based on usage, discounts, and specific features.
Frequently Asked Questions
Important information about using AI APIs
Token Conversion & Examples
Understand how tokens are counted
Average Conversions
1 Token≈ 4 characters (English)
1 Token≈ 2-3 characters (German)
1 Word≈ 1.3 tokens
1 Sentence (15 words)≈ 20 tokens
1 Paragraph (100 words)≈ 130 tokens
Typical Use Cases
Simple Q&A
Input: ~50 tokens, Output: ~100 tokens
Gemini 1.5 Flash-8B: $0.000017 | GPT-4o-mini: $0.000068 | Claude Haiku 3: $0.000138
Text Summary
Input: ~1000 tokens, Output: ~200 tokens
Gemini Flash-8B: $0.000068 | Gemini 2.0 Flash-Lite: $0.000135 | GPT-4o-mini: $0.000195
Code Generation
Input: ~200 tokens, Output: ~500 tokens
≈ $0.00031 with GPT-4o-mini | ≈ $0.00053 with Claude Haiku 3
Complex Reasoning
Input: ~500 tokens, Output: ~1000 tokens
≈ $0.00495 with O3 | ≈ $0.01875 with O1
Changelog
Die neuesten Updates und Verbesserungen unseres API Cost Calculator
v2.0.0September 15, 2025
Major Update with New Models
- • Added GPT-5 series (Nano, Mini, Standard, Chat)
- • Claude 4.1 Opus with 74.5% SWE-bench score
- • Added Claude 4.5 Sonnet
- • xAI Grok models (Grok 3 & 4 series)
- • Meta Llama 4 models (Scout & Maverick)
- • Added Mistral Large 2 and Small
- • Updated Gemini 2.5 Pro pricing
- • Total of 50+ AI models available
v1.2.1July 23, 2025
Changelog Added
- • Added changelog section to API cost calculator
v1.2.0July 22, 2025
Major Update
- • Added all Claude 4 and Gemini 2.5 models
- • Implemented comprehensive filter and sort functions
- • Extended comparison options for 36 AI models
v1.1.0July 22, 2025
New Models
- • Added GPT-4.1 series with 1M token context
- • Updated O3 model with 80% price reduction
- • Integrated new audio and realtime model variants
v1.0.0July 22, 2025
Initial Release
- • Initial version with 21 OpenAI models
- • Token conversion for words and characters
- • Interactive cost calculation and comparison table