DevKits

LLM API Pricing Comparison (2026)

Input, output, and cached-input prices per 1M tokens, plus context window and max output, for 100+ models across every major provider. Search, filter by provider, and sort by any column to find the cheapest model that fits your context needs.

44 models
ProviderCached in $/1MMax output
GPT-5 nanoOpenAI$0.05$0.40$0.01272K128K
Claude Haiku 5.5Anthropic$0.10$0.50$0.011M128K
Gemini 2.5 Flash LiteGoogle$0.10$0.40$0.011.0M66K
Mistral SmallMistral$0.15$0.60$0.01262K262K
GPT-4o miniOpenAI$0.15$0.60$0.07128K16K
Llama-4-Scout-17B-16E (Together)Meta$0.18$0.59—1.0M1.0M
GPT-5.4 nanoOpenAI$0.20$1.25$0.02272K128K
GPT-5 miniOpenAI$0.25$2.00$0.03272K128K
DeepSeek (chat)DeepSeek$0.28$0.42$0.03131K8K
DeepSeek (reasoner)DeepSeek$0.28$0.42$0.03131K66K
DeepSeek V4 FlashDeepSeek$0.30$1.20$0.011M393K
Gemini 2.5 FlashGoogle$0.30$2.50$0.031.0M66K
Gemini 3.5 Flash LiteGoogle$0.30$2.50$0.031.0M66K
CodestralMistral$0.30$0.90$0.03128K128K
DevstralMistral$0.40$2.00$0.04256K256K
GPT-4.1 miniOpenAI$0.40$1.60$0.101.0M33K
Mistral LargeMistral$0.70$2.10$0.071.0M1.0M
Gemini 3.8 FlashGoogle$0.75$3.75$0.071.0M66K
GPT-5.4 miniOpenAI$0.75$4.50$0.07272K128K
Claude Haiku 4.5Anthropic$1.00$5.00$0.10200K64K
Llama-3.3-70B (Together)Meta$1.04$1.04—131K131K
o4-miniOpenAI$1.10$4.40$0.28200K100K
Gemini 2.5 ProGoogle$1.25$10.00$0.131.0M66K
GPT-5OpenAI$1.25$10.00$0.13272K128K
DeepSeek V4 ProDeepSeek$1.32$3.96$0.041M393K
Gemini 3.5 FlashGoogle$1.50$9.00$0.151.0M66K
Mistral Medium 3.5Mistral$1.50$7.50$0.15262K262K
Claude Sonnet 5Anthropic$2.00$10.00$0.201M128K
Claude Sonnet 5.5Anthropic$2.00$10.00$0.101M128K
Gemini 3.1 ProGoogle$2.00$12.00$0.201.0M66K
GPT-4.1OpenAI$2.00$8.00$0.501.0M33K
o3OpenAI$2.00$8.00$0.50200K100K
Grok 4.5xAI$2.00$6.00$0.30500K500K
Grok 4.6xAI$2.00$6.00$0.50500K500K
Grok 4.7xAI$2.00$6.00$0.50500K500K
GPT-4oOpenAI$2.50$10.00$1.25128K16K
GPT-5.4OpenAI$2.50$15.00$0.251.1M128K
Claude Sonnet 4.5Anthropic$3.00$15.00$0.30200K64K
Claude Sonnet 4.6Anthropic$3.00$15.00$0.301M128K
Claude Opus 5.5Anthropic$4.00$20.00$0.201M128K
Claude Opus 4.8Anthropic$5.00$25.00$0.501M128K
Claude Opus 5Anthropic$5.00$25.00$0.501M128K
GPT-5.5OpenAI$5.00$30.00$0.501.1M128K
GPT-5.6OpenAI$5.00$30.00$0.50922K128K

Prices in USD per 1M tokens. Source: litellm · last updated Dec 3, 2026, 3:36 AM. Need to estimate a real workload? Use the AI Cost Calculator.