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