Cost calculator

LLM API Cost Calculator

Estimate uncached input, cached input, and output token spend using verified vendor rates.

Estimated cost

$0.00 monthly

$0.00 annually

Methodology and assumptions

Each token category is multiplied by the selected vendor's per-token rate. OpenAI GPT-5, Claude Sonnet 4 at up to 200K input, and Gemini 2.5 Pro at up to 200K prompt tokens are included. Batch, long-context, cache-write/storage, tools, regional processing, taxes, and discounts are excluded. Anthropic and Google rates link from the data-sources page.

Pricing last verified:

Frequently Asked Questions

What does the LLM API Cost Calculator calculate?

Estimate uncached input, cached input, and output token spend using verified vendor rates.

How accurate is the LLM API Cost Calculator?

It is a planning estimate based on the inputs, formula, assumptions, and sources shown on this page. Actual prices, invoices, taxes, discounts, and outcomes can differ.

Which pricing source does the LLM API Cost Calculator use?

The calculator links to Official model pricing sources as its official source. The displayed pricing or reference data was last verified on 2026-09-05.

Are calculator inputs saved or sent to analytics?

Inputs are processed in your browser. Calculator values are not included in analytics events.