Stop overpaying for AI APIs.
Compare pricing across OpenAI, Anthropic, Google, DeepSeek, and 6 more providers. Find the cheapest model for your use case in 30 seconds — free.
Free forever. No account needed. Compare 34 models in 30 seconds.
AI API Cost Calculator
Enter your usage to compare costs across providers instantly.
Monthly Cost Estimate
Based on published API pricing. Actual costs may vary.
Keyboard Shortcuts
Provider Comparison
Pricing per 1M tokens across 10 major LLM API providers (34 models).
| Provider | Model | Input (per 1M tokens) | Output (per 1M tokens) | Context Window |
|---|---|---|---|---|
| OpenAI | GPT-5 | $1.25 | $10.00 | 272K |
| OpenAI | GPT-5 mini | $0.25 | $2.00 | 272K |
| OpenAI | GPT-4o | $2.50 | $10.00 | 128K |
| OpenAI | GPT-4o mini | $0.15 | $0.60 | 128K |
| Anthropic | Claude 4 Opus | $15.00 | $75.00 | 200K |
| Anthropic | Claude Sonnet 4 | $3.00 | $15.00 | 200K |
| Anthropic | Claude Haiku 4.5 | $1.00 | $5.00 | 200K |
| Gemini 2.5 Pro | $1.25 | $10.00 | 1M | |
| Gemini 2.0 Flash | $0.10 | $0.40 | 1M | |
| Mistral | Large 3 | $0.50 | $1.50 | 128K |
| Mistral | Small 4 | $0.15 | $0.60 | 128K |
| Cohere | Command R+ | $2.50 | $10.00 | 128K |
| Cohere | Command R | $0.50 | $1.50 | 128K |
| Meta (Together.ai) | Llama 3.1 70B | $0.88 | $0.88 | 128K |
| Meta (Together.ai) | Llama 3.1 8B | $0.10 | $0.10 | 128K |
| AI21 | Jamba 1.5 Large | $2.00 | $8.00 | 256K |
| DeepSeek | V4 Pro | $0.44 | $0.87 | 1M |
| DeepSeek | V4 Flash | $0.14 | $0.28 | 1M |
| xAI | Grok 4.3 | $1.25 | $2.50 | 1M |
| xAI | Grok Build 0.1 | $0.30 | $0.50 | 256K |
| Moonshot | Kimi K2.6 | $0.90 | $3.75 | 256K |
Popular Model Comparisons
See how the most compared models stack up on price, context, and value.
GPT-4o vs Claude Sonnet 4
$2.50/$10 vs $3/$15 per 1M tokens Compare →GPT-4o mini vs Gemini Flash
$0.15/$0.60 vs $0.10/$0.40 per 1M tokens Compare →Gemini 2.5 Pro vs Claude Sonnet 4
$1.25/$10 vs $3/$15 per 1M tokens Compare →DeepSeek V4 Pro vs GPT-4o
$0.44/$0.87 vs $2.50/$10 per 1M tokens Compare →Claude 4 Opus vs GPT-5
$15/$75 vs $1.25/$10 per 1M tokens Compare →Llama 4 Scout vs DeepSeek V4 Flash
$0.11/$0.34 vs $0.14/$0.28 per 1M tokens Compare →GPT-5 mini vs Claude Haiku 4.5
$0.25/$2.00 vs $1.00/$5.00 per 1M tokens Full Comparison →GPT-5 mini vs Gemini 2.0 Flash
$0.25/$2.00 vs $0.10/$0.40 per 1M tokens Full Comparison →DeepSeek V4 Flash vs Gemini Flash Lite
$0.14/$0.28 vs $0.075/$0.30 per 1M tokens Full Comparison →GPT-5 mini vs DeepSeek V4 Flash
$0.25/$2.00 vs $0.14/$0.28 per 1M tokens Full Comparison →GPT-5 vs Claude Sonnet 4
$1.25/$10 vs $3/$15 per 1M tokens Full Comparison →GPT-5.5 vs Claude Opus 4.7
$5/$30 vs $5/$25 per 1M tokens Full Comparison →GPT-5 vs Claude vs Gemini
Interactive calculator with all models Full Comparison →GPT-5 vs DeepSeek V4 Pro
$1.25/$10 vs $0.44/$0.87 per 1M tokens Full Comparison →Claude Sonnet 4 vs Gemini 2.5 Pro
$3/$15 vs $1.25/$10 per 1M tokens Full Comparison →AI Coding Assistant Costs
$10-39/mo subscriptions + API cost breakdown Full Comparison →Open Source vs Commercial LLM
GPU costs vs per-token pricing with break-even analysis Full Comparison →AI Provider Comparison
10 providers, models, pricing, and features side by side Compare Providers →Claude vs ChatGPT
Opus 4.7, Sonnet 4, Haiku vs GPT-5, GPT-4o, GPT-4o mini Compare Claude vs ChatGPT →Gemini vs ChatGPT
Flash Lite, Flash, 2.5 Pro vs GPT-5, GPT-4o, GPT-4o mini Compare Gemini vs ChatGPT →Claude vs DeepSeek
Opus 4.7, Sonnet 4, Haiku vs V4 Pro, V4 Flash Compare Claude vs DeepSeek →Gemini vs Claude
Flash Lite, Flash, 2.5 Pro vs Sonnet 4, Opus 4.7, Haiku Compare Gemini vs Claude →Gemini vs DeepSeek
Flash Lite, Flash, 2.5 Pro vs V4 Pro, V4 Flash Compare Gemini vs DeepSeek →ChatGPT vs DeepSeek
GPT-5, GPT-5 mini, GPT-4o vs V4 Pro, V4 Flash Compare ChatGPT vs DeepSeek →Mistral vs DeepSeek
Large 3, Small 4 vs V4 Pro, V4 Flash Compare Mistral vs DeepSeek →OpenAI vs Google
GPT-5, GPT-4o vs Gemini 2.5 Pro, Flash Compare OpenAI vs Google →xAI Grok vs OpenAI
Grok 4.3, Grok Build 0.1 vs GPT-5, GPT-5.5 Compare xAI Grok vs OpenAI →xAI Grok vs Google
Grok 4.3, Grok Build 0.1 vs Gemini Flash, 2.5 Pro, 3.1 Pro Compare xAI Grok vs Google →OpenAI vs DeepSeek
GPT-5, GPT-5.5, GPT-oss vs DeepSeek V4 Pro, V4 Flash Compare OpenAI vs DeepSeek →OpenAI vs Anthropic
GPT-5, GPT-5.5 vs Claude Opus 4.7, Sonnet 4.6, Haiku 4.5 Compare OpenAI vs Anthropic →Anthropic vs Google
Opus 4.7, Sonnet 4.6, Haiku vs Gemini Flash, 2.5 Pro, 3.1 Pro Compare Anthropic vs Google →Mistral vs Google
Mistral Large 3, Small 4 vs Gemini Flash Lite, Flash, 2.5 Pro, 3.1 Pro Compare Mistral vs Google →Mistral vs Anthropic
Mistral Large 3, Small 4 vs Haiku 4.5, Sonnet 4, Opus 4.7 Compare Mistral vs Anthropic →Stop overpaying for AI APIs
Everything you need to make smart decisions about API costs.
Instant Calculations
See costs update in real-time as you adjust tokens, requests, and providers. No waiting, no loading.
Multi-Provider Compare
Compare pricing across 10 providers — OpenAI, Anthropic, Google, DeepSeek, Mistral, Meta, xAI, and more. Find the cheapest option.
Cost Optimization
Get recommendations to reduce costs by up to 40%. Switch models, batch requests, optimize prompts.
Scenario Modeling
Save and compare different usage scenarios. Plan for growth, test edge cases, model budgets.
PDF Reports
Export professional cost reports for stakeholders. Share budget plans with your team.
Pricing Updates
Subscribe to get notified when we update pricing data. Stay informed about cost changes across providers.
Free Pricing API
JSON API with 34 models from 10 providers. Use in your tools, dashboards, and CI/CD pipelines. No key needed.
Pricing Badges
Embed live AI pricing badges in your README, docs, or blog. Shields.io-style SVG badges via a simple API URL. Learn more →
Embeddable Widgets
Drop-in pricing tables, badges, and comparisons for your docs or blog. One script tag, auto-updating.
Cost Leak Detector
Find where you're overpaying for AI APIs. Select your model, see cheaper alternatives with exact monthly savings. Try it free →
API Cost Report Card
Grade your AI API spending efficiency. See how you compare to optimal, get a shareable report card. Get your grade →
Explore Our Tools
Free interactive tools for AI API cost planning
Why developers choose APIpulse
Built for engineers who need real numbers, not marketing fluff
"GPT-4o mini at $0.15/$0.60 per 1M tokens handles 80% of chatbot requests — that's 1/17th the cost of GPT-4o. APIpulse makes these savings obvious."
"Gemini 2.0 Flash at $0.10/$0.40 per 1M tokens is the cheapest option for high-volume apps. With 1M context window, it handles document analysis at budget prices."
"Bookmarked. I was manually comparing Claude vs GPT pricing in a spreadsheet last week. Does it update automatically when providers change prices?"
What's New
LIVESimple, one-time pricing
No subscriptions. Pay once, use forever.
Free
- Basic cost calculator
- 34 models across 10 providers
- Provider comparison table
- Real-time calculations
Pro
- Everything in Free
- Save & compare up to 10 scenarios
- Export professional cost reports
- Personalized optimization tips
- Priority email support
- Early access to new features
Frequently Asked Questions
Quick answers about APIpulse and AI API pricing
Our calculator uses published API pricing from each provider, updated regularly. Results are estimates based on token counts — actual costs may vary slightly depending on your specific usage patterns, but they're typically within 5-10% of your real bill.
APIpulse supports 34 models across 10 providers: OpenAI, Anthropic, Google, DeepSeek, Mistral, Cohere, Meta (via Together.ai), Moonshot, xAI, and AI21. We cover both premium models (GPT-5.5, Claude Opus 4.7, Gemini 3.1 Pro) and budget options (GPT-4o mini, Claude Haiku 4.5, Gemini 2.0 Flash, DeepSeek V4 Flash).
Pro ($29 one-time) includes: saved scenarios (compare up to 10 configurations), export professional cost reports, and personalized optimization recommendations that can save you up to 40%. Plus priority email support and early access to new features. It's a lifetime purchase — no subscription.
The biggest savings come from using the right model for each task — route simple requests to budget models like GPT-4o mini and reserve premium models for complex reasoning. Other strategies include prompt optimization, response caching, batch processing, and setting token limits. Our calculator helps you model these scenarios.
Yes! The cost calculator, provider comparison table, and all blog content are completely free. The Pro plan ($29 one-time) adds advanced features like saved scenarios, cost report export, and optimization recommendations, but the core tool is free forever.
Ready to stop overpaying?
Join developers who use APIpulse to find the cheapest AI model for their workload. Takes 30 seconds, costs nothing.
Also on Product Hunt · Weekly newsletter · Budget Planner
Get notified when API prices change
No spam. Only pricing updates and new features. Unsubscribe anytime.
Follow us for weekly AI API cost insights
@getapipulse