LLM API Cost Calculator

Enter your monthly token usage and compare what each model would cost per month — GPT, Claude, Gemini, DeepSeek, Kimi, Qwen, GLM. Prices come straight from the ClawRouters production model registry, in USD per 1M tokens.

Presets:

Monthly cost per model

Monthly cost = input volume × input price + output volume × output price. Sorted cheapest first. Cheapest and most expensive rows are highlighted.

ModelProviderInput $/1MOutput $/1MMonthly cost
Qwen FlashCheapestAlibaba Qwen$0.1$0.4$9.00
DeepSeek V4 FlashDeepSeek$0.14$0.28$9.80
DeepSeek V4 ProDeepSeek$0.435$0.87$30.45
Qwen PlusAlibaba Qwen$0.4$1.2$32.00
GPT-5 MiniOpenAI$0.25$2$32.50
Gemini 2.5 FlashGoogle$0.3$2.5$40.00
GLM-4 Plus (legacy)Zhipu GLM$0.5$1.5$40.00
Gemini 3 FlashGoogle$0.5$3$55.00
Kimi K2.5Moonshot/Kimi$0.6$2.5$55.00
Kimi K2.6Moonshot/Kimi$0.6$4$70.00
GPT-5.4 MiniOpenAI$0.75$4.5$82.50
Claude Haiku 4.5Anthropic$1$5$100.00
GLM-5.1Zhipu GLM$1.4$4.4$114.00
Qwen3 MaxAlibaba Qwen$1.2$6$120.00
Gemini 2.5 ProGoogle$1.25$10$162.50
GPT-5.2OpenAI$1.75$14$227.50
Gemini 3 ProGoogle$2$15$250.00
GPT-5.4OpenAI$2.5$15$275.00
Claude Sonnet 4.6Anthropic$3$15$300.00
Claude Sonnet 4.5Anthropic$3$15$300.00
Claude Opus 4.8Anthropic$5$25$500.00
Claude Opus 4.7Anthropic$5$25$500.00
Claude Opus 4.5Anthropic$5$25$500.00
GPT-5.5Most expensiveOpenAI$5$30$550.00

With ClawRouters

Instead of sending every request to one model, ClawRouters routes each call to the cheapest model capable of handling it. Below is an illustrative mix: 70% of traffic at the average price of the three cheapest models, 20% at the median model, 10% at the most expensive tier.

Estimated routed monthly cost
$89.29
vs. everything on GPT-5.5 ($550.00)
84%

The mix above is illustrative, not a routing guarantee. Actual savings depend on your workload; typical users save 60-90%.

Frequently Asked Questions

How do I calculate LLM API cost?

LLM APIs bill per token: monthly cost = (input tokens ÷ 1M × input price per 1M) + (output tokens ÷ 1M × output price per 1M). This calculator multiplies your monthly input and output token volumes by each model's per-million-token prices and sums the two, so you can compare every model's monthly bill side by side.

Why are input and output tokens priced differently?

Output tokens are generated by the model and cost more compute to produce, so providers price them higher than input tokens — for most models in this table the output price is several times the input price. That means generation-heavy workloads (coding agents, writing) are dominated by output cost, while prompt-heavy workloads (RAG with large retrieved context) are dominated by input cost.

How does smart LLM routing save money?

A smart router analyzes each request and sends it to the cheapest model capable of handling it — simple Q&A and formatting go to budget models, and only genuinely hard tasks escalate to premium models. Because most real-world traffic is simple or medium complexity, the blended cost lands far below running everything on a single premium model. Actual savings depend on your workload; typical ClawRouters users save 60-90%.

Where do the prices in this calculator come from?

Prices come from the same model registry that powers ClawRouters routing in production, quoted in USD per 1 million tokens. When a provider changes pricing, the registry is updated and this calculator reflects it automatically — no separately maintained marketing numbers.