TC
TokenCost

API Pricing

Every major LLM provider in one table. Sortable, filterable. Prices per 1 million tokens. Updated March 2026.

Model ▲▼Provider ▲▼Input / 1M Output / 1M ▲▼Context ▲▼Max Output
GPT-5 NanoOpenAI$0.05$0.4128K16K
Gemini 2.0 Flash-LiteGoogle$0.075$0.31.0M8K
Llama 4 ScoutMeta$0.08$0.31.0M16K
GPT-4.1 NanoOpenAI$0.1$0.41.0M33K
Gemini 2.5 Flash-LiteGoogle$0.1$0.41.0M66K
Gemini 2.0 FlashGoogle$0.1$0.41.0M8K
Mistral SmallMistral$0.1$0.3128K4K
GPT-4o MiniOpenAI$0.15$0.6128K16K
Llama 3.3 70BMeta$0.18$0.18131K4K
Grok 4.1 FastxAI$0.2$0.5131K16K
GPT-5 MiniOpenAI$0.25$2400K16K
Gemini 3.1 Flash-LiteGoogle$0.25$1.51.0M66K
Llama 4 MaverickMeta$0.27$0.851.0M16K
DeepSeek V3.2 (Chat)DeepSeek$0.28$0.42128K8K
DeepSeek V3.2 (Reasoner)DeepSeek$0.28$0.42128K8K
Gemini 2.5 FlashGoogle$0.3$2.51.0M66K
GPT-4.1 MiniOpenAI$0.4$1.61.0M33K
Gemini 3 FlashGoogle$0.5$31.0M66K
Mistral Large 3Mistral$0.5$1.5262K8K
Claude Haiku 3.5Anthropic$0.8$4200K8K
Claude Haiku 4.5Anthropic$1$5200K8K
o4 MiniOpenAI$1.1$4.4200K100K
o3 MiniOpenAI$1.1$4.4200K100K
GPT-5.1OpenAI$1.25$10400K16K
GPT-5OpenAI$1.25$10400K16K
Gemini 2.5 ProGoogle$1.25$101.0M66K
GPT-5.2OpenAI$1.75$14400K16K
GPT-4.1OpenAI$2$81.0M33K
o3OpenAI$2$8200K100K
Gemini 3.1 ProGoogle$2$121.0M66K
GPT-5.4OpenAI$2.5$151.1M128K
GPT-4oOpenAI$2.5$10128K16K
Claude Sonnet 4.6Anthropic$3$15200K64K
Claude Sonnet 4.5Anthropic$3$15200K64K
Claude Sonnet 4Anthropic$3$15200K64K
Grok 4xAI$3$152.0M16K
Claude Opus 4.6Anthropic$5$25200K32K
Claude Opus 4.5Anthropic$5$25200K32K
o1OpenAI$15$60200K100K
GPT-5.4 ProOpenAI$30$1801.1M128K

Pricing as of March 2026. Meta and open-source model prices reflect hosted API providers (Groq, Together, etc). Always verify with official provider pages.