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.
Monthly cost per model
Monthly cost = input volume × input price + output volume × output price. Sorted cheapest first. Cheapest and most expensive rows are highlighted.
| Model | Provider | Input $/1M | Output $/1M | Monthly cost |
|---|---|---|---|---|
| Qwen FlashCheapest | Alibaba Qwen | $0.1 | $0.4 | $9.00 |
| DeepSeek V4 Flash | DeepSeek | $0.14 | $0.28 | $9.80 |
| DeepSeek V4 Pro | DeepSeek | $0.435 | $0.87 | $30.45 |
| Qwen Plus | Alibaba Qwen | $0.4 | $1.2 | $32.00 |
| GPT-5 Mini | OpenAI | $0.25 | $2 | $32.50 |
| Gemini 2.5 Flash | $0.3 | $2.5 | $40.00 | |
| GLM-4 Plus (legacy) | Zhipu GLM | $0.5 | $1.5 | $40.00 |
| Gemini 3 Flash | $0.5 | $3 | $55.00 | |
| Kimi K2.5 | Moonshot/Kimi | $0.6 | $2.5 | $55.00 |
| Kimi K2.6 | Moonshot/Kimi | $0.6 | $4 | $70.00 |
| GPT-5.4 Mini | OpenAI | $0.75 | $4.5 | $82.50 |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | $100.00 |
| GLM-5.1 | Zhipu GLM | $1.4 | $4.4 | $114.00 |
| Qwen3 Max | Alibaba Qwen | $1.2 | $6 | $120.00 |
| Gemini 2.5 Pro | $1.25 | $10 | $162.50 | |
| GPT-5.2 | OpenAI | $1.75 | $14 | $227.50 |
| Gemini 3 Pro | $2 | $15 | $250.00 | |
| GPT-5.4 | OpenAI | $2.5 | $15 | $275.00 |
| Claude Sonnet 4.6 | Anthropic | $3 | $15 | $300.00 |
| Claude Sonnet 4.5 | Anthropic | $3 | $15 | $300.00 |
| Claude Opus 4.8 | Anthropic | $5 | $25 | $500.00 |
| Claude Opus 4.7 | Anthropic | $5 | $25 | $500.00 |
| Claude Opus 4.5 | Anthropic | $5 | $25 | $500.00 |
| GPT-5.5Most expensive | OpenAI | $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.
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.