Workload calculator

LLM API Cost Calculator

Estimate monthly API spend from tokens, requests, cache reuse, and batch pricing. Enter your workload first, or use a preset as a shortcut.

Usage preset

Choose a preset or scroll for custom input.

Input

Advanced options

Cost estimates use the generated model database last built on Jul 7, 2026. Pricing, lifecycle, and capability fields can be incomplete or provider-specific, so verify production decisions with the official provider.

How to use this page

Start with a simple preset, then change tokens and request volume to match your product. If you already know the workload type, the use-case pages give a more guided comparison.

Need concrete examples first?

Read the calculator examples guide for chatbot, RAG, summarization, and coding-agent inputs before changing the fields.

Read examples
Not sure if you need API pricing?

Check when a subscription is enough and when usage-based API pricing matters for product work.

API vs subscription
Which provider is cheapest overall?

Compare OpenAI, Anthropic, Google, Mistral, and DeepSeek across cheapest chat, mid-range, and reasoning model pricing.

Provider comparison