Methodology

Last updated 2026-07-14.

The cost model

Every number on this site is produced by one formula:

monthly_cost = requests × calls_per_request × (
  input_tokens × [(1 − cache_hit) × input_price + cache_hit × cached_price]
  + output_tokens × output_price
) ÷ 1,000,000 × batch_factor

The agent cost model

The agent cost calculator extends the formula above. One attempt is a full run of the agent chain (steps × the per-call cost above); failed attempts are retried from scratch up to a maximum:

task_success = 1 − (1 − p)n
expected_attempts = task_success ÷ p
cost_per_successful_task = cost_per_attempt × expected_attempts ÷ task_success
monthly_total = tasks × expected_attempts × cost_per_attempt + escalated_tasks × human_minutes ÷ 60 × hourly_rate

The per-customer cost model

The per-customer calculator splits the average usage into power users (share s at k× regular usage) and regular users so the blended mean stays at the input value:

regular_requests = avg_requests ÷ (1 + s × (k − 1))
power_user_cost = k × regular_requests × cost_per_request
break_even_requests = subscription_price ÷ cost_per_request

Use-case unit conversions

The use-case picker prices work in natural units by converting each unit to tokens, then applying the formula above. The assumptions (editable in the calculator):

Data sources

Prices are taken exclusively from official provider pricing pages and re-verified on the date shown on each tool:

We track 13 production models across OpenAI, Anthropic, DeepSeek and Google. Preview and limited-availability models are excluded until they carry stable public pricing.

Known simplifications

The model intentionally omits charges that are workload-specific. If any of these apply to you, treat our numbers as a lower bound on the cost delta:

Why we built this

Public answers to "how much does it cost to switch LLM providers" are dominated by wide, non-reproducible ranges. Our position: cost estimates are only useful when they take a workload profile as input — request volume, token mix, cache hit rate, agent chain depth and batch eligibility. That is exactly what the migration savings calculator does, and every worked example on this site is generated by the same open formula above.

Corrections

Found a price that moved before we did? Open an issue or email us — pricing corrections ship the same day.