LIVE
OPUS 4.7$15 / $75per Mtok
SONNET 4.6$3 / $15per Mtok
GPT-5.5$10 / $30per Mtok
GEMINI 3.1$3.50 / $10.50per Mtok
SWE-BENCHleader Claude Opus 4.772.1%
MMLU-PROleader Opus 4.788.4
VALS FINANCEleader Opus 4.764.4%
AFTAv1.0 whitepaper live at /whitepaper
OPUS 4.7$15 / $75per Mtok
SONNET 4.6$3 / $15per Mtok
GPT-5.5$10 / $30per Mtok
GEMINI 3.1$3.50 / $10.50per Mtok
SWE-BENCHleader Claude Opus 4.772.1%
MMLU-PROleader Opus 4.788.4
VALS FINANCEleader Opus 4.764.4%
AFTAv1.0 whitepaper live at /whitepaper
All systems operational0 AI providers monitored, polled every 2 minutes
Live status

AI API Cost Calculator

Estimate your monthly AI API spend across all major providers. Adjust your token volume and input/output ratio to see real-time cost comparisons.

Configure Your Usage

Input: 70%Output: 30%

700K input tokens + 300K output tokens per month

For general tasks, mid-tier models like Claude Sonnet, GPT-4o, or Gemini 2.5 Pro offer a strong balance of quality and cost.

Estimated Monthly Costsfor 1M tokens/month

ProviderModelReleasedMonthly Cost
GoogleGemini 3.1 Flash-LiteMay 2026$0.625
AnthropicClaude Opus 4.7Apr 2026$33.00
OpenAIGPT-5.5Apr 2026$12.50
DeepSeekDeepSeek V4 ProOpen SourceApr 2026$2.26
DeepSeekDeepSeek V4 FlashOpen SourceApr 2026$0.182
AnthropicClaude Opus 4.6Most CapableMar 2026$33.00
AnthropicClaude Sonnet 4.6Mar 2026$6.60
AnthropicClaude Haiku 4.5Jun 2025$1.76
MetaLlama 4 ScoutCheapestOpen SourceApr 2025$0.00
MetaLlama 4 MaverickOpen SourceApr 2025$0.00
GoogleGemini 2.5 ProMost CapableMar 2025$3.88
GoogleGemini 2.0 FlashFeb 2025$0.190
OpenAIo3-miniJan 2025$2.09
MistralMistral LargeJan 2025$3.20
MistralMistral SmallBest ValueJan 2025$0.160
OpenAIo1Dec 2024$28.50
OpenAIGPT-4o-miniJul 2024$0.285
OpenAIGPT-4oMost CapableMay 2024$4.75
CohereCommand R+Apr 2024$4.75
CohereCommand RMar 2024$0.285

Cost breakdown for Mistral Small:

700K input tokens x $0.10/1M + 300K output tokens x $0.30/1M = $0.160/month

Frequently Asked Questions

How much does the Claude API cost?
Claude API pricing varies by model tier. Claude Opus 4.7 costs $15/1M input tokens and $75/1M output tokens and ships with a 1M context window. Claude Sonnet 4.6 is $3/1M input and $15/1M output with a 200K context window. Claude Haiku 4.5 is the most affordable at $0.80/1M input and $4/1M output with 200K context.
What is the cheapest AI API?
The cheapest AI APIs include Google Gemini 2.0 Flash at $0.10/1M input tokens, Mistral Small at $0.10/1M input, and GPT-4o-mini at $0.15/1M input. Open-source models like Llama 4 Scout and Llama 4 Maverick are free to self-host, though you will pay for compute infrastructure.
How are AI API tokens counted?
AI tokens are the basic units of text that language models process. One token is roughly 4 characters or about 0.75 words in English. A 1,000-word article is approximately 1,333 tokens. Pricing is typically quoted per 1 million tokens, with input (prompt) and output (completion) priced separately.
Which AI API is best for production?
The best AI API for production depends on your use case. Claude Sonnet 4.6 and GPT-4o offer strong all-around performance at moderate cost. For budget-sensitive applications, GPT-4o-mini and Gemini 2.0 Flash deliver solid results at a fraction of the price. For tasks requiring deep reasoning, Claude Opus 4.7 or o1 are top choices, though they cost significantly more.