LLM calculator

LLM Cost Calculator

Estimate monthly model spend from users, request volume, input tokens, output tokens, and optional cached input.

Estimate monthly LLM spend

Estimated monthly cost$0.00
Input cost$0.00
Output cost$0.00
Total monthly requests0
Cost per request$0.00

Formula

Monthly cost is estimated asrequests * input tokens * input price + requests * output tokens * output price, with cached input priced separately when supported by the selected model.

Use this for early budgeting: model prices and token counts can change. Confirm final production budgets against official provider pricing and real usage logs.
SaaS

Forecast user-driven spend

Translate monthly active users and queries per user into estimated model cost.

Chatbots

Budget repeated conversations

Model how prompt length, answer length, and cached input affect chat workloads.

Planning

Compare with full app cost

Use model spend as one line item before adding embeddings, infrastructure, and retries.

NeedUse this pageNext step
Full product budgetAI Cost CalculatorAdd embeddings, infra, retry overhead, and cost per active user.
Provider comparisonLLM API Pricing ComparisonRank OpenAI, Claude, and Gemini models by the same workload.
Prompt token estimateToken CounterEstimate input tokens from real prompt text before forecasting monthly spend.

FAQ

How do I estimate monthly LLM cost?

Estimate monthly requests, input tokens per request, output tokens per request, cached input share, and selected model pricing. The calculator multiplies those assumptions into monthly input and output cost.

What is the difference between this page and the AI Cost Calculator?

This page focuses on model spend from users and queries. The AI Cost Calculator adds product-level costs such as embeddings, vector database or infrastructure cost, retries, and budget buffers.

Sources

Model prices were last checked on 2026-07-04. Verify official provider pricing before final purchasing or customer pricing decisions.