The short answer

You can model the economics of an AI product in a single spreadsheet with about thirty cells. The logic is simple: work out the cost of one task (model cost, retrieval and tools, and human review), multiply by tasks per user per month, subtract that and other per-user costs from the price, and you have gross profit per user. From there you can compute gross margin, break-even usage (how many tasks a customer can run before you lose money), CAC payback, and LTV, then test scenarios: heavy users, a cheaper model, higher token usage (for example, with Arabic text), or a usage cap.

This article gives you the layout, the exact formulas, a worked example with real arithmetic, and a set of scenario tests. The numbers in the example are hypothetical, and model prices change often, so replace them with your own measurements. The value of the exercise isn't precision. It's finding out early whether a pricing plan survives heavy usage, and which lever (price, model choice, caching, review rate, or limits) matters most.

This is part four of the Startup Templates series. It's the hands-on companion to unit economics and pricing of AI products and SaaS metrics from scratch.

General educational content, not financial advice. Verify current prices with your providers.

Key takeaways

  • Start with cost per task, measured from real prompts and outputs, not guesses.

  • Include human review and support in cost, not just model fees.

  • Compute break-even usage. It tells you where to set limits or overage prices.

  • Test heavy-user and growth scenarios. Averages hide the customers who lose you money.

  • Sensitivity analysis shows which input to improve first.

  • Update the model monthly with real data from your logs and invoices.

The spreadsheet layout

Create a sheet called Inputs and a sheet called Model. Use one column for labels, one for values, and one for notes. Named cells make formulas easier to read.

Sheet 1: Inputs

Row Label Symbol Example value Notes
1 Monthly price per user P $30 After discounts
2 Payment processing fee F 3% Of revenue
3 Tasks per active user per month (average) T 300 From logs
4 Average input tokens per task Tin 3,000 Includes retrieved context
5 Average output tokens per task Tout 600
6 Model price per million input tokens Pin $2 Hypothetical
7 Model price per million output tokens Pout $10 Hypothetical
8 Retrieval and tool cost per task R $0.003 Search, embeddings, APIs
9 Share of tasks reviewed by a human Rv 10%
10 Review minutes per reviewed task M 1.5
11 Reviewer cost per hour H $9 Fully loaded
12 Other per-user monthly cost (hosting, support, storage) S $2
13 Customer acquisition cost CAC $120 See SaaS metrics
14 Monthly churn C 6% By cohort if available
15 Heavy-user multiplier HU 5 Heavy users run this many times the average
16 Token multiplier for language L 1.0 Use above 1 for languages that tokenize less efficiently

Where do the numbers come from?

  • Tokens: log real requests for a week, and compute averages and 95th percentiles. Don't use guesses.

  • Prices: from your provider's current price list, including any caching or batch discounts.

  • Review: from your quality-assurance process. See human-in-the-loop design.

  • Churn and CAC: from your own data, or conservative estimates for early stage.

Sheet 2: Model (formulas)

Row Output Formula (in terms of symbols)
A Model cost per task = L × (Tin × Pin ÷ 1,000,000 + Tout × Pout ÷ 1,000,000)
B Review cost per task = Rv × (M ÷ 60) × H
C Total variable cost per task = A + R + B
D Variable cost per user per month = T × C
E Revenue after payment fees = P × (1 − F)
F Gross profit per user per month = E − D − S
G Gross margin = F ÷ P
H Break-even tasks per month = (E − S) ÷ C
I Heavy-user gross profit = E − (T × HU × C) − S
J LTV (gross profit basis) = F ÷ C_churn
K LTV:CAC = J ÷ CAC
L CAC payback (months) = CAC ÷ F

(In row J, C_churn means the monthly churn from Inputs row 14, to avoid confusing it with the cost symbol C.)

In a spreadsheet, you'd write these as cell references, for example =B16*(B4*B6/1000000+B5*B7/1000000) for the model cost per task.

The worked example

(Hypothetical numbers.) An AI contract-review tool sold at $30 per user per month.

Row A: Model cost per task

  • Input: 3,000 × $2 ÷ 1,000,000 = $0.006

  • Output: 600 × $10 ÷ 1,000,000 = $0.006

  • Total (L = 1.0): $0.012

Row B: Review cost per task

  • 10% × (1.5 ÷ 60) × $9 = 0.10 × 0.025 × 9 = $0.0225

Row C: Total variable cost per task

  • $0.012 + $0.003 + $0.0225 = $0.0375

Row D: Variable cost per user per month

  • 300 × $0.0375 = $11.25

Row E: Revenue after fees

  • $30 × (1 − 0.03) = $29.10

Row F: Gross profit per user per month

  • $29.10 − $11.25 − $2 = $15.85

Row G: Gross margin

  • $15.85 ÷ $30 = 52.8%

Row H: Break-even tasks per month

  • ($29.10 − $2) ÷ $0.0375 = $27.10 ÷ $0.0375 ≈ 723 tasks

Row I: Heavy-user gross profit (5× tasks = 1,500)

  • $29.10 − (1,500 × $0.0375) − $2 = $29.10 − $56.25 − $2 = −$29.15

Row J: LTV (churn 6%)

  • $15.85 ÷ 0.06 ≈ $264

Row K: LTV:CAC

  • $264 ÷ $120 ≈ 2.2

Row L: CAC payback

  • $120 ÷ $15.85 ≈ 7.6 months

What the model says

  • On average, the product earns a 52.8 percent gross margin, similar to margins often reported for AI products. See unit economics and pricing.

  • But a customer who runs about 723 tasks a month hits break-even, and a heavy user at 1,500 tasks loses about $29 a month.

  • LTV:CAC of 2.2 and payback of 7.6 months are acceptable but not strong, and sensitive to churn.

The model immediately points to action: cap or price heavy usage, and reduce cost per task.

Scenario tests

Create a Scenarios sheet, copying the Inputs, and change one input at a time (or a few related ones). Record the key outputs.

Scenario 1: Add a usage cap with overage pricing

Include 600 tasks in the $30 plan, and charge $0.08 per additional task.

  • A heavy user at 1,500 tasks: overage = 900 × $0.08 = $72. Revenue = $30 + $72 = $102. After 3% fees: $98.94. Cost: 1,500 × $0.0375 = $56.25. Gross profit = $98.94 − $56.25 − $2 = $40.69 (positive).

  • An average user at 300 tasks is unaffected.

The overage price needs to exceed cost per task ($0.0375) with a healthy margin. Here $0.08 gives roughly a 50 percent margin on overage tasks. (Check: (0.08 × 0.97 − 0.0375) ÷ 0.08 = (0.0776 − 0.0375) ÷ 0.08 ≈ 50%.)

Scenario 2: Route simple tasks to a cheaper model and reduce review

Suppose you route 60 percent of tasks to a smaller model costing 70 percent less, and improved evaluations let you reduce review from 10 percent to 7 percent of tasks.

  • Model cost per task = $0.012 × (0.4 + 0.6 × 0.3) = $0.012 × 0.58 = $0.00696

  • Review cost per task = 0.07 × (1.5 ÷ 60) × 9 = $0.01575

  • Total per task = $0.00696 + $0.003 + $0.01575 = $0.02571

  • Variable cost per user = 300 × $0.02571 = $7.71

  • Gross profit = $29.10 − $7.71 − $2 = $19.39

  • Gross margin = 64.6%

  • CAC payback = $120 ÷ $19.39 ≈ 6.2 months

Note that review cost fell more than model cost in absolute terms. In many AI products, human review is the largest variable cost, so improving quality (fewer reviews needed) can matter more than model prices. But only reduce review where evaluations support it. See measuring AI experience quality.

Scenario 3: Higher token usage for another language

Suppose Arabic content produces 1.4 times as many tokens as the English baseline (L = 1.4). This is an illustration. Measure your actual multiplier. See building Arabic AI products.

  • Model cost per task = 1.4 × $0.012 = $0.0168

  • Total per task = $0.0168 + $0.003 + $0.0225 = $0.0423

  • Variable cost per user = 300 × $0.0423 = $12.69

  • Gross profit = $29.10 − $12.69 − $2 = $14.41

  • Gross margin = 48.0%

A price that works for English users yields a lower margin for Arabic. You might price differently, optimize prompts, or choose a model with more efficient tokenization for Arabic.

Scenario 4: Longer documents

If average input grows from 3,000 to 6,000 tokens (for example, because customers upload longer contracts):

  • Input cost per task = 6,000 × $2 ÷ 1,000,000 = $0.012

  • Model cost per task = $0.012 + $0.006 = $0.018

  • Total per task = $0.018 + $0.003 + $0.0225 = $0.0435

  • Gross profit = $29.10 − (300 × $0.0435) − $2 = $29.10 − $13.05 − $2 = $14.05

  • Gross margin = 46.8%

Longer inputs often come with retrieval and caching options. Look for efficiency before raising prices.

Scenario 5: Price changes

Price Revenue after fees Gross profit Gross margin Payback
$20 $19.40 $6.15 30.8% 19.5 months
$30 $29.10 $15.85 52.8% 7.6 months
$40 $38.80 $25.55 63.9% 4.7 months
$50 $48.50 $35.25 70.5% 3.4 months

(Gross profit = revenue after fees − $11.25 − $2. For example, at $20: 19.40 − 13.25 = 6.15.) Higher prices dramatically improve unit economics, but may reduce conversion. Test willingness to pay. See pricing page optimization.

Scenario 6: Churn sensitivity

LTV depends heavily on churn. With gross profit $15.85:

Monthly churn LTV LTV:CAC (CAC $120)
3% $528 4.4
6% $264 2.2
10% $159 1.3
15% $106 0.9

(LTV = 15.85 ÷ churn.) At 15 percent churn, the business loses money on each customer acquired. For AI products, early churn from curious "tourists" can be severe, so look at cohorts. See product-market fit in the AI era.

Sensitivity analysis: which input matters most?

Change each input by plus and minus 20 percent and record the effect on gross profit per user. In the base example (gross profit $15.85):

Input changed by +20% New gross profit Change
Price (to $36) $29.10 → $34.92 revenue after fees; GP = 34.92 − 13.25 = $21.67 +$5.82
Tasks per user (360) Variable cost = 360 × 0.0375 = $13.50; GP = 29.10 − 13.50 − 2 = $13.60 −$2.25
Model price (+20%) Model cost per task = $0.0144; total = $0.0399; variable = $11.97; GP = $15.13 −$0.72
Review share (12%) Review cost = $0.027; total = $0.042; variable = $12.60; GP = $14.50 −$1.35
Other per-user costs (+20%, to $2.40) GP = 29.10 − 11.25 − 2.40 = $15.45 −$0.40

Takeaway: In this example, price and usage matter far more than model price. A 20 percent rise in model prices costs less than a 20 percent rise in usage. That's why pricing and usage limits deserve more attention than shaving small amounts off inference costs, and why review rates matter. Your own numbers may differ, so run the exercise.

Extending the model

Once the basics work, add:

Cohort view. Model revenue and cost by month of customer age, with churn curves from real cohorts, instead of a single churn number.

Segments. Separate sheets (or columns) for different customer types, such as small plans and enterprise plans, since usage, price, and support differ.

Free tier cost. Number of free users × cost per free user, as a share of revenue. See product-led vs sales-led growth.

Fixed costs. Team, tools, and overhead, to compute break-even customers for the whole business, and runway. See SaaS metrics.

Caching and batching savings. Add a cache hit rate input that reduces model cost for repeated content.

Multiple models. A table of tasks routed to different models with their own token prices and quality scores. See choosing a model provider.

Agent costs. For agents that make several calls per task, include average steps per task, and cap steps. See AI agents explained.

Time series. Model how falling model prices might change margins, but don't rely on price declines to rescue a broken model.

Outcome-based pricing. Add success rate and cost of failed attempts: revenue per attempt = success rate × price per outcome, and compare to cost per attempt. See services as software.

Keeping the model honest

  • Use measured data. Replace assumptions with real averages and percentiles from logs and invoices each month.

  • Look at distributions. Compute cost by user, and rank. Find the top 10 percent and the share of total cost they represent.

  • Include everything. Human review, support, evaluation runs, data labeling, and storage can quietly add up.

  • Check currency and tax. Convert costs and revenue consistently, and account for VAT and local fees.

  • Reconcile with the provider's bill. If your computed model cost differs from the invoice, find out why (retries, hidden calls, longer prompts).

  • Version the spreadsheet and date it, so you can see how assumptions evolved.

  • Share it with the team. Everyone making product decisions should see the cost implications.

An illustrative decision

(Continuing the hypothetical.) The founders review the model and decide:

  1. Launch plans: Starter at $30 with 600 tasks included and $0.08 per extra task, a Pro plan at $75 with 2,000 tasks and a lower overage rate, based on scenario results.

  2. Product work: invest in model routing and evaluation-driven reduction of review rates (scenario 2), targeting 64 percent gross margin.

  3. Arabic pricing: keep prices equal for now, but track the token multiplier and review prompt efficiency, since the language scenario reduces margin by about five points.

  4. Monitoring: a monthly dashboard of cost per task, top 10 customers by cost, and share of customers with negative contribution margin.

  5. Tests: run a price test on the pricing page ($30 versus $39) to measure conversion, using the sensitivity result that price is the strongest lever.

The spreadsheet didn't make decisions for them. It made the trade-offs visible.

A one-page checklist

  • [ ] Measured tokens per task (average and 95th percentile)

  • [ ] Current model prices entered, with discounts

  • [ ] Review and support costs included

  • [ ] Break-even usage calculated

  • [ ] Heavy-user scenario run

  • [ ] Usage caps or overage pricing defined

  • [ ] Price sensitivity tested

  • [ ] Language and long-input scenarios run

  • [ ] Churn sensitivity checked, preferably with cohorts

  • [ ] CAC payback and LTV:CAC reviewed

  • [ ] Monthly update scheduled

Common mistakes

Using price-list averages instead of measured usage.

Forgetting human review and support costs.

Ignoring the heavy tail of usage.

Assuming prices will keep falling.

Calculating LTV on revenue, not gross profit.

Ignoring free-tier costs.

Treating the model as precise. It's a way to see trade-offs.

Building it once. Update it monthly.

Frequently asked questions

How do I calculate the cost per task for an AI feature?

Multiply input tokens by the input price and output tokens by the output price (per million), add retrieval and tool costs, and add human review cost (share reviewed × review time × hourly cost).

What is a good gross margin for an AI product?

It varies. Survey data from early 2026 put average AI product gross margins around the low 50s percent, below the 70 to 90 percent typical of mature SaaS. Focus on your own trend and by-customer margins.

How do I find break-even usage?

Divide revenue per user after fees, minus other per-user costs, by the variable cost per task. Customers running more tasks than that lose you money, so cap or price usage above it.

Should I use usage-based pricing for my AI product?

If usage varies widely, a base subscription with included usage and overage pricing protects margins while keeping bills predictable. See the pricing guide for options.

How often should I update the model?

Monthly at first, using real data from logs and invoices, and whenever you change models, prompts, prices, or plans.

Can I trust model price declines to fix my margins?

Don't rely on them. Prices have fallen over time, but usage and expectations also rise. Design pricing and limits so the business works at today's costs.

Where to go next

The last template in this collection helps you turn everything into a plan: A 90-Day Plan Template for AI-Era Startups.

Series contents

  1. Lean Canvas Template with Examples

  2. Experiment Log and Interview Templates

  3. PRD Template for AI Features

  4. AI Unit Economics Calculator (you are here)

  5. 90-Day Plan Template