ModelCost — AI and LLM API pricing calculator
Compare AI model API prices per million tokens, context windows and monthly cost for your workload. Prices via OpenRouter, dated. Free, no sign-up.
ModelCost lists the prices of AI models from OpenRouter's public model list, copied on the date shown beside every price. Search and sort the catalogue, open a model's prices and limits, compare two models side by side, or enter your own workload to see what it would cost each month. Every view has its own link to share. No account is needed and nothing is sent anywhere.
What you can do
- Search and filter every listed model by lab, and sort by input price, output price, context window or release date.
- Compare two models side by side: prices, context, max output, input and output types, and the monthly cost for each preset workload.
- Enter your own requests, tokens and cache share to see monthly and yearly cost and the cheapest models for that workload.
How to use ModelCost
- Search the catalogue by model, lab or id, filter by lab and sort by input price, output price, context window or newest.
- Open a model for its input, output and cached-input prices, context window, max output and the monthly cost of five common workloads.
- Compare two models, or open the calculator, choose a preset or enter requests a day and tokens per request, and read the monthly and yearly cost and the cheapest models.
Limitations
- Prices are OpenRouter's list prices, refreshed every few hours, not quotes from each provider. Providers can change prices, and their own discounts, batch rates and taxes are not included.
- Costs are estimates for 30-day months from the numbers you enter. Models without a listed input or output price cannot be costed.
Is ModelCost free, and do I need an account?
Yes, it is free. ModelCost runs in your browser with no account or payment details.
Common questions
Where do the prices come from, and how fresh are they?
From OpenRouter's public model list. Every price shows the date it was copied ("via OpenRouter · as of" that date); the list is refreshed every few hours, and the copy bundled with the app is used when the live list cannot be reached.
How is the monthly cost worked out?
Input tokens times the input price, plus output tokens times the output price, per request, times requests a day, times 30. Cached input uses the model's cache-read price where one is listed.
Related apps
- Word Counter: Count words, characters and sentences, with reading time and a limit you set.
Read the How to compare LLM API prices and estimate your cost guide
Enable JavaScript to use the interactive app. The public guide can be read without JavaScript.