Tools  ·  Free calculator
No sign-up · runs entirely in your browser

The AI unit economics calculator.

Most calculators estimate what tokens should cost from model price lists. This one starts from what you actually spent — tokens plus AI-attributable infrastructure — and divides by what a board cares about: users, interactions, revenue.

Calculator
Five inputs

Your invoices, not list prices.

Inputs · one month

Results · recalculated as you type

Fully-loaded monthly AI cost
Cost per MAU
Cost per interaction
AI gross margin

Calculations run locally. Nothing you enter is sent or stored.

Methodology
How it works

What the calculator measures.

What does fully loaded mean?

Fully loaded means the whole cost of serving an AI product, not just the token bill: model and API invoices plus the cloud infrastructure that exists to serve AI features — GPU instances, vector databases, orchestration, logging, evaluation pipelines. ServiceNow CFO Gina Mastantuono has put AI reasoning at less than 10% of the company’s cost to serve; the rest lives on the cloud bill. Where to draw the boundary is covered in our guide to what counts as AI COGS.

Fully-loaded monthly AI cost = LLM / API spend + AI-attributable cloud infrastructure

How are the unit economics calculated?

Each result divides the fully loaded cost by a business denominator. The denominators are the point: spend alone says nothing about value, but cost per MAU, cost per interaction, and AI gross margin can be set against pricing, contribution margin, and what a board expects.

Cost per MAU = fully-loaded monthly AI cost ÷ monthly active users
Cost per interaction = fully-loaded monthly AI cost ÷ AI interactions in the month
AI gross margin (%) = (AI product revenue − fully-loaded AI cost) ÷ AI product revenue × 100

For the full formulas, worked examples, and how these metrics behave as products scale, see the guide to AI unit economics.

Why start from actual spend rather than token prices?

Because forecasts and measurements are different instruments. Token-price calculators — which multiply expected usage by published per-token rates — are genuinely useful for estimating a feature before it ships. They are the wrong tool for measurement, because production spend drifts from list-price arithmetic: model mix shifts, retries and caching change consumption, negotiated rates differ from rate cards, and infrastructure never appears on a token bill. Uber exhausted its 2026 budget for AI coding tools by April; Priceline saw a four-to-five-fold cost increase at a single contract renewal. Measured spend divided by measured usage is the arithmetic that survives contact with the invoice.

Cost tools tell you what you spent. AI Value Management tells you what it bought — and unit economics is the exchange rate. This calculator is a one-month snapshot assembled by hand; COGScontrol’s attribution and unit-economics features do the same arithmetic continuously, aggregating AI and cloud invoices into one ledger, attributing them across cost centers and product lines, and reconciling to invoice daily, on a fixed subscription — never a percentage of spend. For the broader discipline, start with measuring the ROI of AI initiatives.

FAQ
Common questions

Before you calculate.

What is an AI unit economics calculator?
An AI unit economics calculator divides the fully loaded monthly cost of an AI product — model and API invoices plus AI-attributable cloud infrastructure — by business denominators such as monthly active users, interactions, or revenue. The outputs are cost per MAU, cost per interaction, and AI gross margin: the figures finance teams use to judge whether an AI product earns more than it costs to serve.
How is this different from an LLM token cost calculator?
Token calculators estimate what a workload should cost from published per-token prices, and they are the right tool for forecasting a feature before launch. This calculator works in the opposite direction: it starts from what you actually spent in a month, adds AI-attributable infrastructure, and divides by users, interactions, and revenue — a measured unit cost rather than a list-price estimate.
What is a good AI gross margin?
There is no single right answer. Commentary during the current AI build-out commonly places AI-era product gross margins in the 50 to 60 percent range, against the 75 to 85 percent that mature SaaS businesses typically report. Treat both as reference points rather than targets: the useful discipline is tracking your own margin monthly and understanding what moves it.
Does this calculator store or send my data?
No. It runs entirely in your browser with plain JavaScript; the figures you enter are never transmitted, logged, or stored, and no sign-up is required. If you want the same arithmetic computed continuously from live billing data rather than manual entry, that is what the COGScontrol platform does.
Beyond the snapshot · 14-day free trial · no credit card

Measure it continuously.

This calculator is one month, assembled by hand. COGScontrol aggregates every AI and cloud invoice, attributes it to the work it funded, and tracks your unit economics daily.