AI Model Pricing

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

126 models tracked · 19 providers
152 models
Showing 50 of 152

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.

Pricing sourced from LiteLLM & provider data. Updated daily.
AI Model Pricing Comparison — 152 models
ModelProviderInput Price (per 1M tokens)Output Price (per 1M tokens)Context WindowRelease DateUser Rating
MiniMax M2-herminimax$0.30$1.2066K tokens2026-01-27
Kimi K2.5moonshotai$0.60$3.00262K tokens2026-01-275/5 (10 votes)
Solar Pro 3upstageFreeFree128K tokens2026-01-27
GLM 4.7 Flashzhipu$0.07$0.40200K tokens2026-01-27
MiniMax: MiniMax M2.1minimax tokens2025-12-235/5 (45 votes)
Z.AI: GLM 4.7openrouter tokens2025-12-225/5 (114 votes)
Gemini 3 Flash Previewgoogle$0.50$3.001.0M tokens2025-12-175/5 (51 votes)
Mistral Small Creativemistral$0.10$0.3033K tokens2025-12-16
MiMo-V2-FlashxiaomiFreeFree262K tokens2025-12-142.5/5 (50 votes)
GPT-5.2 Chatopenai$1.75$14.00128K tokens2025-12-103.7/5 (25 votes)
GPT-5.2openai$1.75$14.00400K tokens2025-12-104.9/5 (61 votes)
GPT-5.2 Proopenai$21.00$168.00400K tokens2025-12-103.4/5 (42 votes)
Mistral: Devstral 2 2512mistral tokens2025-12-092.1/5 (81 votes)
GPT-5.1 Codex Maxopenai tokens2025-12-042.2/5 (45 votes)
Amazon Nova 2 LiteamazonFreeFree1M tokens2025-12-02
DeepSeek V3.2 Specialedeepseek$0.28$0.42131K tokens2025-12-013.3/5 (21 votes)
DeepSeek V3.2deepseek$0.28$0.40164K tokens2025-12-011.9/5 (48 votes)
Mistral Large 3 2512mistral tokens2025-12-015/5 (19 votes)
TNG R1T Chimeraopenrouter tokens2025-11-27
INTELLECT-3openrouter tokens2025-11-273.5/5 (13 votes)
Claude Opus 4.5anthropic tokens2025-11-243.3/5 (789 votes)
Bert-Nebulon Alphaopenrouter tokens2025-11-243/5 (46 votes)
Grok 4.1 Fastxai tokens2025-11-212.9/5 (29 votes)
Gemini 3 Pro Previewgoogle tokens2025-11-185/5 (585 votes)
Sherlock Dash Alphaopenrouter tokens2025-11-15
Sherlock Think Alphaopenrouter tokens2025-11-15
GPT-5.1openai$1.25$10.00400K tokens2025-11-133.9/5 (89 votes)
GPT-5.1 Chatopenai$1.25$10.00128K tokens2025-11-132.3/5 (18 votes)
GPT-5.1-Codex-Miniopenai$1.50$6.00400K tokens2025-11-133.1/5 (165 votes)
GPT-5.1-Codexopenai$1.25$10.00400K tokens2025-11-132.5/5 (112 votes)
Kimi Linear 48B A3B Instructmoonshotai$0.30$0.601.0M tokens2025-11-101.9/5 (22 votes)
Kimi K2 Thinkingmoonshotai$0.60$2.50262K tokens2025-11-062.3/5 (109 votes)
Polaris AlphaopenrouterFreeFree256K tokens2025-11-065/5 (45 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-233.2/5 (242 votes)
Andromeda AlphaopenrouterFreeFree128K tokens2025-10-21
Claude Haiku 4.5anthropic$1.00$5.00200K tokens2025-10-154.9/5 (310 votes)
GPT-5 Proopenai$15.00$120.00400K tokens2025-10-063.4/5 (81 votes)
Z.AI: GLM 4.6openrouter$0.50$1.75203K tokens2025-09-305/5 (432 votes)
DeepSeek V3.2 Expdeepseek$0.27$0.41164K tokens2025-09-293/5 (76 votes)
Claude Sonnet 4.5anthropic$3.00$15.00200K tokens2025-09-294.3/5 (764 votes)
Google: Gemini 2.5 Flash Preview 09-2025google$0.30$2.501.0M tokens2025-09-25
Google: Gemini 2.5 Flash Lite Preview 09-2025google$0.10$0.401.0M tokens2025-09-25
GPT-5 Codexopenai tokens2025-09-233.2/5 (496 votes)
Qwen3 Coder Plusqwen$1.00$5.00128K tokens2025-09-172.5/5 (181 votes)
Qwen3 Coder Flashqwen$0.30$1.50128K tokens2025-09-17
Qwen3 Next 80B A3B Instructqwen$0.15$1.5066K tokens2025-09-113.8/5 (80 votes)
Qwen3 Next 80B A3B Thinkingqwen$0.15$1.5066K tokens2025-09-113/5 (68 votes)
Qwen Plus 0728 (thinking)qwen$0.40$4.001M tokens2025-09-08
Qwen Plus 0728qwen$0.40$1.201M tokens2025-09-08
Sonoma Dusk AlphaopenrouterFreeFree2M tokens2025-09-055/5 (31 votes)
Sonoma Sky AlphaopenrouterFreeFree2M tokens2025-09-053.3/5 (77 votes)
Qwen: Qwen3 Maxqwen$1.20$6.00256K tokens2025-09-053.9/5 (182 votes)
NVIDIA Nemotron Nano 9B V2nvidia$0.04$0.16131K tokens2025-09-052.5/5 (19 votes)
MoonshotAI: Kimi K2 0905moonshotai$0.60$2.50262K tokens2025-09-043.7/5 (63 votes)
Qwen3 30B A3B Thinking 2507qwen$0.07$0.28262K tokens2025-08-294.2/5 (58 votes)
Grok Code Fast 1xai$0.20$1.50256K tokens2025-08-262.2/5 (1314 votes)
DeepSeek V3.1deepseek$0.20$0.80164K tokens2025-08-213.5/5 (244 votes)
Mistral Medium 3.1mistral$0.40$2.00131K tokens2025-08-134.5/5 (55 votes)
GPT-5openai$1.25$10.00400K tokens2025-08-073.8/5 (824 votes)
GPT-5 Miniopenai<$0.01<$0.01 tokens2025-08-074.4/5 (729 votes)
GPT-5 Nanoopenai tokens2025-08-072.6/5 (223 votes)
Claude Opus 4.1anthropic$15.00$75.00200K tokens2025-08-055/5 (338 votes)
GPT OSS 20Bopenai$0.05$0.20131K tokens2025-08-053.3/5 (878 votes)
GPT OSS 120Bopenai$0.15$0.60131K tokens2025-08-053.2/5 (596 votes)
Horizon BetaopenrouterFreeFree256K tokens2025-08-014.6/5 (305 votes)
Horizon AlphaopenrouterFreeFree256K tokens2025-07-303.7/5 (304 votes)
Qwen: Qwen3 30B A3B Instruct 2507qwen$0.20$0.80131K tokens2025-07-294/5 (157 votes)
Qwen: Qwen3 235B A22B Thinking 2507qwen$0.30$3.00131K tokens2025-07-254.5/5 (97 votes)
Z.AI: GLM 4.5zhipu$0.60$2.20128K tokens2025-07-255/5 (229 votes)
Z.AI: GLM 4.5 Airzhipu$0.20$1.10128K tokens2025-07-255/5 (309 votes)
Z.AI: GLM 4 32Bzhipu$0.10$0.10128K tokens2025-07-243.8/5 (16 votes)
Qwen3 Coderqwen$1.00$2.00 tokens2025-07-235/5 (477 votes)
Qwen: Qwen3 235B A22B 2507qwen<$0.01<$0.01 tokens2025-07-213.9/5 (85 votes)
OpenAI o3openai$10.00$40.00 tokens2025-04-162.4/5 (398 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-163.2/5 (118 votes)
GPT-4.1openai$2.00$8.001.0M tokens2025-04-144.1/5 (475 votes)
GPT-4.1 Nanoopenai$0.10$0.401.0M tokens2025-04-143.1/5 (95 votes)
GPT-4.1 Miniopenai$0.40$1.601.0M tokens2025-04-143.9/5 (56 votes)
Optimus Alphaopenrouter1M tokens2025-04-104.9/5 (92 votes)
Grok 3 Mini Betaxai$0.40$0.80131K tokens2025-04-094/5 (56 votes)
Grok 3 Betaxai$2.00$4.00131K tokens2025-04-093.6/5 (17 votes)
Llama 4 Maverickmeta$1.50$2.501M tokens2025-04-052.2/5 (139 votes)
Llama 4 Scoutmeta$0.25$0.5010M tokens2025-04-051.9/5 (145 votes)
Quasar Alphaopenrouter1M tokens2025-04-022.7/5 (109 votes)
ChatGPT-4o (March 2025)openai$5.00$15.00128K tokens2025-03-272.3/5 (198 votes)
Gemini 2.5 Pro Experimentalgoogle$1.00$2.001M tokens2025-03-254.6/5 (1045 votes)
QwQ 32Bqwen$0.50$1.5040K tokens2025-03-053.6/5 (57 votes)
GPT-4.5openai$75.00$150.00128K tokens2025-02-272.2/5 (203 votes)
Claude 3.7 Thinking Sonnetanthropic$6.00$30.00200K tokens2025-02-264.7/5 (486 votes)
Claude 3.7 Sonnetanthropic$3.00$15.00200K tokens2025-02-254/5 (997 votes)
Grok 3 Thinkingxai128K tokens2025-02-192.2/5 (90 votes)
Grok 3xai128K tokens2025-02-183.4/5 (124 votes)
DeepSeek R1deepseek$0.55$2.1966K tokens2025-02-012.9/5 (344 votes)
Trinity Large Previewarcee-aiFreeFree131K tokens2025-01-27
Gemini 2.0 Pro Experimentalgoogle2M tokens2025-01-013.1/5 (19 votes)
o3 Miniopenai$1.10$4.4064K tokens2024-12-152.8/5 (53 votes)
Gemini 2.0 Flash Thinkinggoogle$0.25$0.50500K tokens2024-12-114.8/5 (51 votes)
o1openai$15.00$60.00128K tokens2024-12-052.6/5 (67 votes)
Mistral Large 2mistral$2.00$6.00128K tokens2024-07-242.4/5 (23 votes)
Llama 3.1 70B (Instruct)meta$0.59$0.79128K tokens2024-07-231.9/5 (43 votes)
Llama 3.1 405Bmeta$2.70$3.10128K tokens2024-07-23
GPT-4o miniopenai$0.15$0.60128K tokens2024-07-182.7/5 (224 votes)
Claude Sonnet 3.6 (2022-10-22)anthropic$3.00$15.00200K tokens2024-06-012.3/5 (59 votes)
GPT-4o (Omni)openai$2.50$10.00128K tokens2024-05-132.3/5 (198 votes)
Llama 3 70Bmeta$0.59$0.798K tokens2024-04-18
DeepSeek V3 (March 2024)deepseek$0.14$0.28128K tokens2024-03-244.2/5 (135 votes)
Claude 3 Haikuanthropic$0.25$1.25200K tokens2024-03-042.8/5 (11 votes)
Claude 3 Opusanthropic$15.00$75.00200K tokens2024-03-041.6/5 (28 votes)
Mistral Largemistral$2.00$6.0032K tokens2024-02-263.3/5 (38 votes)
Gemini 1.5 Progoogle$3.50$10.501M tokens2024-02-153/5 (22 votes)
Llama 4 Behemothmeta128K tokensComing Soon (In Training)
xAI: Grok 4 Fast (free)xaiFreeFree2M tokens2025-09-194.3/5 (45 votes)
Mistral Devstral Mediummistral$0.40$2.00 tokens2025-07-112.6/5 (100 votes)
Mistral Devstral Small 1.1mistral$0.10$0.30 tokens2025-07-113.4/5 (116 votes)
Kimi K2moonshotai$0.57$2.30 tokens2025-07-114.5/5 (216 votes)
xAI: Grok 4xai$3.00$15.00256K tokens2025-07-092.5/5 (252 votes)
Google: Gemma 3n 2BgoogleFreeFree8K tokens2025-07-091.9/5 (17 votes)
Cypher Alpha (free)openrouter tokens2025-07-011.5/5 (132 votes)
Inception: Mercuryinception$10.00$10.0032K tokens2025-06-261.9/5 (42 votes)
Gemini 2.5 Flash Lite Preview 06-17google$0.10$0.401.0M tokens2025-06-175/5 (69 votes)
MiniMax M1minimax$0.30$1.651M tokens2025-06-171.7/5 (58 votes)
Gemini 2.5 Pro Preview 06-05google$1.25$10.001.0M tokens2025-06-055/5 (214 votes)
DeepSeek R1 0528deepseekFreeFree164K tokens2025-05-283.2/5 (179 votes)
Claude Opus 4anthropic$15.00$75.00200K tokens2025-05-225/5 (550 votes)
Claude Sonnet 4anthropic$3.00$15.00200K tokens2025-05-224.1/5 (919 votes)
Gemini 2.5 Flash Preview 05-20google$0.15$0.601.0M tokens2025-05-204.2/5 (20 votes)
Gemini 2.5 Flash Preview 05-20 (thinking)google$0.15$3.501.0M tokens2025-05-204.4/5 (28 votes)
Gemma 3n 4BgoogleFreeFree33K tokens2025-05-204.1/5 (126 votes)
OpenAI Codex Miniopenai$1.50$6.00200K tokens2025-05-163.8/5 (77 votes)
Mistral Medium 3mistral$0.40$2.00131K tokens2025-05-073.6/5 (96 votes)
Gemini 2.5 Pro (I/O Edition)google$1.25$10.00 tokens2025-05-064.3/5 (329 votes)
DeepSeek Prover V2deepseekFreeFree164K tokens2025-04-301.9/5 (18 votes)
Qwen3 0.6BqwenFreeFree33K tokens2025-04-291.6/5 (122 votes)
Qwen3 30B A3BqwenFreeFree41K tokens2025-04-282.3/5 (301 votes)
Qwen3 235B A22Bqwen33K tokens2025-04-283/5 (529 votes)
Gemini 2.5 Flash Previewgoogle$0.15$0.601.0M tokens2025-04-173/5 (210 votes)
Gemini 2.5 Flash Preview (thinking)google$0.17$3.501.0M tokens2025-04-173.3/5 (126 votes)
Gemma 3 12Bgoogle$0.03$0.03 tokens2025-03-132.3/5 (359 votes)
Gemma 3 27Bgoogle$0.09$0.17 tokens2025-03-122.6/5 (297 votes)
Mistral Nemomistral$0.03$0.07128K tokens2024-07-192.7/5 (77 votes)
Golden Gate Claudeanthropic200K tokens2024-05-23
Claude 3 Sonnetanthropic$3.00$15.00 tokens2024-03-052.7/5 (14 votes)
Gemini Pro 1.0google$0.50$1.5033K tokens2023-12-13
PaLM 2 Chatgoogle$1.00$2.008K tokens2023-07-20
Claude 2anthropic$8.00$24.00100K tokens2023-06-113.9/5 (18 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.2/5 (58 votes)
GPT-2openai1K tokens2019-11-051.5/5 (22 votes)
GPT-1openai1K tokens2018-06-111.8/5 (29 votes)