LLM API pricing by model

Prices per million tokens for 87 models from OpenAI, Anthropic, Google Gemini, Mistral, DeepSeek and xAI, updated daily.

Prices updated November 14, 2026

By provider

OpenAI API pricing
23 models
Claude API pricing (Anthropic)
18 models
Gemini API pricing (Google)
16 models
Mistral API pricing
16 models
DeepSeek API pricing
7 models
Grok API pricing (xAI)
7 models

Guides

Cheapest LLM APIs
Lowest-cost models overall and per provider
Batch API pricing
Batch discounts for every model
Prompt caching pricing
Cached input prices and discounts
Price changes
Every increase, cut and new model, dated
Token counter
Count tokens with OpenAI's tokenizer

All models

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
Labs Leanstral 1.5.1Mistral$0–$0$0
Ministral 3 3B 2512Mistral$0.1$0.01$0.1$0.00015
Ministral 3B 2512Mistral$0.1$0.01$0.1$0.00015
Ministral 3 8B 2512Mistral$0.15$0.015$0.15$0.000225
Ministral 8B 2512Mistral$0.15$0.015$0.15$0.000225
GPT-5 nanoOpenAI$0.05$0.005$0.4$0.00025
Mistral SmallMistral$0.1$0.01$0.3$0.00025
DeepSeek CoderDeepSeek$0.14$0.014$0.28$0.00028
Gemini 2.5 Flash LiteGoogle Gemini$0.1$0.01$0.4$0.0003
Ministral 3 14B 2512Mistral$0.2$0.02$0.2$0.0003
Ministral 14B 2512Mistral$0.2$0.02$0.2$0.0003
GPT-6 LunaOpenAI$0.1$0.01$0.5$0.00035
Claude Haiku 5.5Anthropic$0.1$0.01$0.5$0.00035
Mistral TinyMistral$0.25$0.025$0.25$0.000375
GPT-4o miniOpenAI$0.15$0.075$0.6$0.00045
Open Mistral NemoMistral$0.3$0.03$0.3$0.00045
DeepSeek V3.2DeepSeek$0.28$0.028$0.4$0.00048
Codestral 2508Mistral$0.3$0.03$0.9$0.00075
GPT-5.6 LunaOpenAI$0.2$0.02$1.2$0.0008
DeepSeek V3DeepSeek$0.27$0.07$1.1$0.00082
GPT-5.4 nanoOpenAI$0.2$0.02$1.25$0.000825
DeepSeek V4 1 Flash 1017Mistral$0.3$0.007$1.2$0.0009
DeepSeek FlashDeepSeek$0.3$0.006$1.2$0.0009
DeepSeek V4 FlashDeepSeek$0.3$0.006$1.2$0.0009
Gemini 3.1 Flash LiteGoogle Gemini$0.25$0.025$1.5$0.001
GPT-4.1 miniOpenAI$0.4$0.1$1.6$0.0012
GPT-5 miniOpenAI$0.25$0.025$2$0.00125
Mistral Large 3Mistral$0.5$0.05$1.5$0.00125
Mistral Large 2512Mistral$0.5$0.05$1.5$0.00125
Gemini 2.5 FlashGoogle Gemini$0.3$0.03$2.5$0.00155
Gemini 3.5 Flash LiteGoogle Gemini$0.3$0.03$2.5$0.00155
DeepSeek R1DeepSeek$0.55$0.14$2.19$0.00164
Mistral Large 4Mistral$0.7$0.07$2.1$0.00175
Gemini 3 Flash PreviewGoogle Gemini$0.5$0.05$3$0.002
Grok Build 0.1xAI$1$0.2$2$0.002
Grok Code FastxAI$1$0.2$2$0.002
Grok 4.3xAI$1.25$0.2$2.5$0.0025
Grok 4.20xAI$1.25$0.2$2.5$0.0025
Gemini 3.6 FlashGoogle Gemini$0.75$0.075$3.75$0.00263
Gemini 3.7 FlashGoogle Gemini$0.75$0.075$3.75$0.00263
Gemini 3.8 FlashGoogle Gemini$0.75$0.075$3.75$0.00263
GPT-5.4 miniOpenAI$0.75$0.075$4.5$0.003
DeepSeek V4 ProDeepSeek$1.32$0.044$3.96$0.0033
GPT-6.1 TerraOpenAI$1$0.05$5$0.0035
Claude Haiku 4.5Anthropic$1$0.1$5$0.0035
Grok 4.5xAI$2$0.3$6$0.005
Grok 4.6xAI$2$0.5$6$0.005
Grok 4.7xAI$2$0.5$6$0.005
Gemini 4 HydrogenGoogle Gemini$1.5$0.075$7.5$0.00525
Mistral MediumMistral$1.5$0.15$7.5$0.00525
GPT-4.1OpenAI$2$0.5$8$0.006
o3OpenAI$2$0.5$8$0.006
Gemini 3.5 FlashGoogle Gemini$1.5$0.15$9$0.006
Gemini Omni 1.1 FlashGoogle Gemini$1.5–$9$0.006
Gemini Omni 1.2 FlashGoogle Gemini$1.5–$9$0.006
GPT-5OpenAI$1.25$0.125$10$0.00625
GPT-5.1OpenAI$1.25$0.125$10$0.00625
Gemini 2.5 ProGoogle Gemini$1.25$0.125$10$0.00625
GPT-6 SolOpenAI$2$0.2$10$0.007
GPT-6.1 SolOpenAI$2$0.1$10$0.007
Claude Sonnet 5Anthropic$2$0.2$10$0.007
Claude Sonnet 5.5Anthropic$2$0.1$10$0.007
Gemini 4 ArgonGoogle Gemini$2$0.1$10$0.007
Gemini 4 CarbonGoogle Gemini$2$0.1$10$0.007
GPT-4oOpenAI$2.5$1.25$10$0.0075
GPT-5.6 TerraOpenAI$2$0.2$12$0.008
Gemini 3.1 Pro PreviewGoogle Gemini$2$0.2$12$0.008
GPT-5.2OpenAI$1.75$0.175$14$0.00875
GPT-5.4OpenAI$2.5$0.25$15$0.01
Claude Sonnet 4.5Anthropic$3$0.3$15$0.0105
Claude Sonnet 4.6Anthropic$3$0.3$15$0.0105
GPT-5.6OpenAI$4$0.4$20$0.014
Claude Opus 5.5Anthropic$4$0.2$20$0.014
Claude Opus 4.5Anthropic$5$0.5$25$0.0175
Claude Opus 4.6Anthropic$5$0.5$25$0.0175
Claude Opus 4.7Anthropic$5$0.5$25$0.0175
Claude Opus 4.8Anthropic$5$0.5$25$0.0175
Claude Opus 5Anthropic$5$0.5$25$0.0175
GPT-5.5OpenAI$5$0.5$30$0.02
Claude Fable 5.2Anthropic$8$0.2$40$0.028
Claude Mythos 5.2Anthropic$8$0.2$40$0.028
GPT-6 AstraOpenAI$10$1$50$0.035
GPT-6 Astra LawOpenAI$10$1$50$0.035
Claude Fable 5Anthropic$10$1$50$0.035
Claude Fable 5.1Anthropic$10$0.25$50$0.035
Claude Mythos 5Anthropic$10$1$50$0.035
Claude Mythos 5.1Anthropic$10$0.25$50$0.035

Download the whole list as CSV, JSON or Markdown, built from the open LiteLLM price list.

License: the price data is free to reuse under CC BY 4.0. Credit “apicost.app” with a link to this page.

Calculate the cost of your own prompt →