LLM API pricing, head to head
Each comparison runs both providers over the same workload, including the prompt caching, batch rates and long-context tiers that most calculators leave out. Prices verified 2026-08-15.
Claude vs GPT: API Pricing Compared
OpenAI covers a far wider price range at both ends. Anthropic has no budget tier, but is cheaper than OpenAI at the frontier.
Anthropic vs OpenAI
Gemini vs GPT: API Pricing Compared
Their cheap tiers are close. The difference is that Google has no frontier-priced model at all, so its ceiling is a fraction of OpenAI's.
Google vs OpenAI
Claude vs Gemini: API Pricing Compared
Gemini is cheaper at every point in the range, by roughly 10x at the bottom and 5x at the top. The question is whether the output difference earns it.
Anthropic vs Google
Need all four providers at once, including xAI? Use the full LLM cost calculator.