AI Model Pricing

Token costs, context windows, and capabilities for every major LLM

128 models tracked · 19 providers
154 models
Showing 50 of 154

Understanding AI Model Pricing

AI model pricing is measured in cost per million tokens. Input tokens are what you send to the model — your prompt, system instructions, and context. Output tokens are what the model generates in response. Most providers charge differently for each.

Context window determines how much text a model can process at once. Larger windows (1M+ tokens) let you work with entire codebases or long documents, but often come at higher per-token costs.

Some models support prompt caching, which significantly reduces costs for repeated prefixes. Reasoning models like OpenAI o-series and DeepSeek R1 have separate pricing for their chain-of-thought tokens.

Sponsored
Loading sponsored content...
Pricing sourced from LiteLLM & provider data. Updated daily.
AI Model Pricing Comparison — 154 models
ModelProviderInput Price (per 1M tokens)Output Price (per 1M tokens)Context WindowRelease DateUser Rating
Claude Opus 4.6anthropic$5.00$25.001M tokens2026-02-043.9/5 (365 votes)
Qwen3 Coder Nextqwen$0.20$1.50262K tokens2026-02-04
MiniMax M2-herminimax$0.30$1.2066K tokens2026-01-27
Kimi K2.5moonshotai$0.60$3.00262K tokens2026-01-273.4/5 (17 votes)
Solar Pro 3upstageFreeFree128K tokens2026-01-27
GLM 4.7 Flashzhipu$0.07$0.40200K tokens2026-01-27
MiniMax: MiniMax M2.1minimax tokens2025-12-233.1/5 (86 votes)
Z.AI: GLM 4.7openrouter tokens2025-12-223.9/5 (158 votes)
Gemini 3 Flash Previewgoogle$0.50$3.001.0M tokens2025-12-174.2/5 (63 votes)
Mistral Small Creativemistral$0.10$0.3033K tokens2025-12-16
MiMo-V2-FlashxiaomiFreeFree262K tokens2025-12-142.6/5 (49 votes)
GPT-5.2 Chatopenai$1.75$14.00128K tokens2025-12-103.1/5 (33 votes)
GPT-5.2openai$1.75$14.00400K tokens2025-12-103.1/5 (123 votes)
GPT-5.2 Proopenai$21.00$168.00400K tokens2025-12-102.4/5 (87 votes)
Mistral: Devstral 2 2512mistral tokens2025-12-092.2/5 (99 votes)
GPT-5.1 Codex Maxopenai tokens2025-12-042/5 (56 votes)
Amazon Nova 2 LiteamazonFreeFree1M tokens2025-12-02
DeepSeek V3.2 Specialedeepseek$0.28$0.42131K tokens2025-12-012.6/5 (30 votes)
DeepSeek V3.2deepseek$0.28$0.40164K tokens2025-12-011.9/5 (50 votes)
Mistral Large 3 2512mistral tokens2025-12-013.3/5 (36 votes)
TNG R1T Chimeraopenrouter tokens2025-11-27
INTELLECT-3openrouter tokens2025-11-272.8/5 (18 votes)
Claude Opus 4.5anthropic tokens2025-11-242.7/5 (1291 votes)
Bert-Nebulon Alphaopenrouter tokens2025-11-242.7/5 (54 votes)
Grok 4.1 Fastxai tokens2025-11-212.9/5 (30 votes)
Gemini 3 Pro Previewgoogle tokens2025-11-183.7/5 (909 votes)
Sherlock Dash Alphaopenrouter tokens2025-11-15
Sherlock Think Alphaopenrouter tokens2025-11-153/5 (10 votes)
GPT-5.1openai$1.25$10.00400K tokens2025-11-133.1/5 (120 votes)
GPT-5.1 Chatopenai$1.25$10.00128K tokens2025-11-132.1/5 (21 votes)
GPT-5.1-Codex-Miniopenai$1.50$6.00400K tokens2025-11-132.7/5 (210 votes)
GPT-5.1-Codexopenai$1.25$10.00400K tokens2025-11-132.4/5 (120 votes)
Kimi Linear 48B A3B Instructmoonshotai$0.30$0.601.0M tokens2025-11-102/5 (20 votes)
Kimi K2 Thinkingmoonshotai$0.60$2.50262K tokens2025-11-062.2/5 (125 votes)
Polaris AlphaopenrouterFreeFree256K tokens2025-11-063.5/5 (72 votes)
Nova Premier 1.0amazon$2.50$12.501M tokens2025-10-311.5/5 (24 votes)
Sonar Pro Searchperplexity$3.00$15.00200K tokens2025-10-30
MiniMax M2minimaxFreeFree205K tokens2025-10-232.7/5 (311 votes)
Andromeda AlphaopenrouterFreeFree128K tokens2025-10-21
Claude Haiku 4.5anthropic$1.00$5.00200K tokens2025-10-153.4/5 (503 votes)
GPT-5 Proopenai$15.00$120.00400K tokens2025-10-062.8/5 (105 votes)
Z.AI: GLM 4.6openrouter$0.50$1.75203K tokens2025-09-303.8/5 (613 votes)
DeepSeek V3.2 Expdeepseek$0.27$0.41164K tokens2025-09-292.7/5 (90 votes)
Claude Sonnet 4.5anthropic$3.00$15.00200K tokens2025-09-293.3/5 (1103 votes)
Google: Gemini 2.5 Flash Preview 09-2025google$0.30$2.501.0M tokens2025-09-251.8/5 (10 votes)
Google: Gemini 2.5 Flash Lite Preview 09-2025google$0.10$0.401.0M tokens2025-09-25
GPT-5 Codexopenai tokens2025-09-232.8/5 (604 votes)
Qwen3 Coder Plusqwen$1.00$5.00128K tokens2025-09-172.3/5 (201 votes)
Qwen3 Coder Flashqwen$0.30$1.50128K tokens2025-09-173/5 (10 votes)
Qwen3 Next 80B A3B Instructqwen$0.15$1.5066K tokens2025-09-113/5 (110 votes)
Qwen3 Next 80B A3B Thinkingqwen$0.15$1.5066K tokens2025-09-112.7/5 (79 votes)
Qwen Plus 0728 (thinking)qwen$0.40$4.001M tokens2025-09-083.4/5 (10 votes)
Qwen Plus 0728qwen$0.40$1.201M tokens2025-09-08
Sonoma Dusk AlphaopenrouterFreeFree2M tokens2025-09-053.8/5 (45 votes)
Sonoma Sky AlphaopenrouterFreeFree2M tokens2025-09-052.8/5 (99 votes)
Qwen: Qwen3 Maxqwen$1.20$6.00256K tokens2025-09-053.1/5 (250 votes)
NVIDIA Nemotron Nano 9B V2nvidia$0.04$0.16131K tokens2025-09-052.3/5 (21 votes)
MoonshotAI: Kimi K2 0905moonshotai$0.60$2.50262K tokens2025-09-043.2/5 (80 votes)
Qwen3 30B A3B Thinking 2507qwen$0.07$0.28262K tokens2025-08-293.4/5 (78 votes)
Grok Code Fast 1xai$0.20$1.50256K tokens2025-08-262.1/5 (1405 votes)
DeepSeek V3.1deepseek$0.20$0.80164K tokens2025-08-213/5 (307 votes)
Mistral Medium 3.1mistral$0.40$2.00131K tokens2025-08-133.1/5 (92 votes)
GPT-5openai$1.25$10.00400K tokens2025-08-073/5 (1126 votes)
GPT-5 Miniopenai<$0.01<$0.01 tokens2025-08-073.3/5 (1083 votes)
GPT-5 Nanoopenai tokens2025-08-072.4/5 (248 votes)
Claude Opus 4.1anthropic$15.00$75.00200K tokens2025-08-053.5/5 (537 votes)
GPT OSS 20Bopenai$0.05$0.20131K tokens2025-08-053/5 (996 votes)
GPT OSS 120Bopenai$0.15$0.60131K tokens2025-08-052.9/5 (722 votes)
Horizon BetaopenrouterFreeFree256K tokens2025-08-013.4/5 (460 votes)
Horizon AlphaopenrouterFreeFree256K tokens2025-07-303/5 (403 votes)
Qwen: Qwen3 30B A3B Instruct 2507qwen$0.20$0.80131K tokens2025-07-293.2/5 (221 votes)
Qwen: Qwen3 235B A22B Thinking 2507qwen$0.30$3.00131K tokens2025-07-253.4/5 (146 votes)
Z.AI: GLM 4.5zhipu$0.60$2.20128K tokens2025-07-253.7/5 (334 votes)
Z.AI: GLM 4.5 Airzhipu$0.20$1.10128K tokens2025-07-254.1/5 (404 votes)
Z.AI: GLM 4 32Bzhipu$0.10$0.10128K tokens2025-07-242.8/5 (25 votes)
OpenAI o3openai$10.00$40.00 tokens2025-04-162.3/5 (418 votes)
OpenAI o4-miniopenai$1.10$4.40 tokens2025-04-162.5/5 (60 votes)
OpenAI o4 Mini Highopenai$1.10$4.40200K tokens2025-04-162.9/5 (137 votes)
GPT-4.1openai$2.00$8.001.0M tokens2025-04-143.2/5 (673 votes)
GPT-4.1 Nanoopenai$0.10$0.401.0M tokens2025-04-142.6/5 (124 votes)
GPT-4.1 Miniopenai$0.40$1.601.0M tokens2025-04-143.2/5 (74 votes)
Optimus Alphaopenrouter1M tokens2025-04-103.4/5 (146 votes)
Grok 3 Mini Betaxai$0.40$0.80131K tokens2025-04-093/5 (84 votes)
Grok 3 Betaxai$2.00$4.00131K tokens2025-04-092.8/5 (24 votes)
Llama 4 Maverickmeta$1.50$2.501M tokens2025-04-052.1/5 (157 votes)
Llama 4 Scoutmeta$0.25$0.5010M tokens2025-04-051.9/5 (158 votes)
Quasar Alphaopenrouter1M tokens2025-04-022.5/5 (121 votes)
ChatGPT-4o (March 2025)openai$5.00$15.00128K tokens2025-03-272.2/5 (218 votes)
Gemini 2.5 Pro Experimentalgoogle$1.00$2.001M tokens2025-03-253.4/5 (1583 votes)
QwQ 32Bqwen$0.50$1.5040K tokens2025-03-053.1/5 (70 votes)
GPT-4.5openai$75.00$150.00128K tokens2025-02-272.1/5 (219 votes)
Claude 3.7 Thinking Sonnetanthropic$6.00$30.00200K tokens2025-02-263.6/5 (709 votes)
Claude 3.7 Sonnetanthropic$3.00$15.00200K tokens2025-02-253.1/5 (1452 votes)
Grok 3 Thinkingxai128K tokens2025-02-192.1/5 (97 votes)
Grok 3xai128K tokens2025-02-182.8/5 (165 votes)
DeepSeek R1deepseek$0.55$2.1966K tokens2025-02-012.6/5 (393 votes)
Gemini 2.0 Pro Experimentalgoogle2M tokens2025-01-012.6/5 (25 votes)
o3 Miniopenai$1.10$4.4064K tokens2024-12-152.5/5 (63 votes)
Gemini 2.0 Flash Thinkinggoogle$0.25$0.50500K tokens2024-12-113.3/5 (84 votes)
o1openai$15.00$60.00128K tokens2024-12-052.5/5 (71 votes)
Mistral Large 2mistral$2.00$6.00128K tokens2024-07-242.2/5 (27 votes)
Llama 3.1 70B (Instruct)meta$0.59$0.79128K tokens2024-07-231.9/5 (45 votes)
Llama 3.1 405Bmeta$2.70$3.10128K tokens2024-07-23
GPT-4o miniopenai$0.15$0.60128K tokens2024-07-182.4/5 (258 votes)
Claude Sonnet 3.6 (2022-10-22)anthropic$3.00$15.00200K tokens2024-06-012.1/5 (68 votes)
GPT-4o (Omni)openai$2.50$10.00128K tokens2024-05-132.2/5 (217 votes)
Llama 3 70Bmeta$0.59$0.798K tokens2024-04-18
DeepSeek V3 (March 2024)deepseek$0.14$0.28128K tokens2024-03-243.3/5 (190 votes)
Claude 3 Haikuanthropic$0.25$1.25200K tokens2024-03-042.4/5 (14 votes)
Claude 3 Opusanthropic$15.00$75.00200K tokens2024-03-041.6/5 (29 votes)
Mistral Largemistral$2.00$6.0032K tokens2024-02-262.6/5 (55 votes)
Gemini 1.5 Progoogle$3.50$10.501M tokens2024-02-152.6/5 (27 votes)
Llama 4 Behemothmeta128K tokensComing Soon (In Training)
xAI: Grok 4 Fast (free)xaiFreeFree2M tokens2025-09-193.2/5 (67 votes)
Qwen3 Coderqwen$1.00$2.00 tokens2025-07-233.5/5 (771 votes)
Qwen: Qwen3 235B A22B 2507qwen<$0.01<$0.01 tokens2025-07-213/5 (125 votes)
Mistral Devstral Mediummistral$0.40$2.00 tokens2025-07-112.4/5 (110 votes)
Mistral Devstral Small 1.1mistral$0.10$0.30 tokens2025-07-113/5 (142 votes)
Kimi K2moonshotai$0.57$2.30 tokens2025-07-113.3/5 (336 votes)
xAI: Grok 4xai$3.00$15.00256K tokens2025-07-092.3/5 (296 votes)
Google: Gemma 3n 2BgoogleFreeFree8K tokens2025-07-092.1/5 (15 votes)
Cypher Alpha (free)openrouter tokens2025-07-011.5/5 (123 votes)
Inception: Mercuryinception$10.00$10.0032K tokens2025-06-261.8/5 (48 votes)
Gemini 2.5 Flash Lite Preview 06-17google$0.10$0.401.0M tokens2025-06-173.5/5 (111 votes)
MiniMax M1minimax$0.30$1.651M tokens2025-06-171.7/5 (55 votes)
Gemini 2.5 Pro Preview 06-05google$1.25$10.001.0M tokens2025-06-053.5/5 (349 votes)
DeepSeek R1 0528deepseekFreeFree164K tokens2025-05-282.7/5 (232 votes)
Claude Opus 4anthropic$15.00$75.00200K tokens2025-05-223.5/5 (865 votes)
Claude Sonnet 4anthropic$3.00$15.00200K tokens2025-05-223.2/5 (1302 votes)
Gemini 2.5 Flash Preview 05-20google$0.15$0.601.0M tokens2025-05-203.1/5 (30 votes)
Gemini 2.5 Flash Preview 05-20 (thinking)google$0.15$3.501.0M tokens2025-05-203.2/5 (44 votes)
Gemma 3n 4BgoogleFreeFree33K tokens2025-05-203/5 (197 votes)
OpenAI Codex Miniopenai$1.50$6.00200K tokens2025-05-163/5 (110 votes)
Mistral Medium 3mistral$0.40$2.00131K tokens2025-05-072.9/5 (130 votes)
Gemini 2.5 Pro (I/O Edition)google$1.25$10.00 tokens2025-05-063.5/5 (440 votes)
DeepSeek Prover V2deepseekFreeFree164K tokens2025-04-301.9/5 (17 votes)
Qwen3 0.6BqwenFreeFree33K tokens2025-04-291.6/5 (125 votes)
Qwen3 30B A3BqwenFreeFree41K tokens2025-04-282.3/5 (305 votes)
Qwen3 235B A22Bqwen33K tokens2025-04-282.6/5 (654 votes)
Gemini 2.5 Flash Previewgoogle$0.15$0.601.0M tokens2025-04-172.6/5 (258 votes)
Gemini 2.5 Flash Preview (thinking)google$0.17$3.501.0M tokens2025-04-172.7/5 (169 votes)
Gemma 3 12Bgoogle$0.03$0.03 tokens2025-03-132.4/5 (333 votes)
Gemma 3 27Bgoogle$0.09$0.17 tokens2025-03-122.6/5 (301 votes)
Trinity Large Previewarcee-aiFreeFree131K tokens2025-01-27
Mistral Nemomistral$0.03$0.07128K tokens2024-07-192.5/5 (85 votes)
Golden Gate Claudeanthropic200K tokens2024-05-23
Claude 3 Sonnetanthropic$3.00$15.00 tokens2024-03-052.4/5 (17 votes)
Gemini Pro 1.0google$0.50$1.5033K tokens2023-12-13
PaLM 2 Chatgoogle$1.00$2.008K tokens2023-07-202.7/5 (12 votes)
Claude 2anthropic$8.00$24.00100K tokens2023-06-112.7/5 (31 votes)
GPT-4openai$30.00$60.008K tokens2023-05-291.1/5 (35 votes)
GPT-3.5 Turboopenai$0.50$1.5016K tokens2022-03-152/5 (69 votes)
GPT-2openai1K tokens2019-11-051.5/5 (23 votes)
GPT-1openai1K tokens2018-06-111.7/5 (33 votes)