AI model API prices

API prices for 40 popular AI models per million input and output tokens, 30 side-by-side comparisons and monthly costs; via OpenRouter, as of 2026-11-13.

Prices via OpenRouter · as of 13 Nov 2026. USD per million tokens.

API prices of 40 popular AI models, USD per million tokens
ModelLabInputOutputContext
GPT-6.1 Terra ProOpenAI$1.00$5.001.05M tokens
Claude Fable 5.2Anthropic$8.00$40.001M tokens
Gemini 4 HydrogenGoogle$1.50$7.501.05M tokens
Grok 4.7SpaceXAI$2.00$6.00500K tokens
Llama Guard 4 12BMeta$0.18$0.18164K tokens
DeepSeek V4.1 Flash 1017DeepSeek$0.038$0.501.05M tokens
Mistral Large 4Mistral$0.70$2.101.05M tokens
Qwen3.8 Max PrimeQwen$4.00$12.001M tokens
Nova 2 LiteAmazon$0.30$2.501M tokens
Phi 4Microsoft$0.07$0.1416K tokens
Command A+Cohere$0.30$1.50192K tokens
Kimi K3.1 ProMoonshotAI$2.00$10.001.05M tokens
GPT-6.1 TerraOpenAI$1.00$5.001.05M tokens
Claude Haiku 5.5Anthropic$0.10$0.501M tokens
Gemini 4 CarbonGoogle$2.00$10.001.05M tokens
Grok 4.6SpaceXAI$2.00$6.00500K tokens
Llama 4 MaverickMeta$0.35$1.00524K tokens
DeepSeek V4.1 FlashDeepSeek$0.30$1.201.05M tokens
Mistral Medium 3.5Mistral$1.50$7.50262K tokens
Qwen3.8 Omni FlashQwen$0.15$0.471M tokens
Nova Premier 1.0Amazon$2.50$12.501M tokens
Command ACohere$2.50$10.00256K tokens
Kimi K3MoonshotAI$0.192$16.001.05M tokens
GPT-6.1 Sol ProOpenAI$2.00$10.001.05M tokens
Claude Sonnet 5.5Anthropic$2.00$10.001M tokens
Gemini Omni 1.2 FlashGoogle$1.50$9.00131K tokens
Grok 4.5SpaceXAI$2.00$6.00500K tokens
Llama 4 ScoutMeta$0.10$0.301.31M tokens
DeepSeek V4 Flash Vision ExpDeepSeek$0.44$1.321.05M tokens
Mistral Small 4Mistral$0.15$0.60262K tokens
Qwen3.8 Max (0902)Qwen$2.00$6.001M tokens
Nova Lite 1.0Amazon$0.06$0.24300K tokens
Command R7B (12-2024)Cohere$0.0375$0.15128K tokens
Kimi K2.7 CodeMoonshotAI$0.60$3.50262K tokens
GPT-6.1 SolOpenAI$2.00$10.001.05M tokens
Claude Opus 5.5Anthropic$4.00$20.001M tokens
Gemini Omni 1.1 FlashGoogle$1.50$9.00131K tokens
Grok Build 0.1SpaceXAI$1.00$2.00256K tokens
Llama 3.3 70B InstructMeta$0.71$0.71131K tokens
DeepSeek V4 Pro 0813DeepSeek$0.111$4.441.05M tokens

Verdict

Of these 40 models, Command R7B (12-2024) has the lowest input price ($0.0375 per million tokens) and Phi 4 the lowest output price ($0.14); Llama 4 Scout reads the most at once, 1.31M tokens. Open a model for its monthly costs on common workloads, or a comparison for two models side by side.

Cheapest model per workload

WorkloadAssumptionsCheapest modelPer month
Chat assistant1,000 requests a day, 2,000 input and 500 output tokens each, 30% of input cachedCommand R7B (12-2024)$4.50
Support bot2,000 requests a day, 3,000 input and 300 output tokens each, 60% of input cachedCommand R7B (12-2024)$9.45
Document summaries200 requests a day, 20,000 input and 800 output tokens each, 0% of input cachedCommand R7B (12-2024)$5.22
Coding agent500 requests a day, 60,000 input and 2,000 output tokens each, 85% of input cachedDeepSeek V4.1 Flash 1017$27.78
Bulk classification100,000 requests a day, 300 input and 5 output tokens each, 50% of input cachedDeepSeek V4.1 Flash 1017$29.10

Comparisons

Subscriptions vs API

AI subscriptions vs the API: 47 ChatGPT, Claude, Gemini, Cursor and other plans from 10 providers, and when a flat plan costs less than paying per token.

Keep exploring

Enable JavaScript to use the interactive ModelCost app and calculator.