LLM API pricing comparison

Published API prices per million tokens for 32 models across 8 providers. Sort by any column, or open a model for worked examples of what it costs at real volumes.

Prices verified 4 Aug 2026Model your own workload →
ProviderCached inBatchVerified
Llama 3.1 8B (Groq)Groq$0.050$0.08050% off$0.058128K4 Aug 2026
Amazon Nova MicroBedrock$0.035$0.14050% off$0.061128K4 Aug 2026
Amazon Nova LiteBedrock$0.060$0.24050% off$0.105300K4 Aug 2026
GPT-5 nanoOpenAI$0.050$0.400$0.0050050% off$0.138400K4 Aug 2026
GPT-4.1 nanoOpenAI$0.100$0.400$0.02550% off$0.1751.0M4 Aug 2026
Gemini 2.5 Flash-LiteGoogle$0.100$0.400$0.01050% off$0.1751.0M4 Aug 2026
Gemini 2.0 FlashGoogle$0.100$0.400$0.02550% off$0.1751.0M4 Aug 2026
DeepSeek V4 FlashDeepSeek$0.140$0.280$0.00280$0.1751.0M4 Aug 2026
GPT-4o miniOpenAI$0.150$0.600$0.07550% off$0.262128K4 Aug 2026
Mistral Small 4Mistral$0.150$0.600$0.01550% off$0.262131K4 Aug 2026
DeepSeek V4 ProDeepSeek$0.435$0.870$0.00363$0.5441.0M4 Aug 2026
Llama 3.3 70B (Groq)Groq$0.590$0.79050% off$0.640128K4 Aug 2026
GPT-5 miniOpenAI$0.250$2.00$0.02550% off$0.688400K4 Aug 2026
GPT-4.1 miniOpenAI$0.400$1.60$0.10050% off$0.7001.0M4 Aug 2026
Mistral Large 3Mistral$0.500$1.50$0.05050% off$0.750131K4 Aug 2026
Gemini 2.5 FlashGoogle$0.300$2.50$0.03050% off$0.8501.0M4 Aug 2026
Amazon Nova ProBedrock$0.800$3.2050% off$1.40300K4 Aug 2026
Grok 4.3xAI$1.25$2.50$0.200$1.561.0M4 Aug 2026
Claude Haiku 3.5Anthropic$0.800$4.00$0.08050% off$1.60200K4 Aug 2026
o4-miniOpenAI$1.10$4.40$0.27550% off$1.93200K4 Aug 2026
Claude Haiku 4.5Anthropic$1.00$5.00$0.10050% off$2.00200K4 Aug 2026
Grok 4.5xAI$2.00$6.00$0.300$3.00500K4 Aug 2026
GPT-5OpenAI$1.25$10.00$0.12550% off$3.44400K4 Aug 2026
Gemini 2.5 ProGoogle$1.25$10.00$0.12550% off$3.441.0M4 Aug 2026
GPT-4.1OpenAI$2.00$8.00$0.50050% off$3.501.0M4 Aug 2026
o3OpenAI$2.00$8.00$0.50050% off$3.50200K4 Aug 2026
Claude Sonnet 5Anthropic$2.00$10.00$0.20050% off$4.001.0M4 Aug 2026
GPT-4oOpenAI$2.50$10.00$1.2550% off$4.38128K4 Aug 2026
Amazon Nova PremierBedrock$2.50$12.5050% off$5.001.0M4 Aug 2026
Claude Sonnet 4.5Anthropic$3.00$15.00$0.30050% off$6.00200K4 Aug 2026
Claude Opus 5Anthropic$5.00$25.00$0.50050% off$10.001.0M4 Aug 2026
Claude Opus 4.1Anthropic$15.00$75.00$1.5050% off$30.00200K4 Aug 2026

“Blended” is the effective $/1M at a 3:1 input-to-output ratio — a single number for comparing models whose input and output prices differ in shape. Your own ratio is what matters; use the calculator for that.

Popular comparisons

The matchups people actually have to decide between.

By provider

Cheapest blended rate in the catalog: Llama 3.1 8B (Groq) at $0.058 per 1M tokens. Prices are vendor list prices and exclude committed-use or enterprise discounts.

Knowing the rate card is the easy half.

Finitizer TokenOps shows which teams, features, and prompts are actually consuming your token budget — with per-model attribution, budgets, and anomaly alerts across Anthropic, OpenAI, and Google.