LLM API Cost Calculator

How much will your LLM API calls cost? Enter tokens per request and requests per day to see the cost per request, per day and per month for each model.

Your usage

tokens
tokens
% of input
per day
About 0 tokens (estimate: ~4 characters per token).

For a closer count see the AI token counter.

Cost by model

Cheapest first. A month is 30 days. List prices last checked 2026-11-14.

ModelInput / 1MOutput / 1MPer requestPer dayPer month
Claude Haiku 5.5 (prompts up to 100K)Anthropic$0.1$0.5$0.00045$0.4500$13.50
GPT-5.4 nanoOpenAI$0.2$1.25$0.001032.3x cheapest$1.03$30.75
GPT-5.4 miniOpenAI$0.75$4.5$0.003758.3x cheapest$3.75$112.50
Claude Haiku 4.5Anthropic$1$5$0.0045010.0x cheapest$4.50$135.00
Claude Sonnet 5.5Anthropic$2$10$0.0090020.0x cheapest$9.00$270.00
Gemini 3.1 Pro (up to 200K)Google$2$12$0.010022.2x cheapest$10.00$300.00
GPT-5.4 (up to 272K)OpenAI$2.5$15$0.012527.8x cheapest$12.50$375.00
Claude Opus 5.5Anthropic$4$20$0.018040.0x cheapest$18.00$540.00
GPT-5.5 (up to 272K)OpenAI$5$30$0.025055.6x cheapest$25.00$750.00
Claude Fable 5.2Anthropic$8$40$0.036080.0x cheapest$36.00$1,080.00

How the cost is calculated

Each request costs (fresh input x input price + cached input x cache price + output x output price) / 1,000,000. Prices are in USD per million tokens, a month is 30 days, and all figures are estimates. Prices cover the standard tier and shorter prompts; long-context, batch and priority pricing differ, so check the provider's pricing page before you budget.

Frequently asked questions

How much does an LLM API call cost?
Cost per request = (input tokens x input price + output tokens x output price) / 1,000,000, using the provider’s price per million tokens. A 2,000-token prompt with a 500-token reply on a $2 / $10 model costs $0.009.
How do I estimate my monthly LLM API cost?
Enter your typical input and output tokens per request and your requests per day. The calculator multiplies the per-request cost by your daily volume and by 30 days for the monthly figure.
What does the prompt cache hit rate do?
Cached input tokens are billed at a much lower cache-read price (often about a tenth of the normal input price). Set the share of your input that repeats between requests, such as a fixed system prompt, and the calculator prices that share at the cache rate where the provider lists one.
How do I count the tokens in my prompt?
Paste a typical prompt into the box for a quick estimate of about 4 characters per token, or use the AI token counter. Exact counts depend on each provider’s tokenizer.
Are these prices up to date?
These are list prices for the standard tier, last checked 2026-11-14. Providers change prices often, and long-context, batch, priority and peak-hour rates differ, so confirm on the provider’s pricing page before budgeting.

⭐ Rate this tool

Your feedback helps us improve

Added Nov 14, 2026

🔄 Workflow Suggestion

Try combining multiple tools for a complete workflow. For example: Notepad → Text Encryption → Save to Cloud or Date Calculator → Calendar → Countdown Timer

Related Tools & Recommendations

Send Feedback

We'd love to hear your thoughts! Your feedback helps us improve our tools and create a better experience for everyone.

Share Your Experience

Tell us what you think about this tool

Your feedback helps us improve and create better tools for everyone