Customer profitability analysis for AI products, step by step

How to run customer profitability analysis when AI cost varies by customer: a 4-step method, 8 worked customers and what to do with the ones underwater.

Brandon Holt
November 27, 2026
8
min read
Summarize
Customer profitability analysis for AI products, step by step

Customer profitability analysis measures what each customer earns you after the costs that customer causes: revenue minus AI inference, payment fees and other variable costs, per customer, per month. Robert Kaplan writes that 15% to 20% of customers generate 100% or more of profits. At an AI company, the losses cluster in a few heavy users.

Prices checked on November 27, 2026, from Anthropic's pricing page.

The method below works from data you already have: your billing system and your model call logs. It is the per-customer layer of our guide to AI unit economics.

Why AI companies need customer profitability analysis more than classic SaaS

In classic SaaS, the variable cost of one more customer is small and close to the same for everyone, so the price sets the margin. In an AI product, each customer's usage sets their cost. Two customers on the same $49 plan can cost $6 and $84 in model calls, as the example below shows.

Kaplan's example comes from an insurer and shows the same shape. In one insurer he describes, the top 40% of customers generated 130% of annual profits, the middle 55% broke even, and the bottom 5% lost the equivalent of 30%. He says the curve "occurs in virtually every customer profitability study ever done." AI makes the bottom of that curve deeper, because one heavy user can run up model costs several times their subscription.

How to run a customer profitability analysis, step by step

Run it per customer, per month, on variable costs only. You need four numbers for each customer.

  1. Revenue per customer, normalized to monthly. Divide annual plans by 12, the way Stripe's MRR definition does, so a $1,920 annual plan counts as $160 a month. Subtract recurring discounts and leave out tax. Add usage or top-up revenue in the month the customer earned it.
  2. AI cost per customer. Tag every model call with the billing customer ID, then price it from its token counts at the provider's rates for that model, including cache reads and cache writes. Sum the month by customer.
  3. Other variable costs. Payment fees are the big one: Stripe's standard rate for domestic cards is 2.9% + 30¢ per successful charge. Add any vendor cost that scales per customer, such as transcription or third-party data.
  4. Contribution margin. Subtract steps 2 and 3 from step 1.
Contribution margin per customer = monthly revenue − AI cost − other variable costs
Contribution margin % = contribution margin ÷ monthly revenue

Keep salaries and base hosting out of this number. If your finance team wants a fully loaded cost to serve, add allocated support and hosting as a second view, and keep the variable view clean. Which of these costs belong in COGS, and how to tie AI cost to the provider invoice, is covered in SaaS COGS for AI products.

A worked example: 8 customers across 2 plans

Example. A product sells Starter at $49 a month and Pro at $199 a month or $1,920 a year. Document chat runs on Claude Sonnet 5.5. The table shows one month for eight customers.

CustomerPlanBillingRevenue / moAI costPayment feeContributionMargin
NorthwindStarterMonthly$49.00$6.20$1.72$41.0883.8%
BirchlineStarterMonthly$49.00$11.40$1.72$35.8873.2%
KestrelStarterMonthly$49.00$18.90$1.72$28.3857.9%
FernwayStarterMonthly$49.00$83.60$1.72−$36.32−74.1%
HarborlineProMonthly$199.00$41.00$6.07$151.9376.3%
QuillfieldProAnnual$160.00$58.30$4.67$97.0360.6%
Alder & CoProAnnual$160.00$22.80$4.67$132.5382.8%
Morrow LabsProMonthly$199.00$172.50$6.07$20.4310.3%

Example data. Annual Pro is $1,920 a year, shown as $160 a month. Payment fees use 2.9% + 30¢ per charge; the annual fee ($55.98) is spread over 12 months. The highlighted row is underwater.

−$36.32
Fernway's monthly contribution on the $49 Starter plan

Fernway costs $83.60 in model calls on a $49 plan and loses $36.32 a month. Morrow Labs stays positive at 10.3%, but one more busy month would put it under. Across all eight, contribution margin is 51.5% ($470.94 on $914.00), a number that hides both.

How to segment customer profitability by plan and by feature

Roll the customer rows up by plan first. The plan view tells you whether a loss belongs to one customer or to the way the plan is priced.

PlanCustomersRevenueAI costContributionMargin
Starter4$196.00$120.10$69.0235.2%
Pro4$718.00$294.60$401.9256.0%
Total8$914.00$414.70$470.9451.5%

Example data. Contribution is after AI cost and payment fees.

Without Fernway, the other three Starter customers run at 71.7%. Fernway's loss erases 34% of what they contribute. With one Starter customer in four underwater, the plan's price or allowance needs work, on top of whatever you do about Fernway.

Then split each expensive customer by feature and model. Fernway's $83.60 is document chat ($71.20), summaries ($9.10) and search ($3.30). Morrow Labs's $172.50 is an agent workflow ($150.80) and document chat ($21.70). Each split names the feature to fix.

What to do with unprofitable customers

You have five options, and the plan view tells you which to try first. One underwater customer on a healthy plan is a customer problem. Several on one plan point to the price.

Offer an upgrade

Fernway on Pro at $199 a month, with the same usage, contributes $109.33 (54.9%). Heavy usage often means the customer gets a lot of value, which makes this the easiest conversation to open.

Cap usage

Hold the customer to a monthly AI allowance in line with the plan. A $25 cap on Fernway's model spend leaves $22.28 of contribution (45.5%). Expect the cap to trigger the upgrade conversation or, sometimes, churn.

Move the feature to a cheaper model

Claude Sonnet 5.5 costs $2 per million input tokens and $10 per million output tokens. Claude Haiku 5.5 costs $0.10 and $0.50 for prompts up to 100,000 tokens, one-twentieth the price. Assuming the same token counts, Fernway's document chat drops from $71.20 to $3.56, and Fernway's margin goes to 63.9%. Run your evals before you switch, and note that Haiku 5.5 prompts over 100,000 tokens pay five times the base rates.

Reprice the plan

When a quarter of a plan is underwater, change the plan: raise the price, include a usage allowance with overage, or sell top-ups. The trade-offs between those models are in usage-based pricing for AI.

Keep them on purpose

Some losses are worth carrying: a design partner shaping the product, a logo that helps sales, or an account about to expand. Write down why you are keeping the customer and the date you will look again.

How often to run it, and where a spreadsheet breaks

Run the full analysis monthly, with the close. Check the 20 customers with the highest AI cost weekly, and rerun the whole thing after any price change, model change or new AI feature, since each one moves cost per customer.

A spreadsheet handles the first run. It breaks in two places:

  • It goes stale. The export is a snapshot. A heavy customer can double their model spend in the week after you pull it, and you find out at next month's close.
  • Matching usage to the billing customer is hard. Anthropic's usage report groups by API key, workspace, model and service tier, and none of those is your Stripe customer. You need a customer ID on every call and a map from your app's accounts to billing customers, which drifts with merged accounts, extra workspaces and parent companies that pay for several teams.

Lancelot's Margin intelligence runs this analysis per customer, plan, feature and model, from tracked usage and Stripe or RevenueCat revenue, refreshed hourly.

Questions about customer profitability

What is customer profitability analysis?

Customer profitability analysis measures the profit each customer generates after the costs that customer causes. For an AI company, that means monthly revenue minus AI inference cost, payment fees and other variable costs. The result shows which customers, plans and features make money and which lose it.

How do you calculate contribution margin per customer?

Take the customer's monthly revenue, with annual plans divided by 12, and subtract their AI cost and other variable costs such as payment fees. Divide the result by monthly revenue for the percentage. A $49 customer with $11.40 of AI cost and a $1.72 fee contributes $35.88, or 73.2%.

How many unprofitable customers is normal?

No standard benchmark exists. In Kaplan's insurance example, the bottom 5% of customers lost the equivalent of 30% of annual profits. For an AI product, one customer in five underwater on a plan is a strong sign the plan itself is priced too thin.

Should I fire unprofitable customers?

Try other fixes first: an upgrade offer, a usage cap or a cheaper model for their heaviest feature. Reprice the plan if many customers on it lose money. Keep a losing customer on purpose when they bring something else, such as product feedback or a reference logo.

How do I handle annual plans in customer profitability analysis?

Divide the annual price by 12 and compare it with one month of that customer's costs. This matches how Stripe normalizes annual subscriptions in MRR. Spread the annual payment fee over the same 12 months so revenue and costs line up.

Should fixed costs be included in customer profitability?

Leave them out of the main number. Contribution margin uses variable costs only, so it shows what each customer adds or takes away. Salaries and base hosting don't change when one customer leaves. If your finance team needs a fully loaded view, build it as a second report with allocated costs.

How often should I run a customer profitability analysis?

Monthly for the full analysis, timed with your close, and weekly for the customers with the highest AI cost. Rerun it after any price change, model switch or new AI feature launch, because each one changes what individual customers cost you.

Contribution margin per customer feeds plan pricing, payback and gross margin, all covered in our guide to AI unit economics.

Keep reading

All dispatches →
Denial of wallet: how attackers run up your AI bill overnight
Running AI in production
/
8
min read

Denial of wallet: how attackers run up your AI bill overnight

Are AI companies profitable? What the reported margins show
AI unit economics
/
9
min read

Are AI companies profitable? What the reported margins show

Customer profitability analysis for AI products, step by step
AI unit economics
/
8
min read

Customer profitability analysis for AI products, step by step

SaaS COGS for AI products: what belongs and how to split it
AI unit economics
/
9
min read

SaaS COGS for AI products: what belongs and how to split it

Get the numbers when they change.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
New dispatches and model price changes. Unsubscribe anytime.