Prices last updated: · sources

Compare LLM API prices. Estimate your real cost.

Free, fast calculators for developers. Prices from official provider pages, all math in your browser.

Share of input tokens served from the prompt cache.
Per request
$0.00
Per day
$0.00
Per month
$0.00
Per year
$0.00
Cost breakdown by token type
PartPer requestPer monthShare

Month = 30 days, year = 365 days. Calculated in your browser; nothing is sent anywhere.

Want presets and side-by-side comparison? Use the full cost calculator.

Tools

Latest price changes

· Kodefull

Initial price dataset published

First verified snapshot of API prices from Anthropic, OpenAI, Google, xAI, DeepSeek and Mistral. Meta Llama hosted prices are still being verified.

· Google

Gemini 4 Carbon: price increase announced for Dec 1, 2026

Google's pricing page lists Gemini 4 Carbon moving from $2.00 input / $10.00 output to $4.00 input / $20.00 output per 1M tokens on Dec 1, 2026. Kodefull shows the current price until then.

· Google

Gemini 3.8 Flash: price increase announced for Jan 1, 2027

Google's pricing page lists Gemini 3.8 Flash moving from $0.75 input / $3.75 output to $1.50 input / $7.50 output per 1M tokens on Jan 1, 2027. Kodefull shows the current price until then.

All price changes · RSS

Browse by provider

Frequently asked questions

How is the LLM API cost calculated?

Cost = (input tokens / 1M x input price) + (output tokens / 1M x output price). Cached input tokens are billed at the cached price when the provider lists one, and batch mode applies the provider's batch discount to the total.

Where do the prices come from?

Every price is copied from the provider's official pricing page. Each model page shows the source link and the date it was verified. See the methodology page for details.

Are my prompts sent to a server?

No. All calculations and token estimates run in your browser. Nothing you type is uploaded or stored on a server.

How accurate is the token estimate?

It is an approximation (roughly 4 characters per token for English). Each provider uses its own tokenizer, so exact counts differ. Use your provider's token counting API for billing-grade numbers.

Which LLM API is cheapest?

It depends on your workload and the quality you need. Use the Cheapest LLM API finder to rank models for your task, context size and volume.