Back to Tools
AI Model Cost Calculator
AI Model Cost Calculator
Enter your values below and press Calculate to see your result instantly.
Rates: $5.00 / 1M input | $15.00 / 1M output
Total Estimated Cost
$0.0125
Input Cost
$0.0050
Output Cost
$0.0075
About the AI Model Cost Calculator
Estimate the API cost of using a large language model from your typical prompt and response size and how often you send requests.
How to use the AI Model Cost Calculator
- Select an AI Model from the list.
- Enter the Input Tokens (Prompt) and Output Tokens (Response) for one request.
- Choose the Request Frequency (a single request or many) and press Calculate API Costs.
Formula and method
Cost = (input tokens Γ· 1,000,000 Γ input price) + (output tokens Γ· 1,000,000 Γ output price), multiplied by the number of requests. Prices are quoted per million tokens and output tokens usually cost more than input tokens.
Tips
- As a rough guide, one token is about four characters or three-quarters of a word in English.
- Model prices change often. Check the provider's current pricing page before budgeting.
- Shorter prompts and cheaper models lower costs.
Frequently Asked Questions
A chunk of text (part of a word, a whole word or punctuation) that a language model reads and writes. Providers charge by the token.