← all tools

LLM API Pricing Calculator

Live pricing for hundreds of models, straight from OpenRouter. Output tokens cost far more than input, so enter your monthly usage to see the real cost per model updated automatically.

Live prices via OpenRouter, refreshed on every visit · per 1M tokens; batch ~50% off, prompt caching up to 90% off input · confirm on the provider

usefulHQ Study · 2026

The same month of AI costs $0.2215 on DeepSeek vs $40 on Claude Opus, a 181× spread

We priced a typical assistant workload, 5 million input and 1 million output tokens a month, across the flagship models using live OpenRouter rates. The cheapest capable option, DeepSeek Flash Latest, runs about $0.2215 a month; the priciest, Claude Opus 5.5, about $40. For most tasks a mid-tier model does the job at a fraction of the frontier price, so matching the model to the task, not defaulting to the biggest name, is where the savings are.

Cheapest flagship
$0.2215/mo
DeepSeek
Priciest flagship
$40/mo
Claude Opus
Cost spread
181×
same workload
Monthly cost by model (5M in + 1M out)
DeepSeek$0.2215GPT-5$2.2Gemini Flash$4Grok$7Gemini Pro$16.25Claude Sonnet$20Claude Opus$40

Method: live OpenRouter per-token rates × 5M input + 1M output tokens/month; batch and prompt-caching discounts excluded. Cite this: "usefulHQ LLM Cost Study 2026", tools.usefulhq.com/llm-pricing/. Updates from live prices. More usefulHQ studies →

Embed or cite this stat
Paste this into your page (a free link back to the data):
million
million
Your cost/mo ▲ModelProviderInput /1MOutput /1MContext
FreeFlint (free)🧠Recursive––262KOpenRouter →
FreeXing4.0 29B A4B (free)🧠XingChen––262KOpenRouter →
FreeNemotron 3.5 Super VL (free)👁🧠NVIDIA––1MOpenRouter →
FreeDots3-Note Preview (free)👁🧠Dots Studio––512KOpenRouter →
FreeLFM2.5-2.6B (free)🧠LiquidAI––66KOpenRouter →
FreeNemotron 3.5 Lightning (free)🧠NVIDIA––1MOpenRouter →
FreeInkling Small (free)👁🧠Thinking Machines––1.048576MOpenRouter →
FreeInkling (free)👁🧠Thinking Machines––1.048576MOpenRouter →
FreeNorth Mini Code (free)🧠Cohere––256KOpenRouter →
FreeNemotron 3.5 Content Safety (free)👁🧠NVIDIA––128KOpenRouter →
FreeNemotron 3 Ultra (free)🧠NVIDIA––1MOpenRouter →
FreeNemotron 3 Nano Omni (free)👁🧠NVIDIA––256KOpenRouter →
FreeGemma 4 26B A4B (free)👁🧠Google––262KOpenRouter →
FreeGemma 4 31B (free)👁🧠Google––262KOpenRouter →
FreeLyria 3 Pro Preview👁Google––1.048576MOpenRouter →
FreeLyria 3 Clip Preview👁Google––1.048576MOpenRouter →
FreeFree Models Router👁🧠Other––200KOpenRouter →
$0.168CHEAPESTLing 3.0 Flash🧠inclusionAI$0.021$0.063262KOpenRouter →
$0.175Mistral NemoMistral$0.029$0.03131KOpenRouter →
$0.18gpt-oss-20b🧠OpenAI$0.018$0.09131KOpenRouter →
$0.2Summarize👁ScaleDown$0.04$01MOpenRouter →
$0.2Extract👁ScaleDown$0.04$01MOpenRouter →
$0.2215DeepSeek Flash Latest👁🧠DeepSeek$0.0155$0.1441.048576MOpenRouter →
$0.225Nex-N2.5-Mini👁🧠Nex AGI$0.025$0.1262KOpenRouter →
$0.2294GLM Flash Latest👁🧠Z.ai$0.0163$0.14791.048576MOpenRouter →
$0.2294GLM 5.3 Flash👁🧠Z.ai$0.0163$0.14791.048576MOpenRouter →
$0.232gpt-oss-20b (batch)🧠OpenAI$0.024$0.112131KOpenRouter →
$0.25Llama 3 8B LunarisSao10K$0.04$0.058KOpenRouter →
$0.28Qwen3.7 Flash👁🧠Qwen$0.03$0.131MOpenRouter →
$0.284gpt-oss-120b (batch)🧠OpenAI$0.0296$0.136131KOpenRouter →
$0.3Schematron V2 TurboInference.net$0.03$0.15128KOpenRouter →
$0.315Nova Micro 1.0Amazon$0.035$0.14128KOpenRouter →
$0.325GPT-5 Nano (batch)👁🧠OpenAI$0.025$0.2400KOpenRouter →
$0.33Mistral Small 3Mistral$0.05$0.0833KOpenRouter →
$0.33Llama 3.1 8B InstructMeta$0.05$0.08131KOpenRouter →
$0.336Llama 3.2 1B InstructMeta$0.027$0.20160KOpenRouter →
$0.3375Command R7B (12-2024)Cohere$0.0375$0.15128KOpenRouter →
$0.35Mercury 2.5🧠Inception$0.04$0.15260KOpenRouter →
$0.35Gemma 3 4B👁Google$0.05$0.1131KOpenRouter →
$0.397Hy-MT2-1.8BTencent$0.044$0.1778KOpenRouter →
$0.4DeepSeek V4.1 Flash (batch)👁🧠DeepSeek$0.05$0.151.048576MOpenRouter →
$0.4Gemma 3 12B👁Google$0.05$0.15131KOpenRouter →
$0.43GLM 5.3 Flash (batch)👁🧠Z.ai$0.05$0.181.048576MOpenRouter →
$0.45Solar Mini 4🧠Upstage$0.05$0.2524KOpenRouter →
$0.45Granite 4.2 8B🧠IBM$0.06$0.15131KOpenRouter →
$0.45GPT-4.1 Nano (batch)👁OpenAI$0.05$0.21.047576MOpenRouter →
$0.48Schematron V2 SmallInference.net$0.05$0.23128KOpenRouter →
$0.48Ling 3.0 Flash VL👁🧠inclusionAI$0.06$0.18131KOpenRouter →
$0.49Phi 4Microsoft$0.07$0.1416KOpenRouter →
$0.5Claude Haiku 5.5 (batch)👁🧠Anthropic$0.05$0.251MOpenRouter →
$0.5GPT-6 Luna Pro (batch)👁🧠OpenAI$0.05$0.251.05MOpenRouter →
$0.5GPT-6 Luna (batch)👁🧠OpenAI$0.05$0.251.05MOpenRouter →
$0.51MythoMax 13BOther$0.08$0.118KOpenRouter →
$0.53Ternary Bonsai 2 9B👁🧠PrismML$0.08$0.13262KOpenRouter →
$0.54Nemotron 3 Nano 30B A3B🧠NVIDIA$0.06$0.24262KOpenRouter →
$0.54Nova Lite 1.0👁Amazon$0.06$0.24300KOpenRouter →
$0.55Nemotron 3.5 Lightning🧠NVIDIA$0.07$0.2262KOpenRouter →
$0.5625Gemma 4 26B A4B 👁🧠Google$0.0675$0.225262KOpenRouter →
$0.575Mistral Small 3.2 24B👁Mistral$0.075$0.2256KOpenRouter →
$0.5765DeepSeek V4 Flash Latest🧠DeepSeek$0.0553$0.31.048576MOpenRouter →
$0.58Llama 3.2 3B InstructMeta$0.05$0.33131KOpenRouter →
$0.585Qwen3.5-Flash👁🧠Qwen$0.065$0.261MOpenRouter →
$0.6Ling 3.1 Flash🧠inclusionAI$0.075$0.2251MOpenRouter →
$0.6Reka Edge👁🧠Other$0.1$0.116KOpenRouter →
$0.6Ministral 3 3B 2512👁Mistral$0.1$0.1131KOpenRouter →
$0.625Nex-N2.5-Pro👁🧠Nex AGI$0.075$0.25262KOpenRouter →
$0.63Qwen3 Coder 30B A3B InstructQwen$0.07$0.28262KOpenRouter →
$0.637DeepSeek V4 Flash 0423🧠DeepSeek$0.091$0.1821.048576MOpenRouter →
$0.65GPT-5 Nano👁🧠OpenAI$0.05$0.4400KOpenRouter →
$0.665Hy-MT2-30B-A3BTencent$0.074$0.2958KOpenRouter →
$0.665Hy-MT2-7BTencent$0.074$0.2958KOpenRouter →
$0.675MiniMax M3.1 Flash👁🧠MiniMax$0.075$0.31.048576MOpenRouter →
$0.675Seed 1.6 Flash👁🧠ByteDance Seed$0.075$0.3262KOpenRouter →
$0.675gpt-oss-safeguard-20b🧠OpenAI$0.075$0.3131KOpenRouter →
$0.675GPT-4o-mini (batch)👁OpenAI$0.075$0.3128KOpenRouter →
$0.68Qwen3 32B🧠Qwen$0.08$0.28131KOpenRouter →
$0.7Muse Spark 1.3 Contributor👁🧠Meta$0.1$0.21.048576MOpenRouter →
$0.7Muse Spark 1.2 Contributor👁🧠Meta$0.1$0.21.048576MOpenRouter →
$0.7UI-TARS 7B 👁ByteDance$0.1$0.2128KOpenRouter →
$0.7Reka Flash 3🧠Other$0.1$0.266KOpenRouter →
$0.7Qwen2.5 7B InstructQwen$0.1$0.233KOpenRouter →
$0.7025GLM 4.7 Flash🧠Z.ai$0.0605$0.4200KOpenRouter →
$0.725DeepSeek V4.1 Flash👁🧠DeepSeek$0.045$0.51.048576MOpenRouter →
$0.7425Hy3🧠Tencent$0.0825$0.33262KOpenRouter →
$0.75Particle-1👁🧠Particle AI$0.05$0.51.048576MOpenRouter →
$0.75Gemma 3 27B👁Google$0.08$0.35131KOpenRouter →
$0.8Step 3.5 Flash🧠StepFun$0.1$0.3262KOpenRouter →
$0.8Voxtral Small 24B 2507Mistral$0.1$0.333KOpenRouter →
$0.8Qwen3 30B A3B Instruct 2507Qwen$0.1$0.3262KOpenRouter →
$0.8Llama 4 Scout👁Meta$0.1$0.31.31072MOpenRouter →
$0.82Llama 3.3 70B InstructMeta$0.1$0.32131KOpenRouter →
$0.833DeepSeek V4 Flash 0731🧠DeepSeek$0.119$0.2381.048576MOpenRouter →
$0.84Qwen3 14B🧠Qwen$0.12$0.2441KOpenRouter →
$0.85Mercury 3🧠Inception$0.1$0.351MOpenRouter →
$0.875Ternary Bonsai 2 27B👁🧠PrismML$0.075$0.5262KOpenRouter →
$0.9Seed-2.0-Mini👁🧠ByteDance Seed$0.1$0.4262KOpenRouter →
$0.9Gemini 2.5 Flash Lite👁🧠Google$0.1$0.41.048576MOpenRouter →
$0.9GPT-4.1 Nano👁OpenAI$0.1$0.41.047576MOpenRouter →
$0.9Ministral 3 8B 2512👁Mistral$0.15$0.15262KOpenRouter →
$0.95LFM2.5-24B-A2B🧠LiquidAI$0.05$0.7128KOpenRouter →
$0.98MiMo-V2.6-Flash👁🧠Xiaomi$0.14$0.281.05MOpenRouter →
$1Claude Haiku 5.5👁🧠Anthropic$0.1$0.51MOpenRouter →
$1GPT-6 Luna Pro👁🧠OpenAI$0.1$0.51.05MOpenRouter →
$1GPT-6 Luna👁🧠OpenAI$0.1$0.51.05MOpenRouter →
$1GPT Luna Latest👁🧠OpenAI$0.1$0.51.05MOpenRouter →
$1Claude Haiku Latest👁🧠Anthropic$0.1$0.51MOpenRouter →
$1Qwen3 235B A22B Instruct 2507Qwen$0.09$0.55262KOpenRouter →
$1.08Llama Guard 4 12B👁Meta$0.18$0.18164KOpenRouter →
$1.1GPT-5.6 Luna Pro (batch)👁🧠OpenAI$0.1$0.61.05MOpenRouter →
$1.1GPT-5.6 Luna (batch)👁🧠OpenAI$0.1$0.61.05MOpenRouter →
$1.1Qwen3.5-9B👁🧠Qwen$0.17$0.25262KOpenRouter →
$1.1Qwen3 30B A3B🧠Qwen$0.12$0.541KOpenRouter →
$1.13GPT-5.4 Nano (batch)👁🧠OpenAI$0.1$0.625400KOpenRouter →
$1.2Nemotron 3.5 Content Safety👁🧠NVIDIA$0.2$0.2131KOpenRouter →
$1.2Ministral 3 14B 2512👁Mistral$0.2$0.2262KOpenRouter →
$1.22Qwen3.8 Omni Flash👁🧠Qwen$0.15$0.471MOpenRouter →
$1.22Qwen3.8 Flash👁🧠Qwen$0.15$0.471MOpenRouter →
$1.25Nemotron 3.5 Super VL👁🧠NVIDIA$0.15$0.51.048576MOpenRouter →
$1.27Hunyuan A13B Instruct🧠Tencent$0.14$0.57131KOpenRouter →
$1.35DeepSeek V4.1 Flash 1017👁🧠DeepSeek$0.15$0.61.048576MOpenRouter →
$1.35Solar Pro 4🧠Upstage$0.15$0.6524KOpenRouter →
$1.35Mistral Small 4👁🧠Mistral$0.15$0.6262KOpenRouter →
$1.35Qwen3 VL 30B A3B Instruct👁Qwen$0.15$0.6262KOpenRouter →
$1.35gpt-oss-120b🧠OpenAI$0.15$0.6131KOpenRouter →
$1.35Command R (08-2024)Cohere$0.15$0.6128KOpenRouter →
$1.35GPT-4o-mini👁OpenAI$0.15$0.6128KOpenRouter →
$1.35GPT-4o-mini (2024-07-18)👁OpenAI$0.15$0.6128KOpenRouter →
$1.38Gemini 3.1 Flash Lite (batch)👁🧠Google$0.125$0.751.048576MOpenRouter →
$1.4Qwen3.6 35B A3B👁🧠Qwen$0.1$0.9262KOpenRouter →
$1.4Gemma 4 31B👁🧠Google$0.2$0.4262KOpenRouter →
$1.4Qwen3 Coder NextQwen$0.12$0.8262KOpenRouter →
$1.5Hy3 preview🧠Tencent$0.18$0.6262KOpenRouter →
$1.5GLM 4.5 Air🧠Z.ai$0.13$0.85131KOpenRouter →
$1.55Qwen3 Next 80B A3B InstructQwen$0.09$1.1262KOpenRouter →
$1.59Llama 4 Maverick👁Meta$0.1875$0.6525524KOpenRouter →
$1.6SabaMistral$0.2$0.633KOpenRouter →
$1.63GPT-5 Mini (batch)👁🧠OpenAI$0.125$1400KOpenRouter →
$1.68DeepSeek V3.2🧠DeepSeek$0.26$0.38164KOpenRouter →
$1.7Qwen3.5-35B-A3B👁🧠Qwen$0.14$1262KOpenRouter →
$1.72DeepSeek V4 Flash Vision Exp👁🧠DeepSeek$0.2156$0.64681.048576MOpenRouter →
$1.75GLM Latest🧠Z.ai$0.0699$1.41.048576MOpenRouter →
$1.75GLM 5.3🧠Z.ai$0.0699$1.41.048576MOpenRouter →
$1.76DeepSeek V3.2 Exp🧠DeepSeek$0.27$0.41164KOpenRouter →
$1.8GPT-4.1 Mini (batch)👁OpenAI$0.2$0.81.047576MOpenRouter →
$1.9UncensoredVenice$0.2$0.9128KOpenRouter →
$1.95Qwen3 Coder FlashQwen$0.195$0.9751MOpenRouter →
$2Gemini 3.5 Flash Lite (batch)👁🧠Google$0.15$1.251.048576MOpenRouter →
$2Mercury 2🧠Inception$0.25$0.75128KOpenRouter →
$2Qwen3 VL 8B Instruct👁Qwen$0.25$0.75262KOpenRouter →
$2Cydonia 24B V4.1TheDrummer$0.3$0.5131KOpenRouter →
$2.06Qwen3.6 Flash👁🧠Qwen$0.1875$1.131MOpenRouter →
$2.07Qwen3.7 Plus (batch)👁🧠Qwen$0.23$0.92262KOpenRouter →
$2.08Qwen-PlusQwen$0.26$0.781MOpenRouter →
$2.1MiniMax-01👁MiniMax$0.2$1.11.000192MOpenRouter →
$2.15Step 3.7 Flash👁🧠StepFun$0.2$1.15262KOpenRouter →
$2.2GPT-5.6 Luna Pro👁🧠OpenAI$0.2$1.21.05MOpenRouter →
$2.2GPT-5.6 Luna👁🧠OpenAI$0.2$1.21.05MOpenRouter →
$2.2Qwen2.5 72B InstructOther$0.36$0.433KOpenRouter →
$2.2DeepSeek V3.1🧠DeepSeek$0.25$0.95164KOpenRouter →
$2.25Beam 1.0 501B A23B🧠Reflection$0.25$11.048576MOpenRouter →
How we rank. We cost your actual workload: input tokens × the input rate plus output tokens × the output rate. That matters because output usually costs 3-6× more than input so a model that looks cheap on input can be dear if you generate a lot. "Blended /1M" assumes a typical 3:1 input:output mix for a quick single-number comparison. All rates are standard USD per million tokens, converted live to your currency, batch APIs are ~50% cheaper and prompt caching can cut cached input up to 90%. Prices move fast; confirm on the provider's site.

Common questions

What's the cheapest LLM API?

Proprietary: Gemini Flash-Lite and GPT-4.1 Nano near $0.10/1M input. Cheapest overall is DeepSeek (~$0.14 in / $0.28 out). The best pick depends on your input:output ratio, use the calculator.

Why do input and output cost different amounts?

Generating output is far more expensive than reading input, so output is usually 3-6× the input price. That's why a single blended price is misleading.

Is Claude or GPT cheaper?

Close at the frontier. Claude Opus ~$5/$25, GPT-5 ~$2.50/$15 standard (much more for Pro). Claude's prompt caching can cut input up to 90%, often making it cheaper in practice.

How do I cut LLM costs?

Use a smaller model where you can (budget models are 20-50× cheaper), cache repeated prompts, use the batch API for non-urgent jobs, and trim prompt and output length.

The other way to pay for tokens

Per-million-token pricing only makes sense against the alternative, which is buying the hardware once and running the model yourself. These track what that hardware costs.

Related calculators & tools
Electricity cost →Fuel cost →Car recalls →AU PR points →