Skip to content
PMCert

AI inference cost calculator

The volume, tokens and prices you enter become cost per request, per month and per active user.

  • AI and design thinking
  • CAPDS · domain 6
  • Free, no sign-up
  • PNG · PDF · Markdown · DOCX

See the finished result before you fill anything in.

Example with fictional data

See what the result looks like: AI inference cost calculator

A made-up case, in the same format the tool delivers. Nothing you have filled in changes.

The same currency as the prices and revenue you enter.

How many times a day the feature calls the model, across all users.

tokens

Instructions, context and question sent to the model, on average.

tokens

Average length of the generated answer.

per million tokens

Price per million input tokens, from your provider’s current price list.

per million tokens

Price per million output tokens. It is usually higher than the input price.

%

Share of input tokens that repeat and are billed as cache (fixed instructions, shared context).

per million tokens

Price per million tokens read from cache. Empty: same as the input price.

%

Share of requests called again after an error, a timeout or a rejected answer.

Optional: to work out the cost per user.

Optional: to compare with the cost per user.

Result ready.

AI inference cost calculatorPMCert

Inference cost

20,000 requests per day, 2,000 input tokens and 400 output tokens per request. 30-day month.

Per request
$0.00148
Per day
$29.66
20,600 model calls per day
Per month
$889.92
Per active user per month
$0.111
5.6% of revenue per user

Output accounts for 56% of the cost: capping answer length is the strongest lever.

Breakdown of the monthly cost

  • Input$370.80
  • Cached input$24.72
  • Output$494.40

Monthly volume

Model calls
618,000
Input tokens
1,236,000,000
Output tokens
247,200,000

Sensitivity: monthly cost

Tokens / volume-50%base+100%×10
-50%$222.48$444.96$889.92$4,449.60
-25%$333.72$667.44$1,334.88$6,674.40
base$444.96$889.92 (base)$1,779.84$8,899.20
+50%$667.44$1,334.88$2,669.76$13,348.80
+100%$889.92$1,779.84$3,559.68$17,798.40

Rows: tokens per request (input and output together). Columns: request volume. The base cell is marked.

The prices are the ones you entered. Check the provider’s current price list for your model: prices change often and vary by model and region.

Made at pmcert.org/tools

You can edit the result text before exporting.

Download
Share

Get this result by email

We send the result link and what domain 6 of CAPDS assesses. You confirm the address before the first email and can leave with one click.

Nothing you type is saved on our server: your work stays in the page address and in this browser. Do not paste confidential data or personal data about customers.

Inference cost is what you pay each time an AI model processes a request: input tokens (instructions, context and question) and output tokens (the answer), each with its own price per million. Multiplied by volume and retries, and net of the cache discount, it becomes a monthly cost and a cost per user, the figure that decides whether the feature pays for itself.

How to use

  1. Enter how many requests the feature makes per day and the average input and output tokens of each.
  2. Type the prices per million tokens from your provider’s current price list; the example prices are illustrative.
  3. If part of the input repeats, enter the share read from cache and the cache price; add retries caused by errors.
  4. To see the cost per user, enter monthly active users and, optionally, monthly revenue per user.
  5. Read the sensitivity table and export as PNG, PDF, CSV or Markdown to take to the decision.

What each field asks for

FieldWhat to enter
CurrencyThe same currency as the prices and revenue you enter.
Requests per dayHow many times a day the feature calls the model, across all users.
Input tokens per requestInstructions, context and question sent to the model, on average.
Output tokens per requestAverage length of the generated answer.
Input pricePrice per million input tokens, from your provider’s current price list.
Output pricePrice per million output tokens. It is usually higher than the input price.
Input read from cacheShare of input tokens that repeat and are billed as cache (fixed instructions, shared context).
Cached input pricePrice per million tokens read from cache. Empty: same as the input price.
RetriesShare of requests called again after an error, a timeout or a rejected answer.
Monthly active usersOptional: to work out the cost per user.
Monthly revenue per active userOptional: to compare with the cost per user.

Example

A fictional customer service app summarises conversations with AI: 20,000 requests per day, 2,000 input tokens and 400 output tokens per request, illustrative prices of $0.50 and $2.00 per million, 40% of input read from cache at $0.05 and 3% retries. Each request costs $0.00148, a day comes to $29.66 and a month to $889.92. With 8,000 active users, that is $0.111 per user, 5.6% of the $2.00 revenue. Output accounts for 56% of the cost: capping answer length is the strongest lever.

When to use

  • Before approving an AI feature, to check whether the cost per user fits the product’s margin.
  • When comparing models or providers: change the prices and see the effect on the month.
  • When planning growth: the sensitivity table shows the cost at double or ten times the volume.
  • To decide where to optimise: shorter answers, smaller context, more cache or fewer retries.

Frequently asked questions

What is a token?

It is the unit in which a model reads and writes text: part of a word, a short word or a symbol. The count varies by language and by model. To estimate, measure a few real requests with your provider’s counting tool and use the average.

Why does output often weigh more than input?

Many providers charge more per generated token than per token read. That is why a long answer can cost more than a large context. The calculator shows which part dominates and which lever to pull first.

How does the cache work in the calculation?

When the same instructions or context repeat across requests, some providers charge less for tokens read from cache. Enter the share of input that repeats and the cache price. Without a cache price, the calculator applies no discount.

Why count retries?

Requests that fail, time out or have their answer rejected and are called again pay for input and output once more. A 3% rate looks small, but it shows up in the month and grows with volume.

Are the calculator’s prices real?

No. The example values are illustrative and only show how the calculation works. Always use your provider’s current price list for the chosen model, because prices change often.

How much of revenue can inference take?

It depends on the product’s margin and other costs. The calculator compares cost per user with revenue per user and warns when the cost passes half of it or exceeds it. That is the starting point for deciding on price, usage limits or optimisation.

Does the calculation include infrastructure and people?

No. It covers only the cost of calling the model. Hosting, storage, quality evaluation, monitoring and the team running the feature go separately into the total cost.