Updated for 2026 pricing

Know your AI API costs before you commit.

Compare pricing across OpenAI, Anthropic, Google, Mistral, Cohere, Meta, and AI21. Calculate monthly spend, model scenarios, and find the cheapest provider for your use case.

Try the Calculator — Free See Pro Features

AI API Cost Calculator

Enter your usage to compare costs across providers instantly.

Monthly Cost Estimate

Input cost $0.00
Output cost $0.00
Total tokens/month 0
Monthly Total $0.00

Based on published API pricing. Actual costs may vary.

Provider Comparison

Pricing per 1M tokens across 7 major LLM API providers.

Provider Model Input (per 1M tokens) Output (per 1M tokens) Context Window
OpenAI GPT-4o $2.50 $10.00 128K
OpenAI GPT-4o mini $0.15 $0.60 128K
Anthropic Claude Sonnet 4 $3.00 $15.00 200K
Anthropic Claude Haiku 3.5 $0.80 $4.00 200K
Google Gemini 2.0 Flash $0.10 $0.40 1M
Google Gemini 2.5 Pro $1.25 $10.00 1M
Mistral Large $2.00 $6.00 128K
Mistral Small $0.10 $0.30 32K
Cohere Command R+ $2.50 $10.00 128K
Cohere Command R $0.15 $0.60 128K
Meta (Together.ai) Llama 3.1 70B $0.88 $0.88 128K
Meta (Together.ai) Llama 3.1 8B $0.18 $0.18 128K
AI21 Jamba 1.5 Large $2.00 $8.00 256K

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 OpenAI, Anthropic, Google, and Mistral side by side. 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.

🔔

Price Alerts

Get notified when providers change pricing. Never miss a cost reduction opportunity.

Simple, one-time pricing

No subscriptions. Pay once, use forever.

Free

$0
Free forever
  • Basic cost calculator
  • 13 models across 7 providers
  • Provider comparison table
  • Real-time calculations
Use Free Calculator

Ready to optimize your AI API costs?

Join developers who are saving money on AI APIs with APIpulse.

Start Calculating — Free