🛠️Developer
🤖
AI API Cost Comparator
Developer

Request Configuration

Cost Comparison (12 models, sorted by monthly cost)

ModelProviderInput / 1MOutput / 1MPer RequestMonthly CostSpeedQuality
GPT-4o MiniCHEAPESTOpenAI$0.15$0.60$0.0019$19.50medium
Gemini 2.5 FlashGoogle$0.15$0.60$0.0019$19.50medium
Llama 4 MaverickMeta / Together$0.20$0.80$0.0026$26.00medium
DeepSeek V3DeepSeek$0.27$1.10$0.0036$35.50🔄medium
GPT-4.1 MiniOpenAI$0.40$1.60$0.0052$52.00medium
Claude 4 HaikuAnthropic$0.80$4.00$0.01$120.00medium
GPT-4.1OpenAI$2.00$8.00$0.03$260.00🔄high
Gemini 2.5 ProGoogle$1.25$10.00$0.03$262.50🔄high
GPT-4oOpenAI$2.50$10.00$0.03$325.00high
Claude 4 SonnetAnthropic$3.00$15.00$0.05$450.00🔄high
Grok 3xAI$3.00$15.00$0.05$450.00🔄high
Claude 4 OpusAnthropic$15.00$75.00$0.22$2,250.00🐢high

Monthly Cost Visualization

GPT-4o Mini
$19.50
Gemini 2.5 Flash
$19.50
Llama 4 Maverick
$26.00
DeepSeek V3
$35.50
GPT-4.1 Mini
$52.00
Claude 4 Haiku
$120.00
GPT-4.1
$260.00
Gemini 2.5 Pro
$262.50
GPT-4o
$325.00
Claude 4 Sonnet
$450.00
Grok 3
$450.00
Claude 4 Opus
$2,250.00
Data Source & Legal Disclaimer
Effective: 2026-06-01
Last updated: 2 weeks ago
Update frequency: Manual review
Sources: OpenAI Pricing · Anthropic Pricing · Google AI Pricing · Together AI Pricing · DeepSeek Pricing

API prices are subject to change without notice. Batch pricing applies to async requests with 24-hour turnaround. Context caching and other discounts not included. Verify current prices on each provider's website before making purchasing decisions.

💡

About This Tool

Free AI API cost comparator — compare pricing for GPT-4o, Claude 4, Gemini 2.5, DeepSeek, Llama, and 7 more models. Input/output token costs, batch discounts, monthly estimates. No signup.

12+ modelsBatch pricingMonthly estimate

Related Tools

Explore more developer tools on FreeToolHub.

🪙
LLM Token & Cost Calculator
Estimate token count and API cost for GPT-4o, Claude, Gemini, Llama — 10 models
🤖
AI Prompt Generator
Generate structured prompts for ChatGPT, Claude, Gemini — pick a role, describe, copy
{}
JSON Formatter & Validator
Format, validate, and minify JSON data with syntax error highlighting
🔐
JWT Decoder / Debugger
Decode JWT tokens locally — no upload, no tracking, no server

😂 Joke of the Day

What do you call a bear with a bad attitude?

This tool is free, and always will be.

No paywalls, no signups, no data sold. Built by a solo developer who believes useful tools should be accessible to everyone.

Support me on Ko-fi— keep tools free

100% of proceeds go towards hosting & building more free tools.