Hidden multiplier
Chat history
Many chat apps send the whole conversation back on every turn. Message 20 can cost ten times message 2.
Free tool · prices dated
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.
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
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
= $270Tokens only. Hosting, databases, vector search, retries and failed calls are extra, and they’re what Skeram’s code scan adds.
Same workload, every model
The calculator trusts the numbers you type. Real apps hide extra calls in places nobody thinks to count.
Hidden multiplier
Many chat apps send the whole conversation back on every turn. Message 20 can cost ten times message 2.
Hidden multiplier
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
Titles, summaries, embeddings and nightly re-processing run without a user clicking anything, and they add up quietly.
Not tokens at all
Hosting, databases, queues, vector search and storage. At scale these can rival the model bill.
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.
A month. Infrastructure at AWS list prices, wherever the app deploys. Tokens run from a cheap model to a frontier one.
If you’d rather do it on paper, here is the whole method.
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 / monthStep 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.
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.
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.
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.
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.
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.
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.