Free tool · prices dated

AI cost estimator

Work out what your AI feature will cost before the invoice does. Start with the calculator below. When you want a forecast built from your actual code, run a Skeram scan.

Estimate your AI bill

Pick an example that looks like your feature, then change the numbers. Prices are list prices per million tokens from our 2026-11-12 snapshot.

A support or product chatbot. History makes input grow each turn.

Estimated model bill

$516/month

Per user
$0.1033
Per request
$0.0034
Per year
$6,197
Model calls
150,000
Input
$246
Output
$270
Show the arithmetic
calls  = 5,000 users × 30 requests × 1 calls
       = 150,000
input  = calls × 3,000 tok × (70% × $0.75 + 30% × $0.075) / 1M
       = $246
output = calls × 400 tok × $4.5 / 1M
       = $270

Tokens only. Hosting, databases, vector search, retries and failed calls are extra, and they’re what Skeram’s code scan adds.

Same workload, every model

What a calculator can't see

The calculator trusts the numbers you type. Real apps hide extra calls in places nobody thinks to count.

Hidden multiplier

Chat history

Many chat apps send the whole conversation back on every turn. Message 20 can cost ten times message 2.

Hidden multiplier

Tool loops

An agent that searches, reads and answers can call the model five or more times for one reply. Without a cap, a bad prompt can loop much longer.

Hidden multiplier

Background jobs

Titles, summaries, embeddings and nightly re-processing run without a user clicking anything, and they add up quietly.

Not tokens at all

The rest of the stack

Hosting, databases, queues, vector search and storage. At scale these can rival the model bill.

A forecast read from code

This is a real Skeram report for the open-source Vercel AI Chatbot. Drag the slider: model calls and cloud services are priced together at each traffic level, and every line traces back to a file.

Open the full report to see the formulas and findings.

vercel/ai-chatbot@c2f8235 · 23 routes
AWS$145
LLM tokens$2,114–$35,344

A month. Infrastructure at AWS list prices, wherever the app deploys. Tokens run from a cheap model to a frontier one.

  • Chatbot Next.js app2 × Fargate 0.5 vCPU / 1 GB$36.04
  • NAT Gateway5.6 GB out/mo$33.10
  • RDS PostgreSQLdb.t4g.micro · Multi-AZ$25.66
  • Application Load Balancer0.4 LCUs at peak$17.29
  • 3 more AWS itemsCloudFront + Route 53, ElastiCache Redis, S3$32.93
  • Model calls on chat-postLLM tokens$1,439–$28,774
Critical

1 route calls an LLM on your key with no output cap

app/(chat)/api/chat/route.ts:269-330
Open the full teardown at 10,000 users

Estimate it by hand

If you’d rather do it on paper, here is the whole method.

  1. List every place your code calls a model. Chat replies, summaries, titles, classifiers, embeddings, retries.
  2. For each, count calls per month. Users × actions per user × model calls per action.
  3. Estimate tokens per call. Input is everything you send, including history and retrieved documents. Output is what comes back.
  4. Multiply by the price. Prices are quoted per million tokens, separately for input and output.
  5. Add the infrastructure. Hosting, database, storage, queues and any search service.
Worked example: an internal document summariser
2,000 documents × 2 calls        = 4,000 calls
Input:  4,000 × 4,000 tok × $1/1M = $16
Output: 4,000 ×   500 tok × $5/1M = $10
Model bill                        = $26 / month
Same app, 10 calls per document   = $130 / month

Step 1 is where most estimates go wrong, because nobody has the full list. That list is what a Skeram scan produces, with the file and line for each call.

Common questions

How much does it cost to run an AI app?

It depends far more on how your app uses the model than on the model's price. The same chatbot can cost $40 or $4,000 a month depending on how much chat history it re-sends, how many tool calls each answer makes and whether it caches. Count the calls your code makes per user action, multiply by tokens and price, then add hosting.

What is an AI bill estimator?

A tool that predicts what your AI features will cost each month before you get the invoice. Simple ones multiply tokens by price. Skeram goes further by reading your code to find every model call and adding hosting, databases and queues.

Is this estimator free?

Yes. The calculator on this page is free and runs in your browser. A Skeram scan of your code costs one credit per repo ($10 buys five) and finds the call paths and infrastructure for you.

Why is my real bill higher than a token calculator says?

The usual reasons: chat history grows the input on every turn, agents call the model several times per answer, failed calls get retried, background jobs run without anyone watching, and embeddings or vector search are billed separately. A code scan finds those paths; a calculator only sees the numbers you type.

Does Skeram read my real usage or invoices?

No. Skeram forecasts from your code and the traffic you choose. It doesn't connect to your OpenAI, Anthropic or AWS account. Once you're live, compare the forecast with your real bill.

Get the forecast for your code

Scan a public GitHub repo from the app, or any private or GitLab repo with the CLI. One credit per app analysed; unchanged apps re-scan free.