Skip to content
Free Tool — No signup required

AI Cost Calculator

Compare API prices across GPT-5.5, Claude, Gemini, DeepSeek & more.Estimate what it costs to build with AI — and get a model recommendation.

Prices and benchmark scores verified 2026-07-06 against public API pricing pages and independent benchmarks (LMArena, Artificial Analysis, provider model cards). Scores marked * have no published benchmark for that model/category and fall back to a rough, editorial estimate — everything else is a real, sourced number. Pricing changes often — double-check the provider's official page before committing budget.

Overall vs. price — top-left is best value

FrontierReasoningMid-rangeBudgetOpen-hostedCoding
0255075100$0.1$1$10$100Blended $/1M tokens (log scale) → Fit

Bubble size reflects context window. Hover, tap, or focus a point for details.

19 models match your filters

Fit score for “Overall” uses a real published benchmark where one exists; scores marked * have none and fall back to a rough editorial estimate.

Llama 4 ScoutTop pick
16-expert MoE with a genuinely enormous 10M-token context window — the long-document/retrieval specialist of the Llama 4 pair.
Meta · TogetherOpen-hosted$0.08$0.310M
66
DeepSeek V4 Flash
Cheap, fast open-weight with long context — roughly 35-100x cheaper than GPT-5.5 or Opus 4.8 at equivalent context.
DeepSeekOpen-hosted$0.14$0.281M
66*
Mistral Small 4
Budget Mistral tier — newer and more capable than the older, even-cheaper Small 3.2.
MistralBudget$0.15$0.6256K
52*
Llama 4 Maverick
128-expert MoE, natively multimodal — the higher-quality default Llama 4 pick for customer-facing use.
Meta · TogetherOpen-hosted$0.27$0.851M
75
Codestral 25.08
Code-completion specialist — tuned for repository-level completion, not long-document tasks.
MistralCoding$0.3$0.932K
80*
Mistral Large 3
80% cheaper than GPT-5.4 on input, 90% cheaper on output — Mistral's flagship value play.
MistralOpen-hosted$0.5$1.5256K
66*
Sonar
Search-augmented answer engine with live citations — not a general-purpose LLM, benchmarked differently than the models above.
PerplexityBudget$1$1128K
52*
DeepSeek V4 Pro
The best open-weight model on LMArena — within ~55 Elo points of the top closed-source models, at a fraction of the price.
DeepSeekOpen-hosted$0.435$0.871M
31
Grok Code Fast 1
Fast, cheap coding-focused model — optimized for iterative agentic coding speed over benchmark-topping accuracy.
xAICoding$0.2$1.5256K
29
Grok 4.3
Strong on math/analytical reasoning; trails Anthropic by double digits on agentic coding benchmarks specifically.
xAIFrontier$1.25$2.51M
53
Claude Haiku 4.5
Fast, cheap Claude for high-volume chat and simple tasks.
AnthropicBudget$1$5200K
81
Mistral Medium 3.5
Mistral's mid-flagship tier.
MistralFrontier$1.5$7.5256K
88*
Gemini 3.5 Flash
Optimized for coding and agentic workflows — runs ~4x faster than frontier models at 25% lower cost than Gemini 3.1 Pro.
GoogleMid-range$1.5$91M
83
Claude Sonnet 5
Anthropic's new default Sonnet — now the default model on Claude Free/Pro plans, narrowing the gap to Opus 4.8 on coding and agentic work at a fraction of the price.
AnthropicFrontier$2$101M
88*
Gemini 3.1 Pro
Google's frontier model — #3 on LMArena overall, strongest on long-context and hard reasoning in its family.
GoogleFrontier$2$121M
87
Sonar Pro
Perplexity's higher-quality search-augmented tier, live web search + citations included in every call.
PerplexityMid-range$3$15200K
70*
GPT-5.5
OpenAI's flagship — balanced coding, reasoning, and tool use.
OpenAIFrontier$5$301.05M
89
Claude Opus 4.8
Anthropic's most capable model — ranks #1 overall and #1 on coding on LMArena's human-preference leaderboard.
AnthropicFrontier$5$251M
73
Claude Fable 5
Anthropic's premium writing-and-reasoning flagship, priced above Opus — one source cites 95% SWE-bench Verified, the highest of any model checked this pass (unverified against a second source, flagged accordingly).
AnthropicFrontier$10$501M
95

Sources: OpenAI, Anthropic, Google, DeepSeek, xAI, Mistral, Perplexity, and Together AI. Prices and context windows change frequently — treat this table as a starting point, not a live feed.

How much does AI actually cost?

There are two very different pricing models, and mixing them up is the most common source of AI sticker shock.

Subscriptions (ChatGPT Plus, Claude Pro, Gemini AI Pro, Cursor Pro, and similar) charge a flat monthly fee for hands-on use inside an app or editor. They're predictable and simple — you don't think about tokens at all — but usage is bounded by the provider's rate limits.

API pricing charges per token, quoted as dollars per 1 million tokens. This is how you pay when you're automating something or building a product that calls a model programmatically — a chatbot, a background job, an app feature. You only pay for what actually runs, but cost scales directly with volume.

Two details that catch people off guard: output tokens typically cost 3-5x more than input tokens on the same model — generating text is more expensive than reading it — and prompt caching (supported by most major providers) can cut the cost of repeated input, like a long system prompt or conversation history, by roughly 90%. Both are built into the “What it costs” tab above.

See what changed in AI model pricing in H1 2026 →

Frequently Asked Questions

How much does it cost to use AI?
It depends on how you use it. Consumer subscriptions (ChatGPT Plus, Claude Pro, Gemini AI Pro) run about $10-30/month flat. If you're calling a model's API directly — to build a product, script, or automation — you pay per token, typically from a few cents to tens of dollars per million tokens depending on the model. Light personal use might cost pennies a month; a production app serving thousands of users can run into hundreds or thousands of dollars.
How much does it cost to build a website with AI?
Using a $20/month subscription (ChatGPT Plus, Claude Pro, or an AI coding editor like Cursor) to build a simple marketing site with heavy back-and-forth typically costs just that flat fee. If you're instead calling a model's API directly through an agentic coding tool, a small site usually runs $5-50 in token costs on a mid-tier model; a more complex app with lots of iteration and long context can run $50-300+. The 'What it costs' tab above lets you plug in your own token estimate.
API vs subscription — which is cheaper?
For hands-on, personal use, a flat subscription is almost always cheaper and simpler — you're not tracking tokens. For automating something or building a product that runs without you (a chatbot, a background job, an integration), the API is usually the better fit, because you only pay for what actually runs — but costs scale directly with usage and can exceed a subscription's price at high volume.
What is a token?
A token is the unit AI models actually read and generate — roughly 4 characters or about 3/4 of a word in English. Models bill by token count, not by character or word count, and API pricing is quoted per 1 million tokens. A 1,000-word article is typically around 1,300-1,500 tokens.
Which AI model is cheapest?
In this comparison, Llama 4 Scout ($0.08 input / $0.30 output per 1M tokens) and DeepSeek V4 Flash ($0.14 / $0.28) are the cheapest options, followed closely by Mistral Small 4 ($0.15 / $0.60), with GPT-5.4 nano ($0.20 / $1.25) a step up in price but still budget-tier. They trade off some capability versus frontier models — use the 'Which model' tab's budget slider to see what fits your price ceiling.

Get our weekly DIY vs. Hire breakdown

One email a week. Real cost comparisons, tool picks, and honest takes on when to DIY and when to hire a pro.

No spam. Unsubscribe anytime.