Data

LLM API Pricing Comparison (2026)

Compare input and output token costs, context windows, and capabilities for 46 models across OpenAI, Anthropic, Google, Meta, and others.

Model records were verified between 2026-03-31 and 2026-10-20. Provider pricing can change; confirm final production rates in the linked API documentation.

Turn the pricing table into a decision

Start with the matrix, then compare the models that fit your workload or estimate the cost of your actual prompt volume.

ModelProviderInput $/1MOutput $/1MContextMultimodalOpen SourceDocs
GPT-5.6 SolOpenAI$4$201.1M✓—API
Claude Fable 5Anthropic$10$501M✓—API
Claude Opus 5Anthropic$5$251M✓—API
Gemini 3.6 FlashGoogle$0.75$3.751.0M✓—API
Grok 4.5xAI$2$6500K✓—API
GPT-5.6 TerraOpenAI$2$121.1M✓—API
Claude Sonnet 5Anthropic$2$101M✓—API
Gemini 3.1 Pro PreviewGoogle$0.25$121M✓—API
DeepSeek V4 ProDeepSeek$0.66$1.981M—✓API
Grok 4.3xAI$1.25$2.51M✓—API
GPT-5.6 LunaOpenAI$0.2$1.21.1M✓—API
Gemini 3.5 Flash-LiteGoogle$0.3$2.51.0M✓—API
DeepSeek V4 FlashDeepSeek$0.44$1.321M—✓API
GPT-5.5OpenAI$5$301.1M✓—API
Claude Opus 4.7Anthropic$5$251M✓—API
Gemini 2.5 ProGoogle$1.25$7.51.0M✓—API
Llama 4 MaverickMeta$0.19$0.5710M✓✓API
Mistral LargeMistral$3$9128K✓—API
GPT-4o miniOpenAI$0.15$0.6128K✓—API
Gemini 2.5 FlashGoogle$0.1$0.41M✓—API
Claude Haiku 4.5Anthropic$1$5200K✓—API
Llama 4 ScoutMeta$0.19$0.4910M✓✓API
Amazon Nova ProAmazon$0.8$3.2300K✓—API
Claude Fable 5.1Anthropic$10$501M✓—API
Claude Opus 4.6Anthropic$5$251M✓—API
Claude Sonnet 4.6Anthropic$2$101M✓—API
CodestralMistral$0.3$0.9256K——API
Command RCohere$0.15$0.6128K——API
Command R+Cohere$2.5$10128K——API
DeepSeek V4 Flash Vision ExperimentalDeepSeek$0.44$1.321M✓—API
Gemini 3.7 FlashGoogle$0.75$3.751.0M✓—API
Gemini 3.8 FlashGoogle$0.75$3.751.0M✓—API
Gemma 3 27BGoogle$0.2$0.6131K✓✓API
Gemma 4 31BGoogle$0$0262K✓✓API
GPT-4.1OpenAI$2$81.0M✓—API
GPT-4.1 miniOpenAI$0.4$1.61M✓—API
GPT-5OpenAI$1.25$10400K✓—API
GPT-5.2OpenAI$1.75$14400K✓—API
GPT-5.4OpenAI$2.5$151.1M✓—API
GPT-6 AstraOpenAI$10$501.1M✓—API
Grok 4.6xAI$2$6500K✓—API
Llama 3.3 70BMeta$0$066K—✓API
Mistral SmallMistral$0.15$0.6262K✓—API
o3OpenAI$2$8200K✓—API
Phi-4Microsoft$0.07$0.1416K—✓API
Qwen 2.5 MaxAlibaba$0.4$1.21M——API