LLM API cost
LLM price comparison
The same workload priced on every model in the table, cheapest first.
With input tokens 1,500 tokens, output tokens 500 tokens, requests per month 100,000, cached share of input 0%, vendor all, the cheapest model is Ministral 3 3B at list prices read 2026-11-01.
Cheapest model
Read from vendor pricing pages on 2026-11-01. Arithmetic on list prices, not advice or a quote.
Saving and exports come with Pro, $9 a month. What is in it. The calculator itself is free.
How it works
Price is one axis; quality, latency and context window are the others. Use the table to find the cheapest model that passes your own evaluation, not the cheapest model overall.
The formula
llm-api-cost for each model, sorted by monthly cost
Worked example
Inputs
- Input tokens
- 1,500 tokens
- Output tokens
- 500 tokens
- Requests per month
- 100,000
- Cached share of input
- 0%
- Batch API
- No
- Vendor
- all
Result
- Cheapest model
- Ministral 3 3B
- Cheapest monthly
- $20.00
- Priciest model
- Claude Fable 5.1
- Priciest monthly
- $4,000
- Models compared
- 56
Sources
- developers.openai.com/api/docs/pricing (read 2026-11-01)
- platform.claude.com/docs/en/about-claude/pricing (read 2026-11-01)
- ai.google.dev/gemini-api/docs/pricing (read 2026-11-01)
- docs.mistral.ai/inference/pricing (read 2026-11-01)
- api-docs.deepseek.com/quick_start/pricing (read 2026-11-01)
- docs.x.ai/docs/models (read 2026-11-01)
Prices read from each vendor's own pricing page on 2026-11-01; the page may have changed since. This is arithmetic on published list prices, not advice or a quote. Check the vendor's page before committing a budget.
Questions
Do all vendors publish a cached price?
Related tools
LLM API cost calculator
Monthly and per-request cost of an LLM API workload from input tokens, output tokens, requests a month, cached share and the Batch discount.
Prompt cost calculator
What one prompt costs on a model from its length in characters and the expected answer length.
Budget to requests calculator
How many requests and tokens a monthly budget buys on a model.