LLM API pricing by provider

Current per-million-token pricing for every major LLM API, auto-refreshed and dated. Pick a provider for the breakdown, or compare them all in the cost calculator.

API Pricing

Anthropic

Current Anthropic Claude API pricing per million tokens — Opus, Sonnet, Haiku and Fable — with a live cost calculator, prompt-caching maths, worked examples and savings tips.

API Pricing

DeepSeek

Current DeepSeek API pricing per million tokens for V4 Pro and V4 Flash, with a live calculator, cache-pricing maths, a self-hosting comparison and worked examples.

API Pricing

Google

Current Google Gemini API pricing per million tokens — Pro, Flash and Flash-Lite — with a live calculator, context-tier pricing explained, worked examples and cost tips.

API Pricing

Mistral

Current Mistral API pricing per million tokens — Medium, Small and the open-weight family — with a live cost calculator, worked examples, EU-jurisdiction notes and savings tips.

API Pricing

OpenAI

Up-to-date OpenAI API pricing per million tokens for the GPT-5 family, with a live cost calculator. Input, output, cached and batch pricing, worked examples and how to cut your bill.

API Pricing

xAI

Current xAI Grok API pricing per million tokens with a live cost calculator, worked examples, the output-price advantage explained and when Grok is the cheaper choice.

Open the full cost calculator →